mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-12-14 14:20:32 +08:00
Add disk resizes
This commit is contained in:
2
disk.sh
2
disk.sh
@@ -24,7 +24,7 @@ if [ -f "${DATA}" ]; then
|
|||||||
|
|
||||||
if [ "$DATA_SIZE" -gt "$OLD_SIZE" ]; then
|
if [ "$DATA_SIZE" -gt "$OLD_SIZE" ]; then
|
||||||
|
|
||||||
echo "Resizing data disk from $OLD_SIZE to $DATA_SIZE bytes.."
|
echo "INFO: Resizing data disk from $OLD_SIZE to $DATA_SIZE bytes.."
|
||||||
|
|
||||||
REQ=$((DATA_SIZE-OLD_SIZE))
|
REQ=$((DATA_SIZE-OLD_SIZE))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user