Re: Legacy ZFS mounts

2019-09-16 Thread Chavdar Ivanov
Thanks, it's fine. I didn't add 'zfs=YES' to /etc/rc.conf as running '/etc/rc.d/zfs start' without it did not produce the usual warning of undefined variable. On Mon, 16 Sep 2019 at 12:21, Brad Spencer wrote: > > Chavdar Ivanov writes: > > > Since yesterday I don't get my zfs fule systems

Re: Legacy ZFS mounts

2019-09-16 Thread Brad Spencer
Chavdar Ivanov writes: > Since yesterday I don't get my zfs fule systems automatically mounted, > I have to issue 'zfs mount -a'. > > Should I add some entry in /etc/fstab or place the above command in > one of the scripts? > > The zvols are accessible as usual. Add zfs=YES to your rc.conf.

Re: Legacy ZFS mounts

2019-09-16 Thread Chavdar Ivanov
Since yesterday I don't get my zfs fule systems automatically mounted, I have to issue 'zfs mount -a'. Should I add some entry in /etc/fstab or place the above command in one of the scripts? The zvols are accessible as usual. On Sat, 7 Sep 2019 at 14:54, Brad Spencer wrote: > > m...@netbsd.org

Re: Legacy ZFS mounts

2019-09-07 Thread Brad Spencer
m...@netbsd.org writes: [snip] >> The module has to load before zvols will show up and if that is ALL you >> were doing, I don't think anything else will prompt the loading of the >> module. That is, your /dev/zvol/* tree would not be there unless you >> execute the zfs (and probably the zpool)

Re: Legacy ZFS mounts

2019-09-07 Thread maya
On Sat, Sep 07, 2019 at 06:37:31AM -0400, Brad Spencer wrote: > m...@netbsd.org writes: > > > when asking for reviews on diffs, please consider having them in an easy > > to view format, rather than tar files. > > > > Having a 'zfs' script to load a module sounds wrong. We have module > >

Re: Legacy ZFS mounts

2019-09-07 Thread Brad Spencer
m...@netbsd.org writes: > when asking for reviews on diffs, please consider having them in an easy > to view format, rather than tar files. > > Having a 'zfs' script to load a module sounds wrong. We have module > autoloading for this purpose. Thanks for the comments... Ya, there are two

Re: Legacy ZFS mounts

2019-09-07 Thread maya
when asking for reviews on diffs, please consider having them in an easy to view format, rather than tar files. Having a 'zfs' script to load a module sounds wrong. We have module autoloading for this purpose.

Legacy ZFS mounts

2019-09-06 Thread Brad Spencer
I would like to commit a change soon that will add support for legacy ZFS mounts. That is, those where the ZFS property mountpoint=legacy. This will allow one to specify ZFS mounts in /etc/fstab and will allow the use of critical_local_filesystems in /etc/rc.conf. Basically you could have