Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2000 19:47:52 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        freebsd-hackers@freebsd.org
Subject:   several NFS mounts within a filesystem
Message-ID:  <20000816194752.A2983@ringwraith.office1.bg>

next in thread | raw e-mail | index | archive | help
OK, so it might very well be that I haven't read everything; in that
case, sorry for taking your time. However..

/etc/fstab:

# Device		Mountpoint	FStype	Options		Dump	Pass#
/dev/ad4s1b		none		swap	sw		0	0
/dev/ad4s1a		/		ufs	rw		1	1
/dev/ad4s1e		/tmp		ufs	rw		2	2
/dev/ad4s1g		/usr		ufs	rw		2	2
/dev/ad4s1f		/var		ufs	rw		2	2
/dev/acd0c		/cdrom	cd9660	ro,noauto	0	0
proc			/proc		procfs	rw		0	0

/etc/exports:

/usr/n/ringrowl/root	-maproot=root -network 192.168.1.0 -mask 255.255.255.0
/usr/n/ringrowl/usr	-maproot=root -network 192.168.1.0 -mask 255.255.255.0

And the result of ``mountd -d -l'' is:

Aug 16 19:36:35 ringwraith mountd[2956]: can't change attributes for /usr/n/ringrowl/usr
Aug 16 19:36:35 ringwraith mountd[2956]: bad exports list line /usr/n/ringrowl/usr	-maproot

After this, showmount -e shows an exported /usr/n/ringrowl/root, and plain
old mount shows something new: /usr now has a NFS-mounted flag.

Am I right in thinking that the kernel won't let me export more than one
subdir of the same filesystem?  If so, how do I get around this?
I really really really really do not want to repartition, and vnconfig is
just barely an option.. though if there is no other way, I'll have to
do it.

G'luck,
Peter Pentchev

-- 
This sentence contains exactly threee erors.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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