Chucked another computer tonight. This one had been ill for about a year and stopped working about two months ago (the Raspberry Pi now does all that it used to do, except run a SCSI tape backup).
But I had to rescue an LVM set to get the files – so here’s how I did that:
At first all I could see was the
/boot partition, so I plainly needed to do more:
sudo aptitude install lvm2 – get the LVM software.
sudo pvs – see what LVM groups I have.
I could see that Volume Group (VG) called
Ubuntu (it will be whatever name you gave it when created – in my case about six and a half years ago).
lvdisplay /dev/Ubuntu – gives me details of the volumes inside the group – in my case just the one (ignoring swap), identified by
vgchange /dev/Ubuntu/root -a y – this makes the volume mountable (assuming it is marked as
unavailable before then.)
mount /dev/Ubuntu/root /your/mount/point – from this point you should be able to access the files on the volume.
- Basic instructions for using LVM on SCE for a dynamically attached volume (ibm.com)
- Lvm (wiki.archlinux.org)