« | Main | The Nature of Creativity »

December 17, 2009

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Bob Kerns

An addendum for anyone who might want to replicate this. Here's what I did in my virtual machine to get access to the data and recover it:


# Update the vmware tools (I'd updated VMWare)
gunzip -c /media/cdrom1/VMwareTools-8.1.3-203739.tar.gz | tar xf -
sudo ./vmware-install.pl
# Need mdadm to set up the raid
sudo apt-get install mdadm
# verify I have the right drive
# Windows would sometimes present the drives in a different order,
# so I'd have to modify the virtual machine to have the right
# physcal drive. I recognize the correct drive by size and partitions
sudo sfdisk -d /dev/sdb
# set up raidtab for the two filesystems of potential interest
# I actually installed emacs and used that.
sudo bash -c "cat >/etc/raidtab" <<EOF
raiddev /dev/md1
raid-level 1
nr-raid-disks 1
persistent-superblock 1
nr-spare-disks 0
device /dev/sdb1
raid-disk 0
raiddev /dev/md4
raid-level 1
nr-raid-disks 1
persistent-superblock 1
nr-spare-disks 0
device /dev/sdb4
raid-disk 0
EOF
# Actually mount the raid drives
sudo mdadm --assemble --scan
# Verify the contents and identify the right drive
# I believe Dolphin (the file manager) actually did the mounts here.
# mdadm simply sets up /dev/md1 and /dev/md4.
ls /media/disk
ls /media/disk-1
cd /media/disk-1
sudo mkdir /mnt/minami
sudo aptitude install smbfs
sudo mount -t cifs //192.168.88.198/drobo/Recovered/minami /mnt/minami
sudo rsync -rlptv BOBSDOWNLOADS /mnt/minami
# (repeat rsync for each folder I wanted to recover).

The comments to this entry are closed.