Re: fsck vs zvol

2019-06-12 Thread O'Connor, Daniel
> On 12 Jun 2019, at 22:21, Eugene Grosbein wrote: > > 12.06.2019 12:17, O'Connor, Daniel wrote: > The Samba 4 ZFS is from https://wiki.freebsd.org/Samba4ZFS (which I wrote..) > > You should correct this page and change the line for /etc/fstab > and use non-zero value for fsck

Re: fsck vs zvol

2019-06-12 Thread Eugene Grosbein
12.06.2019 12:17, O'Connor, Daniel wrote: >>> The Samba 4 ZFS is from https://wiki.freebsd.org/Samba4ZFS (which I wrote..) You should correct this page and change the line for /etc/fstab and use non-zero value for fsck pass number. ___

Re: fsck vs zvol

2019-06-12 Thread O'Connor, Daniel
> On 12 Jun 2019, at 15:47, Patrick M. Hausen wrote: >> Am 12.06.2019 um 03:04 schrieb O'Connor, Daniel : >> I have a small UFS partition that is the sysvol for Samba 4 (otherwise it >> doesn't work due to ACL issues). > > AFAIK this was fixed by iX Systems for Samba 4.9: > >

Re: fsck vs zvol

2019-06-12 Thread O'Connor, Daniel
> On 12 Jun 2019, at 15:51, Eugene Grosbein wrote: > >> >> Oh I see for the passno field.. It must be non-zero it fsck won't check it >> at all! > > And you don't need to change /etc/rc.d/fsck script at all. Yeah I reverted that change now. Thanks again :) -- Daniel O'Connor "The nice

Re: fsck vs zvol

2019-06-12 Thread Eugene Grosbein
12.06.2019 12:17, O'Connor, Daniel wrote: >> Please show your /etc/fstab line for this UFS-inside-ZVOL and your changes >> to rc.d/fsck. >> Your logs do not show that fsck is started so I presume some mistake in the >> /etc/fstab. >> Maybe you forgot that it needs non-zero sixth field. > > The

Re: fsck vs zvol

2019-06-12 Thread Patrick M. Hausen
Hi all, > Am 12.06.2019 um 03:04 schrieb O'Connor, Daniel : > I have a small UFS partition that is the sysvol for Samba 4 (otherwise it > doesn't work due to ACL issues). AFAIK this was fixed by iX Systems for Samba 4.9: https://jira.ixsystems.com/browse/NAS-100698 You might want to

Re: fsck vs zvol

2019-06-11 Thread O'Connor, Daniel
> On 12 Jun 2019, at 14:40, Eugene Grosbein wrote: > > 12.06.2019 8:04, O'Connor, Daniel wrote: > >> Hi, >> I have a small UFS partition that is the sysvol for Samba 4 (otherwise it >> doesn't work due to ACL issues). >> >> I found that I usually have to manually fsck it on a bad reboot,

Re: fsck vs zvol

2019-06-11 Thread Eugene Grosbein
12.06.2019 8:04, O'Connor, Daniel wrote: > Hi, > I have a small UFS partition that is the sysvol for Samba 4 (otherwise it > doesn't work due to ACL issues). > > I found that I usually have to manually fsck it on a bad reboot, even if I > have fsck_y_enable so I added a hack to /etc/rc.d/fsck