conf/122036: Mounting at boot with ZFS causes a halt in booting

Nicolas Blais nicblais at clkroot.net
Mon Mar 24 08:00:07 UTC 2008


>Number:         122036
>Category:       conf
>Synopsis:       Mounting at boot with ZFS causes a halt in booting
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 24 08:00:07 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas  Blais
>Release:        7.0-STABLE
>Organization:
>Environment:
FreeBSD clk01.clkroot.net 7.0-STABLE FreeBSD 7.0-STABLE #33: Sun Mar 23 01:36:25 EDT 2008     root at clk01.clkroot.net:/usr/obj/usr/src/sys/CLK01  amd64
>Description:
Here's the thing (sorry if wrong category):

Except for / (root), all my mount points are ZFS. I have zfs_enable="YES" in my /etc/rc.conf to mount my volumes correctly at boot. Unfortunately, in my /etc/fstab I have an entry that relates to a ZFS filesystem.

During boot, it seems that the OS is trying to mount the entry in my fstab, but /etc/rc.d/zfs hasn't loaded or isn't finished yet and therefore causes the boot to stop.

Here's the entry in /etc/fstab that causes the boot to halt:
/tank/public/ftp       /home/sam/ftp   nullfs  rw              0       0

And here's the boot dmesg with the error:

Starting file system checks:
/dev/mirror/gm0a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/mirror/gm0a: clean, 318448 free (968 frags, 39685 blocks, 0.2% fragmentation)
Setting hostuuid: 209b7d70-eb81-11db-b35a-0030488ca160.
Setting hostid: 0x60036df4.
Mounting local file systems:
mount:
/home/sam: No such file or directory

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list