[Bug 1058855] New: btrfs cannot grow small filesystem
http://bugzilla.suse.com/show_bug.cgi?id=1058855 Bug ID: 1058855 Summary: btrfs cannot grow small filesystem Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: aschnell@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- btrfs cannot grow a small filesystem from ~50M to ~70M. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1058855 http://bugzilla.suse.com/show_bug.cgi?id=1058855#c1 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aschnell@suse.com --- Comment #1 from Arvin Schnell <aschnell@suse.com> --- Console log: # parted /dev/sdb resizepart 1 50mb # mkfs.btrfs -f /dev/sdb1 [...] Devices: ID SIZE PATH 1 46.68MiB /dev/sdb1 # parted /dev/sdb resizepart 1 70m # mount /dev/sdb1 /test # btrfs filesystem resize max /test Resize '/test' of 'max' ERROR: unable to resize '/test': Invalid argument -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1058855 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com Assignee|kernel-maintainers@forge.pr |jeffm@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1058855 http://bugzilla.suse.com/show_bug.cgi?id=1058855#c2 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(aschnell@suse.com | |) --- Comment #2 from Jeff Mahoney <jeffm@suse.com> --- What version of btrfsprosgs allowed you to create the file system at all? I get: vm-21:/home/jeffm # parted /dev/vdh resizepart 1 50mb vm-21:/home/jeffm # mkfs.btrfs -f /dev/vdh1 btrfs-progs v4.13.2 See http://btrfs.wiki.kernel.org for more information. ERROR: superblock magic doesn't match ERROR: not enough free space to allocate chunk vm-21:/home/jeffm # mkfs.btrfs -V mkfs.btrfs, part of btrfs-progs v4.13.2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1058855 http://bugzilla.suse.com/show_bug.cgi?id=1058855#c3 --- Comment #3 from Arvin Schnell <aschnell@suse.com> --- I cannot remember what version I tested two months ago. But I can reproduce the issue on SLE 15 Beta 2 with different sizes. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1058855 http://bugzilla.suse.com/show_bug.cgi?id=1058855#c4 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(aschnell@suse.com | |) | --- Comment #4 from Arvin Schnell <aschnell@suse.com> --- Created attachment 749347 --> http://bugzilla.suse.com/attachment.cgi?id=749347&action=edit console log -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1058855 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #749347|text/x-log |text/plain mime type| | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1058855 http://bugzilla.suse.com/show_bug.cgi?id=1058855#c5 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #5 from Jeff Mahoney <jeffm@suse.com> --- I looked into this a bit more. The kernel doesn't support resizing a file system to a size smaller than 256MiB. It never has and the complexity we'd need to introduce to handle it isn't worth the benefit. What we can do is catch that situation in btrfsprogs and report a more helpful error. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com