cannot mount linproc with dan's ZFSonRoot setup

Hi guys,

I'm facing a pretty weird situation on a 8.2 amd64 ZFSonRooT setup when trying to mount linproc from fstab at start time.
I added
Code:
linproc                /usr/compat/linux/proc  linprocfs       rw      0       0
to /etc/fstab and after I rebooted, I got:
Code:
Mar 23 21:30:44 mainserver kernel: Starting file system checks:
Mar 23 21:30:44 mainserver kernel: Mounting local file systems:
Mar 23 21:30:44 mainserver kernel: mount:
Mar 23 21:30:44 mainserver kernel: /usr/compat: No such file or directory
Mar 23 21:30:44 mainserver kernel:
Mar 23 21:30:44 mainserver kernel: .
Mar 23 21:30:44 mainserver kernel: Mounting /etc/fstab filesystems failed,  startup aborted
Mar 23 21:30:44 mainserver kernel: ERROR: ABORTING BOOT (sending SIGTERM to parent)!
Mar 23 21:30:44 mainserver kernel: Mar 23 21:22:03 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode

I tried a few things and this behavior does not appear on a normal 8.2 installation or on a mfsbsd instalation. It seems to be specific to this setup.

/usr/compat/linux/proc/ exists and if I manually mount it after the system boots, it works. If, however, I leave it to be mounted automatically, it doesn't work.

I tried creating a zfs dataset (mountpoint=none) but that was a no go.

This machine was a 8.1 amd64 with ZFSonRooT setup but was upgraded (sources) to 8.2.

Ideas?
 
da1 said:
Hi guys,

I'm facing a pretty weird situation on a 8.2 amd64 ZFSonRooT setup when trying to mount linproc from fstab at start time.
I added
Code:
linproc                [B]/usr/compat/[/B]linux/proc  linprocfs       rw      0       0
to /etc/fstab and after I rebooted, I got:
Code:
[/QUOTE]
Try changing this to:
[CODE]linproc    /compat/linux/proc  linprocfs   rw  0   0
or create the symbolic link.
 
  • Thanks
Reactions: da1
Back
Top