Re: Re: Re: Re: Loopback mount a disk image with lvm

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

 



Girish V wrote:
> Incidentally, how do I free the loop (/dev/loop0) associated with
> disk.img. I tried "sudo losetup -d /dev/loop0", but I get the error
> message "ioctl: LOOP_CLR_FD: Device or resource busy".
> 
> I tried looking at mount, ps, top etc - but the disk.img associated
> with loop0, was not being used.
> 
> Any ideas?

kpartx -d /dev/loop0

to remove partitions mappings?

Milan

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux