Skip to contentSkip to conversation

Problems with kNFSd 2.6.5

DISCUSSION Leonid Podolny 1 participant 1 message May 29, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I'm not sure that this one is a correct list to report such a bug. I experience a weird issue and I'm not sure whether it's a bug or a feature. :)
I'm connecting a fedora core 3 (i.e. 2.6.9) client to a sles9 (i.e. 2.6.5) server. Once I perform the following (completely legal) steps, I'm unable to unmount the disk that was once exported.

1) at the server: mount /dev/sdag1 /tmp/export
2) at the server: exportfs "*:/tmp/export" -o "rw" #note that this export is not at the /etc/exports
3) at the client: mount server:/tmp/export /tmp/mountpoint
4) at the client: ls /tmp/mountpoint #or some other usage
5) at the client: unexport /tmp/mountpoint
6) at the server: exportfs -r # removes the export, as it is not in
the /etc/exports
7) at the server: umount /dev/sdag1 #fails, though noone uses it.
It looks like that the exportfs -r somehow fails to decrement the usage count on the block device.

As a totally separate issue, I fail to figure out a conditions, when a client sends a READDIR instead of a READDIR+. I've found in the sources, that it happens once a directory size is bigger than 8 pages, but I tried to gradually remove files to the directory at the server and failed to return from READDIR to READDIR+.
- --

- ------------------------------------------------------------------------

 Leonid Podolny       |   /"\
                      |   \ /     ASCII Ribbon Campaign
 leonidp(at)gmail.com |    x      Against HTML Mail
 +972-54-5696948      |   / \
- ------------------------------------------------------------------------
PGP fingerprint:      51B2 F1DB 485E 2C48 2E17  94D1 7EC4 E524 B156 B9F0
PGP key:    http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB156B9F0

- ------------------------------------------------------------------------ -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFCmYjNfsTlJLFWufARAtdxAJ4zJcYKltNs9kOetnXk0OZysp7QpACghbZI lFMELBYrRgLbTPQTmdM5Dmo=
=qzvN
-----END PGP SIGNATURE-----

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs