Alan Johnson
Dabbler
- Joined
- Jul 2, 2013
- Messages
- 12
I hope this is an OK place to post such questions. I plan to write a how-to on this but not until I get this straight. I expect such a how-to would easily fall under hacking. =)
I have managed to get /var mounted to /mnt/vol0/system/var with nullfs and added that to /etc/fstab and /conf/base/etc/fstab, but I doubt that is the right way to do it in FreeNAS. I expect /mnt/vol0 is mounted in some way after fstab is processed, so my next boot will get tripped up. Any tips on where to put this mount? Can I add /mnt/vol0 and /mnt/vol0/system to fstab before /var without breaking the boot or other zfs mounts?
Would I be much better off using some mount outside of my zfs pool? I could re-partition some drives to make that happen, but I would like to avoid that effort and would like to present both options in the how-to in case others do not have such luxury.
I have managed to get /var mounted to /mnt/vol0/system/var with nullfs and added that to /etc/fstab and /conf/base/etc/fstab, but I doubt that is the right way to do it in FreeNAS. I expect /mnt/vol0 is mounted in some way after fstab is processed, so my next boot will get tripped up. Any tips on where to put this mount? Can I add /mnt/vol0 and /mnt/vol0/system to fstab before /var without breaking the boot or other zfs mounts?
Would I be much better off using some mount outside of my zfs pool? I could re-partition some drives to make that happen, but I would like to avoid that effort and would like to present both options in the how-to in case others do not have such luxury.