LVM: mount dari usb harddisk
Revision as of 20:11, 31 October 2016 by Onnowpurbo (talk | contribs) (Created page with "Sumber: http://www.tuxradar.com/answers/296 Mount LVM partitions from an external hard drive Q Is it possible, and if so how, to mount LVM partitions from an external hard...")
Sumber: http://www.tuxradar.com/answers/296
Mount LVM partitions from an external hard drive
Q Is it possible, and if so how, to mount LVM partitions from an external hard drive? I'm thinking of my old Fedora system drive from which I would like to retrieve a single file without having to boot from it.
A As long as you have the LVM tools installed on the distro you are booting, you can mount LVM partitions from any disk (I even did it from a USB key once). Run
vgscan vgchange -a y
as root and all the partitions should have devices created in the form /dev/volumegroup/logicalvolume, which you can then mount in the usual way:
mount /dev/volumegroup/logicalvolume /mnt/somewhere