Bug 83621 - "btrfs filesystem resize max /" fails on a one partition filesystem with devid 2
Summary: "btrfs filesystem resize max /" fails on a one partition filesystem with devid 2
Status: RESOLVED MOVED
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: All Linux
: P1 low
Assignee: Josef Bacik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-31 21:54 UTC by Sam Van den Eynde
Modified: 2022-05-20 15:33 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.13.0-35
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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 .

Note You need to log in before you can comment on or make changes to this bug.