DMG of Linux RAID Will Not Mount

sagriffith

Registered
I had a 1 TB Western Digital MyBook World (first edition with the blue rings) that failed. I was able to take apart the drive and get it spinning again by placing it in the freezer. Unfortunately, it would not mount using a USB adapter or the NAS enclosure it came with.

I was finally able to get Data Rescue 3 to see it using the USB adapter. At that point, I used the software to make a clone to a DMG on a new drive.

Apparently, the drive was originally a Linux RAID (without mirrors), and that's what the DMG is. So, there are four volumes under the one DMG. I think I need only the fourth one though.

Unfortunately, I cannot get the DMG to mount. I've tried DiskImageMouter, Disk Utilities, Burn, and Springy. Every single one of them tells me that there's no mountable system. Disk Utilities can see the DMG and its four volumes.

I have also tried to mount it in Linux (Ubuntu) via Parallels Desktop.

Is there anything I can do to salvage my files, preferably with the same folder structure.

So far, I can still access the drive itself through the USB adapter, if that helps any.

I saw in another thread that having the HDID for the DMG can help, so it's below.

Thank you for any ideas.

MacBookPro:~ sag$ hdid /Volumes/Iomega/WDC\ WD10\ EACS-00ZJB0\ Clone.dmg -nomount -verbose -debug
calling DIHLDiskImageAttach with
mount-attempted: false
agent: hdid
drive-options:
debug: true
image-options:
verbose: true
quiet: false
main-url: /Volumes/Iomega/WDC WD10 EACS-00ZJB0 Clone.dmg
mount-required: false
2010-02-18 02:22:41.262 hdid3461:1c03 using helper tool at "/System/Library/PrivateFrameworks/DiskImages.framework/Resources/diskimages-helper".
2010-02-18 02:22:41.287 hdid3461:1c03 connectToFramework
2010-02-18 02:22:41.388 hdid3461:1c03 sendOperationToHelper: about to ask proxy to start operation
status proc called: initialize
2010-02-18 02:22:41.416 diskimages-helper3463:1603 _imageOptions: {
"enable-keychain" = 1;
}
2010-02-18 02:22:41.417 diskimages-helper3463:1603 _driveOptions: {
autodiskmount = 0;
"unmount-timeout" = 0;
}
2010-02-18 02:22:41.418 diskimages-helper3463:1603 DIHelperAttach: initializing framework
DILoadDriver: checking for disk image driver...DILoadDriver: DI_kextExists() returned 0x00000000 (0)...DIIsInitialized: returning NO2010-02-18 02:22:41.428 diskimages-helper3463:1603 -checkForPreviouslyAttachedImage: entry
2010-02-18 02:22:41.429 diskimages-helper3463:1603
file://localhost/Volumes/Iomega/WDC%20WD10%20EACS-00ZJB0%20Clone.dmg - (null) ((null), (null)). perm=0
DIIsInitialized: returning YESDIBackingStoreNewWithCFURL: entry with
file://localhost/Volumes/Iomega/WDC%20WD10%20EACS-00ZJB0%20Clone.dmg
skip-permissions-check: true
DIBackingStoreInstantiatorProbe: entry
file://localhost/Volumes/Iomega/WDC%20WD10%20EACS-00ZJB0%20Clone.dmg
skip-permissions-check: true
DIBackingStoreInstantiatorProbe: probing interface 0 CBSDBackingStore
CBSDBackingStore::newProbe score 100 for file://localhost/Volumes/Iomega/WDC%20WD10%20EACS-00ZJB0%20Clone.dmg
DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: probing interface 1 CBundleBackingStore
CBundleBackingStore::newProbe score -1000 for file://localhost/Volumes/Iomega/WDC%20WD10%20EACS-00ZJB0%20Clone.dmg
DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: probing interface 2 CRAMBackingStore
CRAMBackingStore::probe: scheme "file": not ram: or ramdisk: scheme.
CRAMBackingStore::probe: score -1000 for file://localhost/Volumes/Iomega/WDC%20WD10%20EACS-00ZJB0%20Clone.dmg
DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: probing interface 3 CCarbonBackingStore
CCarbonBackingStore::newProbe: setting initial rval to +100
CCarbonBackingStore::newProbe score 100 for file://localhost/Volumes/Iomega/WDC%20WD10%20EACS-00ZJB0%20Clone.dmg
DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: probing interface 4 CDevBackingStore
CDevBackingStore::newProbe: not /dev/disk or /dev/rdisk (/Volumes/Iomega/WDC WD10 EACS-00ZJB0 Clone.dmg).CDevBackingStore::newProbe score -1000 for file://localhost/Volumes/Iomega/WDC%20WD10%20EACS-00ZJB0%20Clone.dmg
DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: probing interface 5 CCURLBackingStore
CCURLBackingStore::probe: scheme is
file
CCURLBackingStore::probe: not recognized URL scheme.
CCURLBackingStore::probe: score -1000 for file://localhost/Volumes/Iomega/WDC%20WD10%20EACS-00ZJB0%20Clone.dmg
DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: probing interface 6 CVectoredBackingStore
CVectoredBackingStore::newProbe not "vectored" scheme.
CVectoredBackingStore::newProbe score -1000 for file://localhost/Volumes/Iomega/WDC%20WD10%20EACS-00ZJB0%20Clone.dmg
DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
DIBackingStoreNewWithCFURL: CBSDBackingStore
DIBackingStoreNewWithCFURL: instantiator returned 0
DIBackingStoreNewWithCFURL: returning 0x00000000
2010-02-18 02:22:41.463 diskimages-helper3463:1603 -checkForPreviouslyAttachedImage: resolving file://localhost/Volumes/Iomega/WDC%20WD10%20EACS-00ZJB0%20Clone.dmg returned 0
2010-02-18 02:22:41.466 diskimages-helper3463:1603 -checkForPreviouslyAttachedImage: imageUID (
"d234881034:i174"
) shadowUID (null)
testing:
(null)
0: d234881026:i21979233
(null)
testing:
(null)
0: d234881026:i21979233
(null)
testing:
(null)
0: d234881026:i21979233
(null)
testing:
(null)
0: d234881034:i174
(null)
testing:
(null)
0: d234881034:i174
(null)
testing:
(null)
0: d234881034:i174
(null)
testing:
(null)
0: d234881034:i174
(null)
testing:
(null)
0: d234881034:i174
(null)
2010-02-18 02:22:41.504 diskimages-helper3463:1603 -DIHelperHDID initWithDiskImage:
2010-02-18 02:22:41.505 diskimages-helper3463:1603 DIHelperAttach: attaching disk image
2010-02-18 02:22:41.506 diskimages-helper3463:1603 performAttach: entry
status proc called: attach
2010-02-18 02:22:41.507 diskimages-helper3463:1603 setMountFlags: 0x00000000
2010-02-18 02:22:41.508 diskimages-helper3463:1603 0x00000000
2010-02-18 02:22:41.508 diskimages-helper3463:1603 performAttach: about to remountReturningDictionary
2010-02-18 02:22:41.509 diskimages-helper3463:1603 -remountReturningDictionary:
2010-02-18 02:22:41.513 diskimages-helper3463:1603 _diskAppearedCallback: (null)
2010-02-18 02:22:41.514 diskimages-helper3463:1603 : /private/tmp/2097/Y (null)
2010-02-18 02:22:41.515 diskimages-helper3463:1603 _diskAppearedCallback: (null)
2010-02-18 02:22:41.516 diskimages-helper3463:1603 : /private/tmp/2097/C (null)
2010-02-18 02:22:41.517 diskimages-helper3463:1603 _diskAppearedCallback: disk4
2010-02-18 02:22:41.519 diskimages-helper3463:1603 : (null) FDisk_partition_scheme
2010-02-18 02:22:41.523 diskimages-helper3463:1603 looking for UUID 37BFEF1D-4B47-4091-B876-67C9A0F1A9F1, got E8BBC256-90C1-40C9-B98E-6B7B238C567B
2010-02-18 02:22:41.524 diskimages-helper3463:1603 _diskAppearedCallback: disk4s3
2010-02-18 02:22:41.525 diskimages-helper3463:1603 : (null) Linux_RAID
2010-02-18 02:22:41.528 diskimages-helper3463:1603 looking for UUID 37BFEF1D-4B47-4091-B876-67C9A0F1A9F1, got E8BBC256-90C1-40C9-B98E-6B7B238C567B
2010-02-18 02:22:41.529 diskimages-helper3463:1603 _diskAppearedCallback: disk4s4
2010-02-18 02:22:41.529 diskimages-helper3463:1603 : (null) Linux_RAID
2010-02-18 02:22:41.533 diskimages-helper3463:1603 looking for UUID 37BFEF1D-4B47-4091-B876-67C9A0F1A9F1, got E8BBC256-90C1-40C9-B98E-6B7B238C567B
2010-02-18 02:22:41.533 diskimages-helper3463:1603 _diskAppearedCallback: disk4s2
2010-02-18 02:22:41.534 diskimages-helper3463:1603 : (null) Linux_RAID
2010-02-18 02:22:41.537 diskimages-helper3463:1603 looking for UUID 37BFEF1D-4B47-4091-B876-67C9A0F1A9F1, got E8BBC256-90C1-40C9-B98E-6B7B238C567B
2010-02-18 02:22:41.538 diskimages-helper3463:1603 _diskAppearedCallback: disk4s1
2010-02-18 02:22:41.540 diskimages-helper3463:1603 : (null) Linux_RAID
2010-02-18 02:22:41.544 diskimages-helper3463:1603 looking for UUID 37BFEF1D-4B47-4091-B876-67C9A0F1A9F1, got E8BBC256-90C1-40C9-B98E-6B7B238C567B
2010-02-18 02:22:41.544 diskimages-helper3463:1603 _diskAppearedCallback: (null)
2010-02-18 02:22:41.545 diskimages-helper3463:1603 : /Volumes/Terabyte (null)
2010-02-18 02:22:41.546 diskimages-helper3463:1603 _diskAppearedCallback: disk3s1
2010-02-18 02:22:41.547 diskimages-helper3463:1603 : (null) Apple_partition_map
2010-02-18 02:22:41.551 diskimages-helper3463:1603 looking for UUID 37BFEF1D-4B47-4091-B876-67C9A0F1A9F1, got 6A80841C-F8D9-4452-B6DA-5C2EED9ED4F1
2010-02-18 02:22:41.552 diskimages-helper3463:1603 _diskAppearedCallback: disk3s2
2010-02-18 02:22:41.552 diskimages-helper3463:1603 : /Volumes/PMAC Apple_HFS
2010-02-18 02:22:41.556 diskimages-helper3463:1603 looking for UUID 37BFEF1D-4B47-4091-B876-67C9A0F1A9F1, got 6A80841C-F8D9-4452-B6DA-5C2EED9ED4F1
2010-02-18 02:22:41.557 diskimages-helper3463:1603 _diskAppearedCallback: disk3
2010-02-18 02:22:41.559 diskimages-helper3463:1603 : (null) Apple_partition_scheme
2010-02-18 02:22:41.563 diskimages-helper3463:1603 looking for UUID 37BFEF1D-4B47-4091-B876-67C9A0F1A9F1, got 6A80841C-F8D9-4452-B6DA-5C2EED9ED4F1
2010-02-18 02:22:41.564 diskimages-helper3463:1603 _diskAppearedCallback: disk2s1
2010-02-18 02:22:41.564 diskimages-helper3463:1603 : (null) C12A7328-F81F-11D2-BA4B-00A0C93EC93B
2010-02-18 02:22:41.568 diskimages-helper3463:1603 looking for UUID 37BFEF1D-4B47-4091-B876-67C9A0F1A9F1, got (null)
2010-02-18 02:22:41.568 diskimages-helper3463:1603 _diskAppearedCallback: disk2s2
2010-02-18 02:22:41.569 diskimages-helper3463:1603 : /Volumes/Iomega 48465300-0000-11AA-AA11-00306543ECAC
2010-02-18 02:22:41.572 diskimages-helper3463:1603 looking for UUID 37BFEF1D-4B47-4091-B876-67C9A0F1A9F1, got (null)
2010-02-18 02:22:41.573 diskimages-helper3463:1603 _diskAppearedCallback: disk2
2010-02-18 02:22:41.573 diskimages-helper3463:1603 : (null) GUID_partition_scheme
2010-02-18 02:22:41.580 diskimages-helper3463:1603 looking for UUID 37BFEF1D-4B47-4091-B876-67C9A0F1A9F1, got (null)
2010-02-18 02:22:41.580 diskimages-helper3463:1603 _diskAppearedCallback: disk0
2010-02-18 02:22:41.582 diskimages-helper3463:1603 : (null) GUID_partition_scheme
2010-02-18 02:22:41.585 diskimages-helper3463:1603 looking for UUID 37BFEF1D-4B47-4091-B876-67C9A0F1A9F1, got (null)
2010-02-18 02:22:41.586 diskimages-helper3463:1603 _diskAppearedCallback: disk0s1
2010-02-18 02:22:41.586 diskimages-helper3463:1603 : (null) C12A7328-F81F-11D2-BA4B-00A0C93EC93B
2010-02-18 02:22:41.590 diskimages-helper3463:1603 looking for UUID 37BFEF1D-4B47-4091-B876-67C9A0F1A9F1, got (null)
2010-02-18 02:22:41.590 diskimages-helper3463:1603 _diskAppearedCallback: disk0s2
2010-02-18 02:22:41.591 diskimages-helper3463:1603 : / 48465300-0000-11AA-AA11-00306543ECAC
2010-02-18 02:22:41.595 diskimages-helper3463:1603 looking for UUID 37BFEF1D-4B47-4091-B876-67C9A0F1A9F1, got (null)
2010-02-18 02:22:41.596 diskimages-helper3463:1603 buildReturnDictionary:
2010-02-18 02:22:41.597 diskimages-helper3463:1603 adding (disk4): {
"content-hint" = "FDisk_partition_scheme";
"dev-entry" = "/dev/disk4";
"potentially-mountable" = 0;
"unmapped-content-hint" = "FDisk_partition_scheme";
}
2010-02-18 02:22:41.597 diskimages-helper3463:1603 adding (disk4s1): {
"content-hint" = "Linux_RAID";
"dev-entry" = "/dev/disk4s1";
"potentially-mountable" = 0;
"unmapped-content-hint" = "Linux_RAID";
}
2010-02-18 02:22:41.598 diskimages-helper3463:1603 adding (disk4s2): {
"content-hint" = "Linux_RAID";
"dev-entry" = "/dev/disk4s2";
"potentially-mountable" = 0;
"unmapped-content-hint" = "Linux_RAID";
}
2010-02-18 02:22:41.599 diskimages-helper3463:1603 adding (disk4s3): {
"content-hint" = "Linux_RAID";
"dev-entry" = "/dev/disk4s3";
"potentially-mountable" = 0;
"unmapped-content-hint" = "Linux_RAID";
}
2010-02-18 02:22:41.600 diskimages-helper3463:1603 adding (disk4s4): {
"content-hint" = "Linux_RAID";
"dev-entry" = "/dev/disk4s4";
"potentially-mountable" = 0;
"unmapped-content-hint" = "Linux_RAID";
}
2010-02-18 02:22:41.600 diskimages-helper3463:1603 -remountReturningDictionary: _buildReturnDictionary returned 0
2010-02-18 02:22:41.601 diskimages-helper3463:1603 -remountReturningDictionary: kicked off hdiejectd
2010-02-18 02:22:41.602 diskimages-helper3463:1603 performAttach: remountReturningDictionary returned 0
2010-02-18 02:22:41.603 diskimages-helper3463:1603 -DIHelperHDID dealloc:
2010-02-18 02:22:41.603 diskimages-helper3463:1603 performAttach: returned 0
2010-02-18 02:22:41.604 diskimages-helper3463:1603 DIHelperAttach: post-processing disk image
status proc called: post-process
2010-02-18 02:22:41.605 diskimages-helper3463:1603 postProcessing: devEntry: /dev/disk4s4 mountPoint: (null)
2010-02-18 02:22:41.605 diskimages-helper3463:1603 postProcessing: devEntry: /dev/disk4s3 mountPoint: (null)
2010-02-18 02:22:41.606 diskimages-helper3463:1603 postProcessing: devEntry: /dev/disk4s2 mountPoint: (null)
2010-02-18 02:22:41.606 diskimages-helper3463:1603 postProcessing: devEntry: /dev/disk4s1 mountPoint: (null)
2010-02-18 02:22:41.607 diskimages-helper3463:1603 postProcessing: devEntry: /dev/disk4 mountPoint: (null)
2010-02-18 02:22:41.607 diskimages-helper3463:1603 performPostProcessing: returning 0.
status proc called: cleanup
2010-02-18 02:22:41.609 diskimages-helper3463:1603 DIHelperAttach performOperation: returning 0
2010-02-18 02:22:41.610 diskimages-helper3463:1603 -decrementBackgroundThreadCount: _backgroundThreadCount is now 0.
2010-02-18 02:22:41.610 diskimages-helper3463:10b DIHelper _report_results: reporting {
payload = {
"system-entities" = (
{
"content-hint" = "FDisk_partition_scheme";
"dev-entry" = "/dev/disk4";
"potentially-mountable" = 0;
"unmapped-content-hint" = "FDisk_partition_scheme";
},
{
"content-hint" = "Linux_RAID";
"dev-entry" = "/dev/disk4s1";
"potentially-mountable" = 0;
"unmapped-content-hint" = "Linux_RAID";
},
{
"content-hint" = "Linux_RAID";
"dev-entry" = "/dev/disk4s2";
"potentially-mountable" = 0;
"unmapped-content-hint" = "Linux_RAID";
},
{
"content-hint" = "Linux_RAID";
"dev-entry" = "/dev/disk4s3";
"potentially-mountable" = 0;
"unmapped-content-hint" = "Linux_RAID";
},
{
"content-hint" = "Linux_RAID";
"dev-entry" = "/dev/disk4s4";
"potentially-mountable" = 0;
"unmapped-content-hint" = "Linux_RAID";
}
);
};
"result-code" = 0;
}
2010-02-18 02:22:41.616 hdid3461:1c03 reportResultsToFramework: proxy has finished operation
2010-02-18 02:22:41.620 hdid3461:1c03 reportResultsToFramework: results are: {
payload = {
"system-entities" = (
{
"content-hint" = "FDisk_partition_scheme";
"dev-entry" = "/dev/disk4";
"potentially-mountable" = 0;
"unmapped-content-hint" = "FDisk_partition_scheme";
},
{
"content-hint" = "Linux_RAID";
"dev-entry" = "/dev/disk4s1";
"potentially-mountable" = 0;
"unmapped-content-hint" = "Linux_RAID";
},
{
"content-hint" = "Linux_RAID";
"dev-entry" = "/dev/disk4s2";
"potentially-mountable" = 0;
"unmapped-content-hint" = "Linux_RAID";
},
{
"content-hint" = "Linux_RAID";
"dev-entry" = "/dev/disk4s3";
"potentially-mountable" = 0;
"unmapped-content-hint" = "Linux_RAID";
},
{
"content-hint" = "Linux_RAID";
"dev-entry" = "/dev/disk4s4";
"potentially-mountable" = 0;
"unmapped-content-hint" = "Linux_RAID";
}
);
};
"result-code" = 0;
}
2010-02-18 02:22:41.625 hdid3461:1c03 reportResultsToFramework: _threadResultsError is 0
2010-02-18 02:22:41.625 hdid3461:1c03 reportResultsToFramework: disconnecting from helper.
2010-02-18 02:22:41.725 hdid3461:1c03 disconnectFromHelper: removing observers
2010-02-18 02:22:41.726 hdid3461:1c03 disconnectFromHelper: terminating proxy
2010-02-18 02:22:41.728 diskimages-helper3463:10b DIHelper: terminateHelper: entry.
2010-02-18 02:22:41.729 hdid3461:1c03 disconnectFromHelper: terminated proxy
2010-02-18 02:22:41.829 diskimages-helper3463:10b -DIHelperAgentMaster terminateUIAgentConnection.
DIHLDiskImageAttach() returned 0
system-entities:
0:
dev-entry: /dev/disk4
potentially-mountable: 0
content-hint: FDisk_partition_scheme
unmapped-content-hint: FDisk_partition_scheme
1:
dev-entry: /dev/disk4s1
potentially-mountable: 0
content-hint: Linux_RAID
unmapped-content-hint: Linux_RAID
2:
dev-entry: /dev/disk4s2
potentially-mountable: 0
content-hint: Linux_RAID
unmapped-content-hint: Linux_RAID
3:
dev-entry: /dev/disk4s3
potentially-mountable: 0
content-hint: Linux_RAID
unmapped-content-hint: Linux_RAID
4:
dev-entry: /dev/disk4s4
potentially-mountable: 0
content-hint: Linux_RAID
unmapped-content-hint: Linux_RAID
/dev/disk4 FDisk_partition_scheme
/dev/disk4s1 Linux_RAID
/dev/disk4s2 Linux_RAID
/dev/disk4s3 Linux_RAID
/dev/disk4s4 Linux_RAID
2010-02-18 02:22:41.832 diskimages-helper3463:10b DIHelper dealloc.
MacBookPro:~ sag$ 2010-02-18 02:22:41.834 diskimages-helper3463:10b -DIHelperAgentMaster terminateUIAgentConnection.

