Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2002 07:43:35 +0100
From:      Emiel Kollof <coolvibe@hackerheaven.org>
To:        current@freebsd.org
Subject:   ext2fs and NFS exporting wackyness
Message-ID:  <20021128064335.GA43060@hackerheaven.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021128064335.GA43060>