Bug 83621

Summary: "btrfs filesystem resize max /" fails on a one partition filesystem with devid 2
Product: File System Reporter: Sam Van den Eynde (svde.tech)
Component: btrfsAssignee: Josef Bacik (josef)
Status: RESOLVED MOVED    
Severity: low CC: dsterba, szg00000
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.13.0-35 Subsystem:
Regression: No Bisected commit-id:

Description Sam Van den Eynde 2014-08-31 21:54:14 UTC
When issuing "btrfs filesystem resize max /" I get an error "error: unable to resize '/' - no such device" if the devid for the underlying partition is 2.

Fix: mention the exact devid in the command, which in my case implies changing the command to "btrfs filesystem resize 2:max /"

I assume I would not get this error on a clean situation (filesystem on one partition with devid of 1).
Comment 1 Sam Van den Eynde 2014-10-09 09:25:18 UTC
To identify the devid for the devices in question, use "btrfs filesystem show /"
Comment 2 David Sterba 2022-05-20 15:33:56 UTC
This is still broken, moving to another bug tracker https://github.com/kdave/btrfs-progs/issues/470 .