Fix xfs_grow arguments
Signed-off-by: Lauri Võsandi <lauri@k-space.ee>
This commit is contained in:
parent
ac45d74b7c
commit
6ab8470221
@ -109,6 +109,6 @@ def be_fs_expanded(dev, path):
|
|||||||
elif fs == "btrfs":
|
elif fs == "btrfs":
|
||||||
run(f"btrfs filesystem resize max {path}")
|
run(f"btrfs filesystem resize max {path}")
|
||||||
elif fs == "xfs":
|
elif fs == "xfs":
|
||||||
run(f"xfs_growfs -d {dev}")
|
run(f"xfs_growfs -d {path}")
|
||||||
else:
|
else:
|
||||||
raise Exception(f"Unsupported fsType: {fs}")
|
raise Exception(f"Unsupported fsType: {fs}")
|
||||||
|
Loading…
Reference in New Issue
Block a user