[Bug 217686] zfs_enable=YES causing vm_fault: pager read error, pid 1 (init)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 2 06:11:41 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217686

--- Comment #3 from BB Lister <bblister at gmail.com> ---
My /etc/fstab is
# Device                Mountpoint      FStype  Options                        
Dump    Pass#
/dev/ada0s1b            none            swap    sw                             
0       0
/dev/ada0s1a    /               ufs     ro                              1      
1
/dev/ufs/b5home         /home           ufs     rw,nosuid,noexec               
2       2
/dev/ufs/b5usr          /usr            ufs     ro                             
2       2
/dev/ufs/b5var          /var            ufs     rw,nosuid                      
2       2


md              /tmp            mfs     rw,noatime,nosuid,noexec,-s96m         
0       0
md              /var/run        mfs     rw,nosuid,noexec,-s4m,-p=777           
0       0


/dev/acd0               /cdrom          cd9660  ro,noauto                      
0       0
tmpfs           /var/db/ramdisk tmpfs   rw,nosuid,noexec,mode=777       0      
0







My ZFS filesystems are all mounted at tank/ 
 mount | grep zfs
tank on /tank (zfs, local, noatime, nfsv4acls)
tank/_Programs on /tank/_Programs (zfs, local, noatime, nfsv4acls)
tank/jails on /tank/jails (zfs, local, noatime, nfsv4acls)
tank/tmp on /tank/tmp (zfs, local, noatime, nosuid, nfsv4acls)
tank/virtualbox on /tank/virtualbox (zfs, local, noatime, nfsv4acls)
tank/.backupdir on /tank/.backupdir (zfs, local, noatime, nfsv4acls)




I can assume that this seems like a race error, where first the ufs directories
should be mounted (after fsck) and then the ZFS. Now I assume (perhaps I am
wrong) that zfs tries to get mounted before any UFS filesystem is mounted and
this causes that problem.

If the UFS directories are mounted first then I can start zfs whithout problem,
as I have shown in my previous post.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list