Use single quotes.
This commit is contained in:
parent
4826cfbbd3
commit
7237abaa5e
|
@ -12,7 +12,7 @@ echo "Enabling a variety of settings to reduce writes on SSDs. This may cause da
|
|||
|
||||
sleep 10
|
||||
|
||||
echo “options zfs zfs_txg_timeout=30” > /etc/modprobe.d/zfs.conf # Set txg_timeout to 30 seconds. This introduces a higher risk of data loss.
|
||||
echo 'options zfs zfs_txg_timeout=30' > /etc/modprobe.d/zfs.conf # Set txg_timeout to 30 seconds. This introduces a higher risk of data loss.
|
||||
zfs set atime=off rpool # Turn off atime.
|
||||
zfs set logbias=throughput rpool # Change logbias to throughput.
|
||||
zfs set compression=lz4 rpool # Set compression to lz4 instead of the older LZJB.
|
||||
|
@ -28,4 +28,3 @@ zpool get all | grep ashift
|
|||
|
||||
echo "And trim should be enabled:"
|
||||
systemctl status fstrim.timer
|
||||
|
||||
|
|
Loading…
Reference in New Issue