Unverified Commit 9417bee0 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Enable BTRFS duplicate metadata

parent b57b3909
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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