From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pobox.stuttgart.redhat.com (pobox.stuttgart.redhat.com [172.16.2.10]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m59DqXsN001054 for ; Mon, 9 Jun 2008 09:52:33 -0400 Received: from [10.34.32.183] (mazybook.englab.brq.redhat.com [10.34.32.183]) by pobox.stuttgart.redhat.com (8.13.1/8.13.1) with ESMTP id m59DqWaX019672 for ; Mon, 9 Jun 2008 09:52:32 -0400 Message-ID: <484D3574.9000403@redhat.com> Date: Mon, 09 Jun 2008 15:51:48 +0200 From: Milan Broz MIME-Version: 1.0 Subject: Re: [linux-lvm] Re: Re: Re: Loopback mount a disk image with lvm References: <2122f0920806090646h46bb29cds76fb957a2b8e0cbe@mail.gmail.com> In-Reply-To: <2122f0920806090646h46bb29cds76fb957a2b8e0cbe@mail.gmail.com> Content-Transfer-Encoding: 7bit Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" To: LVM general discussion and development 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