Date: Sun, 21 Jan 2001 21:35:38 -0500 From: Mathieu Mourez <matt@m2.qc.ca> To: stable@freebsd.org Subject: Weird NFS behaviour Message-ID: <3A6B9C7A.38887928@m2.qc.ca>
next in thread | raw e-mail | index | archive | help
Hi, I'm having a problem exporting an ext2fs partition with 4.2-STABLE. (/dev/ad2s2 is my ext2fs partition) <QUOTE> [root@minotaur]# more /etc/exports /mnt/drawer/2 -ro -alldirs [root@minotaur]# df -k Filesystem 1K-blocks Used Avail Capacity Mounted on [...] /dev/ad2s2 16516084 9343016 6334076 60% /mnt/drawer/2 [root@minotaur]# kill -1 73669 [root@minotaur]# tail /var/log/messages [...] Jan 21 20:06:40 minotaur mountd[73669]: can't change attributes for /mnt/drawer/2 Jan 21 20:06:40 minotaur mountd[73669]: bad exports list line /mnt/drawer/2 -ro -alldirs </QUOTE> So ok, that doesn't work. But now this: <QUOTE> [root@minotaur]# umount /mnt/drawer/2/ [root@minotaur]# kill -1 73669 [root@minotaur]# mount /mnt/drawer/2/ # showmount -e Exports list on localhost: /mnt/drawer/2 Everyone </QUOTE> And everything works fine. Then a few minutes later, I unmount the ext2, kill mountd and when I restart it (with mountd -dn) I get: <QUOTE> [root@minotaur]# mountd -dn mountd: getting export list mountd: got line /mnt/drawer/2 -ro -alldirs mountd: making new ep fs=0x3a4a59f1,0x4b5db4bc mountd: doing opt -ro -alldirs mountd: doing opt -alldirs mountd: adding a default entry mountd: getting mount list mountd: here we go </QUOTE> And in the logs: Jan 21 21:08:28 minotaur mountd[73899]: could not remount /mnt/drawer/2: Invalid argument Jan 21 21:08:28 minotaur mountd[73899]: bad exports list line /mnt/drawer/2 -ro -alldirs Can someone shed any light on this? Cheers, - Matt +----------------------------------------------------------+ | Mathieu Mourez matt@loki.home.m2.qc.ca | | BOFH 514.996.9626 | | "The light that burns twice as fast burns half as long" | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A6B9C7A.38887928>