Inhaltsverzeichnis

swap

Beispiel

zfs create -V 40G -b $(getconf PAGESIZE) -o compression=zle \
      -o logbias=throughput -o sync=always \
      -o primarycache=metadata -o secondarycache=none \
      -o com.sun:auto-snapshot=false rpool/swap
 
mkswap /dev/zvol/rpool/swap
swapon /dev/zvol/rpool/swap
 
echo "/dev/zvol/rpool/swap none swap sw 0 0" >> /etc/fstab