Hello, I'm currently working on a project at school where we're creating a minimal fileserver that boots from flash and serves data from a harddisk through NFS. Our /etc/exports is very small at the moment. It only contains: /disk The problem is that FreeBSD tries to remount the flash as read-write. When I perform some hard resets, the system boots with the message right after starting mountd: WARNING: R/W mount of / denied. Filesystem is not clean - run fsck Is it possible to teach mountd to leave the root filesystem alone? Yours, -- Ed Schouten <ed@fxq.nl> WWW: http://g-rave.nl/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061212/be523b2c/attachment.pgp
Hi Ed, On Tue, Dec 12, 2006 at 10:36:45AM +0100, Ed Schouten wrote:> Is it possible to teach mountd to leave the root filesystem alone?This might be due to a change I have made in mountd(8) to prevent it from destroying filesystem flags; could you file a PR for me? I assume this is a recent 6-STABLE, correct? Regards, -- Rink P.W. Springer - http://rink.nu "It's you isn't it? THE BASTARD OPERATOR FROM HELL!" "In the flesh, on the phone and in your account..." - BOFH #3 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2415 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061212/ce2e595a/smime.bin
* Rink Springer <rink@FreeBSD.org> wrote:> On Tue, Dec 12, 2006 at 10:36:45AM +0100, Ed Schouten wrote: > > Is it possible to teach mountd to leave the root filesystem alone? > > This might be due to a change I have made in mountd(8) to prevent it > from destroying filesystem flags; could you file a PR for me?Done. http://www.freebsd.org/cgi/query-pr.cgi?pr=106636> I assume this is a recent 6-STABLE, correct?Yes, 6.2-PRERELEASE - two weeks old at most. -- Ed Schouten <ed@fxq.nl> WWW: http://g-rave.nl/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061212/49262321/attachment.pgp