Topic
  • 10 replies
  • Latest Post - ‏2013-07-10T09:46:50Z by IBM_DEVELOP
SystemAdmin
SystemAdmin
4779 Posts

Pinned topic Recover accidentaly delted logical drive

‏2008-11-03T13:44:05Z |
Hello,

I have the following problem. Someone has accidentaly deleted a logical drive from one of my arrays on a ds4700 SAN.

Are there any steps to recover that drive. I did'n create anything over the free space that remained.
Updated on 2008-11-18T16:53:30Z at 2008-11-18T16:53:30Z by pavel.alexei
  • SystemAdmin
    SystemAdmin
    4779 Posts

    Re: Recover accidentaly delted logical drive

    ‏2008-11-03T19:58:25Z  
    Recover RAID Logical Drive

    This command creates a RAID logical drive with the given properties without initializing any of the user data areas on the disks. Parameter values are derived from the Recovery Profile data file for the storage subsystem.

    Syntax
    recover logical drive (drive=(trayID,slotID) |
    drives=(trayID1,slotID1 ... trayIDn,slotIDn) | array=volumeGroupName) [newArray=volumeGroupName userLabel="logicalDriveName" capacity=volumeCapacity offset=offsetValue raidLevel=(0 | 1 | 3 | 5 | 6) segmentSize=segmentSizeValue b) cacheReadPrefetch=(TRUE
  • SystemAdmin
    SystemAdmin
    4779 Posts

    Re: Recover accidentaly delted logical drive

    ‏2008-11-08T16:37:39Z  
    Recover RAID Logical Drive

    This command creates a RAID logical drive with the given properties without initializing any of the user data areas on the disks. Parameter values are derived from the Recovery Profile data file for the storage subsystem.

    Syntax
    recover logical drive (drive=(trayID,slotID) |
    drives=(trayID1,slotID1 ... trayIDn,slotIDn) | array=volumeGroupName) [newArray=volumeGroupName userLabel="logicalDriveName" capacity=volumeCapacity offset=offsetValue raidLevel=(0 | 1 | 3 | 5 | 6) segmentSize=segmentSizeValue b) cacheReadPrefetch=(TRUE
    I have had limited success with the proposed command / syntax. Our array is RAID5 and one of the logical drives was deleted. How do I know which drives it was assigned to? Furthermore the syntax "logicalDrive drive=trayID,slotID)" leaves me behind as it seems to be looking for one disk in the enclosure?

    Could you provide more information on the syntax? Any documentation would be really useful.

    Based on your info I have gotten our command to look like so:

    SMcli 127.0.0.1 -c "recover logicalDrive drive=(0,14) userLabel=\"vi_disk_01\" capacity=200 offset=1" .

    At this point the next argument that it is expecting is RAIDLevel and why would I set the RAID level on an array that has RAID5 when I am just trying to recover a logical drive on top of that RAID5 array.

    Regards,
    Marius
  • SystemAdmin
    SystemAdmin
    4779 Posts

    Re: Recover accidentaly delted logical drive

    ‏2008-11-11T11:27:40Z  
    I have had limited success with the proposed command / syntax. Our array is RAID5 and one of the logical drives was deleted. How do I know which drives it was assigned to? Furthermore the syntax "logicalDrive drive=trayID,slotID)" leaves me behind as it seems to be looking for one disk in the enclosure?

    Could you provide more information on the syntax? Any documentation would be really useful.

    Based on your info I have gotten our command to look like so:

    SMcli 127.0.0.1 -c "recover logicalDrive drive=(0,14) userLabel=\"vi_disk_01\" capacity=200 offset=1" .

    At this point the next argument that it is expecting is RAIDLevel and why would I set the RAID level on an array that has RAID5 when I am just trying to recover a logical drive on top of that RAID5 array.

    Regards,
    Marius
    Example 1(array deleted)

    recover logicalDrive drives=(13,1 13,2 13,3 13,4 13,5 13,6 13,7 13,8 13,9 13,10 13,11 13,12 13,13 13,14 23,1 23,2 23,3 23,4 23,5 23,6 23,7 ) userLabel="Datavol" capacity=179321326592 offset=0 raidLevel=5 segmentSize=64 owner=a readAheadMultiplier=1;
    Example 2(logical drive deleted)

    recover logicalDrive array=3 userLabel="Datavol2" capacity=179321326592 offset=52535808 raidLevel=5 segmentSize=64 owner=a readAheadMultiplier=1;
  • SystemAdmin
    SystemAdmin
    4779 Posts

    Re: Recover accidentaly delted logical drive

    ‏2008-11-11T14:22:55Z  
    Example 1(array deleted)

    recover logicalDrive drives=(13,1 13,2 13,3 13,4 13,5 13,6 13,7 13,8 13,9 13,10 13,11 13,12 13,13 13,14 23,1 23,2 23,3 23,4 23,5 23,6 23,7 ) userLabel="Datavol" capacity=179321326592 offset=0 raidLevel=5 segmentSize=64 owner=a readAheadMultiplier=1;
    Example 2(logical drive deleted)

    recover logicalDrive array=3 userLabel="Datavol2" capacity=179321326592 offset=52535808 raidLevel=5 segmentSize=64 owner=a readAheadMultiplier=1;
    Hi,

    I tried the following two commands which both verify OK for syntax but fail to execute.

    recover logicalDrive array=VirtualInfrastructure userLabel="vi_disk_01" capacity=209736172 offset=3221225473 raidLevel=5 segmentSize=128 owner=a;

    recover logicaldrive drives=(0,1 0,2 0,3 0,4 0,5 0,6 0,7 0,8 0,9 0,10 0,11 0,12 0,13 0,14 0,15 0,16) userLabel="vi_disk_01" capacity=209736172 offset=3221225472 raidLevel=5 segmentSize=128;

    The output I get is:

    Performing syntax check...
    Syntax check complete.
    Executing script...
    Could not recover a logical drive using the Recover Logical Drive command at line 1.
    Error 4 - The operation cannot complete because of an incorrect parameter in the command sent to the controller.

    Please retry the operation. If this message persists, contact your Technical Support Representative.
    The command at line 1 that caused the error is:

    < one of the two commands above>

    Script execution complete.

    If there is any chance in us being able to get this done without going through IBM support it would be grateful ... not that we have anything against IBM support ;)

    Regards,
    Marius
  • pavel.alexei
    pavel.alexei
    335 Posts

    Re: Recover accidentaly delted logical drive

    ‏2008-11-11T14:53:55Z  
    Hi,

    I tried the following two commands which both verify OK for syntax but fail to execute.

    recover logicalDrive array=VirtualInfrastructure userLabel="vi_disk_01" capacity=209736172 offset=3221225473 raidLevel=5 segmentSize=128 owner=a;

    recover logicaldrive drives=(0,1 0,2 0,3 0,4 0,5 0,6 0,7 0,8 0,9 0,10 0,11 0,12 0,13 0,14 0,15 0,16) userLabel="vi_disk_01" capacity=209736172 offset=3221225472 raidLevel=5 segmentSize=128;

    The output I get is:

    Performing syntax check...
    Syntax check complete.
    Executing script...
    Could not recover a logical drive using the Recover Logical Drive command at line 1.
    Error 4 - The operation cannot complete because of an incorrect parameter in the command sent to the controller.

    Please retry the operation. If this message persists, contact your Technical Support Representative.
    The command at line 1 that caused the error is:

    < one of the two commands above>

    Script execution complete.

    If there is any chance in us being able to get this done without going through IBM support it would be grateful ... not that we have anything against IBM support ;)

    Regards,
    Marius
    Do you have an “old” support data from storage when logical drive was present (advanced-> troubleshooting->support data -> collecting? Or at least configuration (storage -> configuration -> save)?
    If you have it, put there together with current configuration.
  • SystemAdmin
    SystemAdmin
    4779 Posts

    Re: Recover accidentaly delted logical drive

    ‏2008-11-13T10:27:57Z  
    Do you have an “old” support data from storage when logical drive was present (advanced-> troubleshooting->support data -> collecting? Or at least configuration (storage -> configuration -> save)?
    If you have it, put there together with current configuration.
    Unfortunately we do not. Anything you can suggest without that information?
  • pavel.alexei
    pavel.alexei
    335 Posts

    Re: Recover accidentaly delted logical drive

    ‏2008-11-13T18:07:48Z  
    Unfortunately we do not. Anything you can suggest without that information?
    Could you put there your's current support data?
  • SystemAdmin
    SystemAdmin
    4779 Posts

    Re: Recover accidentaly delted logical drive

    ‏2008-11-16T13:55:50Z  
    Could you put there your's current support data?
    Attached the support data.
  • pavel.alexei
    pavel.alexei
    335 Posts

    Re: Recover accidentaly delted logical drive

    ‏2008-11-18T16:53:30Z  
    Attached the support data.
    It looks something wrong with your's storage.
    At first, i suppose you lost vi_disk_02 volume.

    Look into storageArrayprofile.txt.
    "ARRAYS------------------" compartment shows you have two arrays:
    • name "1" with volumes "arhiva" and "arhiva2"
    • name "VirtualInfrastructure" with "VI_Disk", "vi_disk_03" and "vi_disk_04"
    It shows also there is a free space in "VirtualInfrastructure" with 200GB.
    In the same time you can found in profile in lists of all volumes "vi_disk_02" associated with "VirtualInfrastructure"
    vi_disk_02 Optimal 200.0 GB 5 VirtualInfrastructure Fibre

    Next - look into storageArrayConfiguration.cfg
    devmgr.v1015api00.sam.saveconfig.SaveConfigException: Unable to save the configuration to the file because of an internal error. Please retry the operation.

    You can try to reload storage, may be storage will clear situation. But may be situation can became more complicated.
    Will be best to call IBM support.
  • IBM_DEVELOP
    IBM_DEVELOP
    1 Post

    Re: Recover accidentaly delted logical drive

    ‏2013-07-10T09:46:50Z  
    It looks something wrong with your's storage.
    At first, i suppose you lost vi_disk_02 volume.

    Look into storageArrayprofile.txt.
    "ARRAYS------------------" compartment shows you have two arrays:
    • name "1" with volumes "arhiva" and "arhiva2"
    • name "VirtualInfrastructure" with "VI_Disk", "vi_disk_03" and "vi_disk_04"
    It shows also there is a free space in "VirtualInfrastructure" with 200GB.
    In the same time you can found in profile in lists of all volumes "vi_disk_02" associated with "VirtualInfrastructure"
    vi_disk_02 Optimal 200.0 GB 5 VirtualInfrastructure Fibre

    Next - look into storageArrayConfiguration.cfg
    devmgr.v1015api00.sam.saveconfig.SaveConfigException: Unable to save the configuration to the file because of an internal error. Please retry the operation.

    You can try to reload storage, may be storage will clear situation. But may be situation can became more complicated.
    Will be best to call IBM support.

    carefully check the attached file:StateCaptureData.txt, at the very begining ,you could see "devmgr.v1015api00.sam.jal.ManagementOperationFailedException: Error 1007 - Could not communicate with the controller in slot A to complete this request......." ,

    normally ,this means you connect storage with one path(one controller) only, and to complete your command , you have to  connect storage with both controller.