mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
feat: Configure sizes for multiple disks
This commit is contained in:
parent
895bc04a57
commit
db47f561d3
@ -182,7 +182,7 @@ if [ -d "$(dirname "${EXTRA_DISK}")" ]; then
|
|||||||
if [ ! -f "${EXTRA_DISK}" ]; then
|
if [ ! -f "${EXTRA_DISK}" ]; then
|
||||||
[ -z "$EXTRA_SIZE" ] && EXTRA_SIZE="16G"
|
[ -z "$EXTRA_SIZE" ] && EXTRA_SIZE="16G"
|
||||||
if ! truncate -s "${EXTRA_SIZE}" "${EXTRA_DISK}"; then
|
if ! truncate -s "${EXTRA_SIZE}" "${EXTRA_DISK}"; then
|
||||||
error "Could not create the file for the second disk." && exit 53
|
error "Could not create the file for the third disk." && exit 54
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user