« | Main | The Nature of Creativity »

December 17, 2009


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
# 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 // /mnt/minami
sudo rsync -rlptv BOBSDOWNLOADS /mnt/minami
# (repeat rsync for each folder I wanted to recover).

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.


Post a comment

Comments are moderated, and will not appear until the author has approved them.

Your Information

(Name and email address are required. Email address will not be displayed with the comment.)