mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Enable BTRFS duplicate metadata
This commit is contained in:
parent
6408b7d0ab
commit
7bd1498b6e
2
disk.sh
2
disk.sh
@ -17,7 +17,7 @@ FILE="$IMG/data$DISK_SIZE.img"
|
||||
|
||||
if [ ! -f "$FILE" ]; then
|
||||
truncate -s "${NEW_SIZE}" "${FILE}"
|
||||
mkfs.btrfs -q -L data -d single -m single "${FILE}" > /dev/null
|
||||
mkfs.btrfs -q -L data -d single -m dup "${FILE}" > /dev/null
|
||||
#qemu-img convert -f raw -O qcow2 -o extended_l2=on,cluster_size=128k,compression_type=zstd,preallocation=metadata "$TMP" "$FILE"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user