MacBook Pro (Core2 Duo) Mac OS X (10.5.8)
 
I can try if I can get the drive to spin up again.

The options I saw were to make a DMG and to copy the blocks themselves. The only way I could access the files was to search for file types, which might be fine if I weren't trying to recover directories too. Frankly, having a giant folder of every gif and one of each jpeg, etc., on the drive wouldn't be much help!

Is there another option I'm completely missing?

Thanks.
 
I have used Data rescue quite a bit for recovery and sometimes it will give you the folder structure depending on state of directory. Cooling the drives again may help with this.

Disk warrior will also sometimes allow a 'preview' volume mounted of failed drive so you can copy elements/folders over, although if its Linux native volume disk warrior may not recognise it.
 
I had exactly the same problem and tore the drive out of the enclosure. I was able to access the fourth partition, containing my data, by booting my MacBook from a knoppix 6.4.4 disc and running the following commands:

sudo su
mdadm —assemble /dev/md10 /dev/sdb4 —run
mount /dev/md10 /mnt

At this point, all my data were accessible in the /mnt directory. After confirming that all my data were accessible again, I attached another external drive (formatted FAT, thank you very much) and rebooted. This new external drive became /dev/sdb and my salvaged MBWE drive became /dev/sdc.

I was able to copy all my data to the new external, FAT drive with the following commands:

