If you have no swap space then it is normal for a full ZFS system to have a blank /etc/fstab. If you do have a partition set aside for swap, that will need adding.
property, the swap device will be created automatically on boot by the ZFS rc script.
If you didn't set that property, you can mount swap using fstab, by adding an entry for /dev/zvol/zroot/swap, but you don't need to, and it generally makes more sense to use the property like you have done (For one it means you don't have to remember to edit /etc/fstab if you ever remove the swap dataset from ZFS).
In my first post I was talking more about if you have a completely separate disk partition (such as /dev/ad0p1) set aside for swap, that is unrelated to the pool.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.