From owner-freebsd-stable Sun Jan 21 18:33:13 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mjolnir.home.m2.qc.ca (modemcable122.45-200-24.mtl.mc.videotron.ca [24.200.45.122]) by hub.freebsd.org (Postfix) with ESMTP id 720D337B400 for ; Sun, 21 Jan 2001 18:32:55 -0800 (PST) Received: (from mailer@localhost) by mjolnir.home.m2.qc.ca (8.10.1/8.10.1) id f0M2UsY01564 for ; Sun, 21 Jan 2001 21:30:54 -0500 (EST) X-Authentication-Warning: mjolnir.home.m2.qc.ca: mailer set sender to using -f Received: from loki.home.m2.qc.ca(192.168.6.7), claiming to be "m2.qc.ca" via SMTP by brother.big, id smtpdfo7255; Sun Jan 21 21:30:46 2001 Message-ID: <3A6B9C7A.38887928@m2.qc.ca> Date: Sun, 21 Jan 2001 21:35:38 -0500 From: Mathieu Mourez X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: stable@freebsd.org Subject: Weird NFS behaviour Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm having a problem exporting an ext2fs partition with 4.2-STABLE. (/dev/ad2s2 is my ext2fs partition) [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 So ok, that doesn't work. But now this: [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 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: [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 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