Fix xfs_grow arguments

Signed-off-by: Lauri Võsandi <lauri@k-space.ee>
This commit is contained in:
Lauri Võsandi 2022-11-29 07:06:51 +02:00 committed by Lauri Võsandi
parent ac45d74b7c
commit 6ab8470221

View File

@ -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}")