Category: OracleVM
Mounting an LVM Logical Volume in an Oracle VM Disk Image
# losetup /dev/loop0 System.img# kpartx -a /dev/loop0# ls -l /dev/mapper/loop0*brw-rw—- 1 root disk 253, 0 Jul 14 19:57 /dev/mapper/loop0p1brw-rw—- 1 root disk 253, 1 Jul 14 19:57 /dev/mapper/loop0p2 # file -s /dev/mapper/loop0p2/dev/mapper/loop0p2: LVM2 (Linux Logical Volume Manager) , UUID: 7zKduhTHsMa3YD3t2gocYKUDGRP5QvW # vgscan Reading all physical volumes. This may take a while… Found volume group “VolGroup00”…
Read More “Mounting an LVM Logical Volume in an Oracle VM Disk Image” »