sudo su
mdadm —assemble /dev/md10 /dev/sdc4 —run
mount /dev/md10 /mnt
mount /dev/sdb1 /tmp
cp -L -R -v /mnt /tmp

(It was a little more complicated than this because I had to use two different external FAT drives to receive all the rescued data, but the last two lines show the essence of the copying operations.)

What's with the stupid voice/screen reader in knoppix?
 
Hi,
My Mac can't read my Linux disks for the most part. Parallels is a VM and sometimes VM have issues mounting physical devices. I would mount the disk to a a real Linux machine (non-VM), preferably the same distro as the RAID was created with. I beleive that you should remove as many variables as you can when you try to fix something.

For your next RAID setup might I suggest you use ZFS. It has a RAID build in to the file system. This way you won't have this issue again. I can give you help if you need it.
 
For your next RAID setup might I suggest you use ZFS. It has a RAID build in to the file system. This way you won't have this issue again. I can give you help if you need it.

I had no choice in the matter because the Western Digital MyBook World Edition (MBWE) came with the one disk prepartitioned and preconfigured. Unfortunately, my only viable option was to remove the drive from the MBWE case and follow the procedure that I described.

If I decide to create a separate linux box on my home network to do properly what the MBWE was supposed to do, I may just take you up on your offer.
 
Back
Top