Package: nfs-kernel-server
Version: 1:1.0.7-9

I find that it's impossible to successfully export a root filesystem
which is locally mounted from a hard disk. All other exports involving
the same client/server pair work fine; it only fails when the client
attempts to NFS mount the server's root filesystem.

server filesystem (from /bin/mount):
    /dev/hda1 on / type ext3 (rw,errors=remount-ro)

server /etc/exports entry:
    /   192.168.0.0/16(sync)


No error message appears in the logs when the server starts, but
attempting to NFS mount the server root produces a "Permission denied"
error on the client, and the following entry in the server logs:

Apr 25 06:30:21 server mountd[17596]: authenticated mount request from 
client:988 for / (/)
Apr 25 06:30:21 server mountd[17596]: getfh failed: Operation not permitted


Conversely, when the root filesystem is not even exported, the same
mount attempt produces this log entry:

Apr 25 06:31:04 server mountd[17596]: refused mount request from client for / 
(/): no export entry


And this is a successful mount of a non-root filesystem:

Apr 25 06:47:06 server mountd[17596]: authenticated mount request from 
client:993 for /home (/home)


related packages:

nfs-common : 1:1.0.7-9

libnfsidmap1 : version 0.13-1

libc6 : version 2.3.6-7

mount : 2.12r-8

kernel-image-2.4.27-2-386 : version 2.4.27-11


Various configuration examples suggest that it ought to be possible to
export a block-device root filesystem just like any other, but currently
this seems not to work. Perhaps the documentation could explain what
needs to be done to make this possible ("fsid=xxx"?), or if it is in
fact not possible for some reason, make this clear.


-- Ian Bruce


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to