How to recovery data single hard disk from RAID 1 Mac OS HFS+

Problem:
We had an old Mac with two hard disks configured in RAID 1 mode. When the power supply is broken we thought how to recovery data.

Solution:
We attach IDE hard disk with USB support on linux machine and following these steps (we suppose disk was /dev/sdb3).

Verify disk characteristics:

root@COMPUTER:~# file -s /dev/sdb3
/dev/sdb3: sticky Macintosh HFS Extended version 4 data (mounted) last mounted by: 'HFSJ', 
created: Fri Oct 19 15:55:48 2007, last modified: Thu Jan 23 09:27:23 2014, last checked: 
Fri Oct 19 15:55:48 2007, block size: 4096, number of blocks: 122063864, free blocks: 53162179

Repair disk:

root@COMPUTER:~# fsck.hfsplus -f /dev/sdb3
** /dev/sdb3
** Checking HFS Plus volume.
** Checking Extents Overflow file.
** Checking Catalog file.
** Checking Catalog hierarchy.
** Checking Extended Attributes file.
** Checking volume bitmap.
** Checking volume information.
   Volume Header needs minor repair
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
** Checking Catalog file.
** Checking Catalog hierarchy.
** Checking Extended Attributes file.
** Checking volume bitmap.
** Checking volume information.
** The volume DATA01 was repaired successfully.

Mount disk:

root@COMPUTER:~# mount /dev/sdb3 /media/macdisk/ -t hfsplus -o ro

Checking files:

root@COMPUTER:~# cd /media/macdisk/
root@COMPUTER:/media/macdisk# ls -la
total … …
drwxr-xr-x 1  501  501        28 Jan 22 15:04 .
drwxr-xr-x 4 root root      4096 Jan 23 15:47 ..
drwx------ 1  501  501         9 Apr 29  2013 archivio

root@COMPUTER:/media/macdisk

Well done!

Best Regards,
ITquadro – specialized Blog

ITquadro sistemisti specializzati su Bologna ed Emilia-Romagna esperti in installazione e configurazione di server apache su distribuzioni linux basate (Debian, CentOS, ecc).