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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux