kpartx cannot unmap the partitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i have mapped a kvm disk image with the following methods:

losetup /dev/loop0 /var/lib/libvirt/images/kernel.img
[root@localhost ]# kpartx -av /dev/loop0
add map loop0p1 (253:0): 0 1863477 linear /dev/loop0 63
add map loop0p2 (253:1): 0 224910 linear /dev/loop0 1863540
add map loop0p5 : 0 224847 linear 253:1 63

then i ran
kpartx -dv /dev/loop0

nothing was showed
and when i ran ls command, i got the following.
ls -alF /dev/mapper
total 0
drwxr-xr-x  2 root root     120 2009-07-12 22:07 ./
drwxr-xr-x 17 root root    4580 2009-07-12 22:07 ../
crw-rw----  1 root root  10, 63 2009-07-12 21:50 control
brw-rw----  1 root disk 253,  0 2009-07-12 22:07 loop0p1
brw-rw----  1 root disk 253,  1 2009-07-12 22:07 loop0p2
brw-rw----  1 root disk 253,  2 2009-07-12 22:07 loop0p5

any idea?

thanks

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux