[Bug 957198] New: btrfs subvolume delete does not work
http://bugzilla.opensuse.org/show_bug.cgi?id=957198 Bug ID: 957198 Summary: btrfs subvolume delete does not work Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: x86-64 OS: Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: jmader2@gmu.edu QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- # btrfs subvolume show opt /opt Name: opt UUID: d031edb9-47b3-f34d-8402-7b574bdac5bd Parent UUID: - Received UUID: - Creation time: 2015-11-30 12:02:19 -0500 Subvolume ID: 261 Generation: 32 Gen at creation: 15 Parent ID: 257 Top level ID: 257 Flags: - Snapshot(s): # btrfs subvolume delete opt Delete subvolume (no-commit): '//opt' ERROR: cannot delete '//opt' - Invalid argument -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957198
http://bugzilla.opensuse.org/show_bug.cgi?id=957198#c1
Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=957198
http://bugzilla.opensuse.org/show_bug.cgi?id=957198#c2
--- Comment #2 from Jason Mader
could it be that the subvolume is mounted? or any information in dmesg|tail
Yes, /opt is mounted. The error is different when /opt is not mount, # btrfs subvolume delete opt ERROR: 'opt' is not a subvolume There isn’t anything in dmesg. getcwd("/", 4096) = 2 lstat("/opt", {st_mode=S_IFDIR|0755, st_size=28, ...}) = 0 stat("/", {st_mode=S_IFDIR|0755, st_size=176, ...}) = 0 openat(AT_FDCWD, "/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6a1ddf6000 write(1, "Delete subvolume (no-commit): '/"..., 38Delete subvolume (no-commit): '//opt' ) = 38 ioctl(3, BTRFS_IOC_SNAP_DESTROY, 0x7ffd5c2d2770) = -1 EINVAL (Invalid argument) write(2, "ERROR: cannot delete '//opt' - I"..., 48ERROR: cannot delete '//opt' - Invalid argument ) = 48 brk(0xd42000) = 0xd42000 close(3) = 0 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957198
http://bugzilla.opensuse.org/show_bug.cgi?id=957198#c5
Kristoffer Gronlund
http://bugzilla.opensuse.org/show_bug.cgi?id=957198 http://bugzilla.opensuse.org/show_bug.cgi?id=957198#c6 Peter Sütterlin
http://bugzilla.opensuse.org/show_bug.cgi?id=957198
http://bugzilla.opensuse.org/show_bug.cgi?id=957198#c7
Jason Evans
http://bugzilla.opensuse.org/show_bug.cgi?id=957198
Steffen Sledz
participants (1)
-
bugzilla_noreply@novell.com