Re: subvolume nomenclature
On Fri, Mar 2, 2012 at 1:44 PM, Brian J. Murrell <brian@xxxxxxxxxxxxxxx> wrote:
> On 12-03-02 08:36 AM, cwillu wrote:
>>
>> Try btrfs sub delete /etc/apt/oneiric, assuming that that's the path
>> where you actually see it.
>
> Well, there is a root filesystem at /etc/apt/oneiric:
>
> # ls /etc/apt/oneiric/
> bin etc initrd.img.old mnt root selinux tmp vmlinuz
> boot home lib opt run srv usr vmlinuz.old
> dev initrd.img media proc sbin sys var
>
> but it doesn't delete:
>
> # btrfs subvolume delete /etc/apt/oneiric
> Delete subvolume '/etc/apt/oneiric'
> ERROR: cannot delete '/etc/apt/oneiric' - Device or resource busy
root@repository:~/foo$ btrfs sub create bar
Create subvolume './bar'
root@repository:~/foo$ cd bar
root@repository:~/foo/bar$ btrfs sub del /home/cwillu/foo/bar
Delete subvolume '/home/cwillu/foo/bar'
ERROR: cannot delete '/home/cwillu/foo/bar' - Device or resource busy
It's likely there's at least one process with an open handle to that
subvolume (even just a shell that as its current working directory).
lsof | grep /etc/apt/oneiric should tell you what you need.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux NFS]
[Linux NILFS]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]