The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
33 views

kpartx device to image mapping

I am using kpartx to map the paritions of an image file to device mapper. kpartx maps the image to one of the free loop devices, for example, /dev/loop0 Is there a way to query what image is mapped ...
0
votes
1answer
806 views

Loop back mount a VMDK flat image on a Linux Box

I am trying to loop mount a VMDK flat image generated by VMware fusion. The VMDK file has the -flat extension. I am trying to use kpartx kpartx -av /path/to /my/vmdk but I get llseek error ...
1
vote
1answer
931 views

Device file in /dev/mapper/ present even after removing partition with parted

These observations are from CentOS 6.3, 6.4 and 6.5. I have a multipath device with a single partition: # ls -l /dev/mapper/ total 0 crw-rw---- 1 admin root 10, 57 Dec 22 12:52 control lrwxrwxrwx 1 ...
0
votes
1answer
443 views

No ouptut from kpartx -av and -l

I am trying to learn how to use kpartx, and am having some trouble. My end goal is to use nested LVMs for virtual machines, where the VM's "/home" is in one nested LVM and the rest of the VM is on a ...
4
votes
1answer
341 views

kpartx verbose info: what does it mean?

When mounting images with the wonderful kpartx in verbose mode it displays some, likely very useful, information: # kpartx -av wheezy_cln.img add map loop0p1 (252:2): 0 131072 linear /dev/loop0 2048 ...
1
vote
3answers
599 views

Opening a Qemu/Xen file based VM Image (won't boot after upgrade)

Apart from one Virtual Host still running Xen/RHEL5, all our virtual capability is hosted on KVM hosts with LVM storage devices. I've stupidly attempted an Ubuntu full release upgrade on a guest ...
0
votes
1answer
630 views

poor performance with vmdk mounted as loop device even after conversion to raw

Edit 13/12/12 - At this stage it would appear to be related to Western Digital (and possibly others) Advanced Format 4K block sizes. This link goes some way into describing the issue, however the ...
0
votes
3answers
547 views

Backing up LVM volume with multiple partitions

I want to create a backup of a LVM volume (Xen DomU's), however a LVM volume can have multiple partitions and those are dynamic (I cannot guarantee LVM #1 has 1 partition and LVM #2 has 3 etcetera). ...
5
votes
1answer
5k views

losetup -d giving : device busy

I am mounting a KVM disk (LVM) following these commands : # losetup /dev/loop0 foo.img # kpartx -av /dev/loop0 # mount /dev/mapper/loop0p1 /mnt # unmount /mnt # kpartx -dv /dev/loop0 # losetup -d ...