From owner-freebsd-current Wed Nov 27 22:43:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 132E637B401 for ; Wed, 27 Nov 2002 22:43:50 -0800 (PST) Received: from tiamat.ipv6.hackerheaven.org (ipv6.hackerheaven.org [80.126.0.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id B515043EA9 for ; Wed, 27 Nov 2002 22:43:48 -0800 (PST) (envelope-from coolvibe@hackerheaven.org) Received: from tiamat.ipv6.hackerheaven.org (localhost.ipv6.hackerheaven.org [127.0.0.1]) by tiamat.ipv6.hackerheaven.org (8.12.6/8.12.6) with ESMTP id gAS6hZgl043149 for ; Thu, 28 Nov 2002 07:43:35 +0100 (CET) (envelope-from coolvibe@tiamat.ipv6.hackerheaven.org) Received: (from coolvibe@localhost) by tiamat.ipv6.hackerheaven.org (8.12.6/8.12.6/Submit) id gAS6hZMv043148 for current@freebsd.org; Thu, 28 Nov 2002 07:43:35 +0100 (CET) Date: Thu, 28 Nov 2002 07:43:35 +0100 From: Emiel Kollof To: current@freebsd.org Subject: ext2fs and NFS exporting wackyness Message-ID: <20021128064335.GA43060@hackerheaven.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailer: Mutt 1.3.23i (2001-10-09) X-Editor: Vim http://www.vim.org/ X-Info: http://www.hackerheaven.org/ X-Info2: http://www.cmdline.org/ X-Info3: http://www.coolvibe.org/ X-message-flag: Out of cheese error! User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey folks, I'm having some odd trouble with exporting a ext2fs with NFS. First of, some info: uname: FreeBSD azazel.ipv6.hackerheaven.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Wed Nov 27 19:59:24 CET 2002 root@azazel.ipv6.hackerheaven.org:/usr/obj/usr/src/sys/AZAZEL i386 mount_ext2fs.c: $FreeBSD: src/sbin/mount_ext2fs/mount_ext2fs.c,v 1.15 2002/08/13 16:06:14 m ux Exp $ fstab snippet: /dev/ad2s1 /storage ext2fs rw,noatime 0 0 Note that the ext2 slice mounts fine and reading/writing data to/from it works like a charm. exports snippet: /storage -alldirs -network 10.0.0.0 -mask 255.255.255.0 Seems allright, no? Well, when I invoke or HUP mountd, the following happens: kernel: ext2fs doesn't support the old mount syscall mountd[344]: could not remount /storage: Operation not supported mountd[344]: bad exports list line /home -alldirs -network 10.0.0.0 -mask 255.255.255.0 It _should_ export fine, but the remounting does not work, causing mountd to think something's amiss and abort my cunning plan to share data across my network. Is this a known issue? Or have I just stumbled onto something? Is this something in mount_ext2fs that's gone haywire? Cheers, Emiel -- In Dr. Johnson's famous dictionary patriotism is defined as the last resort of the scoundrel. With all due respect to an enlightened but inferior lexicographer I beg to submit that it is the first. -- Ambrose Bierce, "The Devil's Dictionary" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message