Hi all.
I'm trying to mount nfs root in rw mode, but have messages like:
NFS in 192.168.4.122:
And I can mount it in rw mode from my desktop:
Diskless FreeBSD 9.0 amd64. Kernel config:
loader.conf on diskless:
diskless fstab:
Is it possible to mount nfs root in rw mode?
10x
I'm trying to mount nfs root in rw mode, but have messages like:
Code:
Trying to mount root from nfs:192.168.4.122:/shares/nfs/freebsd [rw]...
mountroot: waiting for device nfs:192.168.4.122:/shares/nfs/freebsd ...
Mounting from nfs:192.168.4.122:/shares/nfs/freebsd failed with error 19.
Trying to mount root from nfs: []...
NFS ROOT: 192.168.4.122:/shares/nfs/freebsd
...
mount_nfs: can't update /var/db/mounttab for 192.168.4.122:/shares/nfs/freebsd
eval: cannot create /etc/hostid: Permission denied
/etc/rc: WARNING: could not store hostuuid in /etc/hostid
...
NFS in 192.168.4.122:
Code:
root@su-desktop:/ # showmount -e 192.168.4.122 | grep freebsd
/shares/nfs/freebsd
root@su-desktop:/ #
Code:
root@su-desktop:/ # mount.nfs 192.168.4.122:/shares/nfs/freebsd /mnt
root@su-desktop:/ # mount | grep nfs
192.168.4.122:/shares/nfs/freebsd on /mnt type nfs (rw,addr=192.168.4.122)
root@su-desktop:/ #
Diskless FreeBSD 9.0 amd64. Kernel config:
Code:
ident DISKLESS
options BOOTP
options BOOTP_NFSROOT
options BOOTP_COMPAT
include GENERIC
loader.conf on diskless:
Code:
vfs.root.mountfrom="nfs:192.168.4.122:/shares/nfs/freebsd"
vfs.root.mountfrom.options=rw
diskless fstab:
Code:
192.168.4.122:/shares/nfs/freebsd / nfs rw 0 0
proc /proc procfs rw 0 0
Is it possible to mount nfs root in rw mode?
10x