fix recordsize
This commit is contained in:
parent
e3f3aea9ff
commit
8b1d9e4b0a
|
@ -73,7 +73,6 @@ sleep 5
|
||||||
# ZFS zpool creation with encryption
|
# ZFS zpool creation with encryption
|
||||||
zpool create \
|
zpool create \
|
||||||
-o ashift=13 \
|
-o ashift=13 \
|
||||||
-o recordsize=64K \
|
|
||||||
-o autotrim=off \
|
-o autotrim=off \
|
||||||
-O acltype=posixacl \
|
-O acltype=posixacl \
|
||||||
-O atime=off \
|
-O atime=off \
|
||||||
|
@ -101,6 +100,11 @@ zfs create -o mountpoint=legacy zpool/data
|
||||||
zfs create -o mountpoint=legacy zpool/nix
|
zfs create -o mountpoint=legacy zpool/nix
|
||||||
zfs create -o mountpoint=legacy zpool/tmp
|
zfs create -o mountpoint=legacy zpool/tmp
|
||||||
|
|
||||||
|
# we want 64 KB recordsize
|
||||||
|
zfs set recordsize=64K zpool/data
|
||||||
|
zfs set recordsize=64K zpool/nix
|
||||||
|
zfs set recordsize=64K zpool/tmp
|
||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
# show the pool
|
# show the pool
|
||||||
|
|
Loading…
Reference in a new issue