Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

digitalfrog

Suspended
Original poster
Nov 26, 2007
244
0
I'm hitting my head on the wall for this one, I feel really stupid.

Long story short. I purchased a new disk and wanted to add it to an existing stripe. I created a new volume next to the current volume (not meant to do that) with the diskutility and deleted it ... went too quick to read the warning message that probably said it would delete all volumes when in fact I though only the new highlighted volume would go. Not sure what happened precisely...

Anyhow. I know the id's of the disk and how they were configured before the disaster, so there must be a way to recreate the array *without loosing the data*.

Any help appreciated !!!


Luckily I saved the configuration before doing anything:

Code:
Ralphs-Mac-Pro:/ root# diskutil checkRAID
AppleRAID sets (2 found)
===============================================================================
Name:                 Scratch
Unique ID:            040205B5-7B10-2C00-0804-0B6AF6205800
Type:                 Stripe
Status:               Offline
Size:                 69.8 GB (69792956416 Bytes)
Rebuild:              manual
Device Node:          -
-------------------------------------------------------------------------------
#  DevNode   UUID                                  Status     Size
-------------------------------------------------------------------------------
0  disk1s3   040205B5-7B11-2C80-0804-0B6AF6225900  Online     34896478208
-  -none-    040205B5-7B11-2C81-0804-0B6AF6225902  Missing/Damaged
===============================================================================
===============================================================================
Name:                 Photo
Unique ID:            040205F2-DA8A-5340-0804-0BE5B514A680
Type:                 Stripe
Status:               Offline
Size:                 3.3 TB (3298534621184 Bytes)
Rebuild:              manual
Device Node:          -
-------------------------------------------------------------------------------
#  DevNode   UUID                                  Status     Size
-------------------------------------------------------------------------------
0  disk1s5   040205F2-DA8B-53C0-0804-0BE5B516A780  Online     1649267310592
-  -none-    040205F2-DA8B-53C1-0804-0BE5B516A782  Missing/Damaged
===============================================================================
Ralphs-Mac-Pro:/ root# diskutil list  
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Photoshop_Scratch       50.0 GB    disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk1
   1:                        EFI                         209.7 MB   disk1s1
   2:                 Apple_RAID                         34.9 GB    disk1s3
   3:                 Apple_Boot Boot OSX                134.2 MB   disk1s4
   4:                 Apple_RAID                         1.6 TB     disk1s5
   5:                 Apple_Boot Boot OSX                134.2 MB   disk1s6
   6:                  Apple_HFS                         99.9 GB    disk1s7
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk2
   1:                        EFI                         209.7 MB   disk2s1
   2: B6FA30DA-92D2-4A9A-96F1-871EC6486200               2.3 MB     disk2s2
   3: 2E313465-19B9-463F-8126-8A7993773801               7.3 MB     disk2s3
   4: FA709C7E-65B1-4593-BFD5-E71D61DE9B02               34.9 GB    disk2s5
   5:                 Apple_Boot Boot OSX                134.2 MB   disk2s6
   6: FA709C7E-65B1-4593-BFD5-E71D61DE9B02               1.6 TB     disk2s7
   7:                 Apple_Boot Boot OSX                134.2 MB   disk2s8
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.5 TB     disk3
   1:                        EFI                         209.7 MB   disk3s1
   2:                  Apple_HFS OSX Lion                390.2 GB   disk3s2
   3:                  Apple_HFS Software                1.1 TB     disk3s3
/dev/disk4
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *160.0 GB   disk4
   1:                        EFI                         209.7 MB   disk4s1
   2:                  Apple_HFS Mini USB                159.7 GB   disk4s2


===============

The volume I need to recover is 'Photo'.


Now here is the details after my disaster:


Ralphs-Mac-Pro:~ root# diskutil appleRaid list
AppleRAID sets (1 found)
===============================================================================
Name:                 Scratch
Unique ID:            040205B5-7B10-2C00-0804-0B6AF6205800
Type:                 Stripe
Status:               Online
Size:                 69.8 GB (69792956416 Bytes)
Rebuild:              manual
Device Node:          disk5
-------------------------------------------------------------------------------
#  DevNode   UUID                                  Status     Size
-------------------------------------------------------------------------------
0  disk1s3   040205B5-7B11-2C80-0804-0B6AF6225900  Online     34896478208
1  disk2s3   040205B5-7B11-2C81-0804-0B6AF6225902  Online     34896478208
===============================================================================



Ralphs-Mac-Pro:~ root# diskutil list             
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Photoshop_Scratch       50.0 GB    disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk1
   1:                        EFI                         209.7 MB   disk1s1
   2:                 Apple_RAID                         34.9 GB    disk1s3
   3:                 Apple_Boot Boot OSX                134.2 MB   disk1s4
   4:         Apple_RAID_Offline                         1.6 TB     disk1s5
   5:                 Apple_Boot Boot OSX                134.2 MB   disk1s6
   6:                  Apple_HFS                         99.9 GB    disk1s7
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk2
   1:                        EFI                         209.7 MB   disk2s1
   2:                 Apple_RAID                         34.9 GB    disk2s3
   3:                 Apple_Boot Boot OSX                134.2 MB   disk2s4
   4:         Apple_RAID_Offline                         1.6 TB     disk2s5
   5:                 Apple_Boot Boot OSX                134.2 MB   disk2s6
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.5 TB     disk3
   1:                        EFI                         209.7 MB   disk3s1
   2:                  Apple_HFS OSX Lion                390.2 GB   disk3s2
   3:                  Apple_HFS Software                1.1 TB     disk3s3
/dev/disk4
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *160.0 GB   disk4
   1:                        EFI                         209.7 MB   disk4s1
   2:                  Apple_HFS Mini USB                159.7 GB   disk4s2
/dev/disk5
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Scratch                *69.8 GB    disk5
 
Last edited by a moderator:
Do you have a backup of your data? The easiest thing in my mind is to create the RAID setup and then do a restore.
 
I do, but it's remote. So the last solution will indeed be to rebuild-reload from backup.

But I had a failure on a NAS a while ago and ended up in a similar situation and could re-assign the disks to the volume in a few commands and all my data was available right away. I don't know how to do this on OSX, doing google search in the mean time of course but can't find the right info so far :-(



Do you have a backup of your data? The easiest thing in my mind is to create the RAID setup and then do a restore.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.