|
Bugzilla – Full Text Bug Listing |
| Summary: | Can't delete btrfs subvolume | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Steffen Sledz <sledz> |
| Component: | Kernel | Assignee: | E-mail List <kernel-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Leap 15.0 | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | Other | ||
| See Also: | https://bugzilla.opensuse.org/show_bug.cgi?id=957198 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Steffen Sledz
2019-03-26 12:45:10 UTC
The @ is the root of the file system. You'll want: # btrfs subvolume delete /home # btrfs subvolume delete /home ERROR: not a subvolume: /home :( Does also not work. Ah, right. It's in use as a mount point. You need to unmount it first. Nope! It was unmounted before. # umount /home umount: /home: not mounted. # btrfs subvolume delete /home ERROR: not a subvolume: /home Sorry, haven't had my coffee yet this morning. # mount -osubvolid=0 /dev/sda1 /mnt # btrfs subvolume delete /mnt/@/home should do it. The -o subvolid=0 mounts the "true" root of the file system instead of the default subvolume, so you can see the entire namespace. Thank God for the coffee! ;-) |