mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-11-11 08:42:42 +01:00
fallocate
This commit is contained in:
1 parent
42ed8f6392
commit
bcde0e2f74
1 file changed
+2
-2
@@ -44,13 +44,13 @@ fi
|
||||
# echo "Resizing data disk from $OLD_SIZE to $NEW_SIZE bytes"
|
||||
#
|
||||
# if [ "$NEW_SIZE" -gt "$OLD_SIZE" ]; then
|
||||
# truncate -s "${NEW_SIZE}" "${DATA}"
|
||||
# fallocate -l "${NEW_SIZE}" "${DATA}"
|
||||
# btrfs filesystem resize "${NEW_SIZE}" "${DATA}"
|
||||
# fi
|
||||
#
|
||||
# if [ "$NEW_SIZE" -lt "$OLD_SIZE" ]; then
|
||||
# btrfs filesystem resize "${NEW_SIZE}" "${DATA}"
|
||||
# truncate -s "${NEW_SIZE}" "${DATA}"
|
||||
# fallocate -l "${NEW_SIZE}" "${DATA}"
|
||||
# fi
|
||||
# fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user