I had an SSD begin to fail on my laptop. The symptoms were interesting, a md5um of a large tar file began to produce inconsistent results.
My backups were a little basic on my laptop - so I replaced my SSD and went through this procedure to recover what I could from a SATA disk caddy with the SSD attached.
1. fdisk /dev/sdb to determine the LVM partition (/dev/sdb5 say).
2. Decrypt the partition ready for mounting:
cryptsetup luksOpen /dev/sdb5 recover-disk
3. vgscan to find the current volumes available
4. lvdisplay to find the volumes we can say (vg-mint/root say).
5. Mount the LVM partition:
mount /dev/vg-mint/root /mnt/other-disk
6. Now the drive is mounted, and we can copy data off (hopefully!)
Useful link:
http://ubuntuforums.org/showthread.php?t=940904
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment