ncpfs exported via NFS mystery

ncpfs exported via NFS mystery

Post by Bryon G. Ri » Tue, 06 Aug 1996 04:00:00

Has anyone else come across this?

I am running Linux 2.0 and ncpfs 2.0.4 on a 386DX25.  I have mounted my
Netware volumes as /netware/ntc.  I am running my NFS deamons (mountd and
nfsd) with the -r option.  /netware/ntc is in the exports file.

On Linux, everything looks good.

I mount the filesystem on my HP-UX 10 machine and on the surface everything
looks good.  Lets say I have 26 files in a directory, a through z.  If I open
the file g, the data looks good.  If I open the file d, I get the contents of
file g.  If I open file s, everything looks good.  This seems to me to be
a problem with ncpfs and NFS on the Linux platform.  Has anyone seen this
behavior?  Is there a fix?

Thanks in advance,



1. Can't unmount volume which was once exported via NFS


Starting with 2.5.72-bk, I've been hit again by the old "umount:
/volume: device is busy" bug when trying to unmount an ext3 volume which
once was being exported via NFS.

To reproduce the problem, I compiled 2.5.72-bk3 with the configuration
file attached an plugged it on a RHL9 box. To reproduce the bug, I
exported my "/data" volume:

[snip from /etc/fstab]
/dev/hda3        /data           ext3    defaults,noatime        1 2

as follows:

[snip from /etc/exports]
/data ,no_root_squash)


# mount
/dev/hda3 on /data type ext3 (rw,noatime)
# /etc/init.d/nfs start
# /etc/init.d/nfs stop
Shutting down NFS mountd
Shutting down NFS daemon
nfsd: last server has exited
nfsd: unexporting all filesystems
# umount /data
umount: /data: device is busy
# lslk
(unknown) 2235 3,2 1004050     w 0  0  0   0   0 / (rootfs)
atd       2279 3,2 1005324  5  w 0  0  0   0   0 /var/run/
# lsof|grep data
# dmesg
<Nothing interesting here, I think>

Any ideas what's going on here? This old bug friend of mine disappeared
at 2.5.69 (if my memory serves me well), but something has caused it to
appear again.


18K Download

2. saenv5.01 - SysAd Environment (OS_Research/Backup) Suite

3. Export DOS partitions via NFS

4. Using Make to detect an OS version?

5. Problem when exporting CDROM via NFS

6. THANK YOU Red Hat

7. exporting non-existing directories via nfs

8. Direct Links to Inet

9. Exporting CD-ROM via NFS

10. SATAN and nfs exports via portmapper

11. exporting cdrom via NFS

12. mounting hsfs/vold exported by Sol10 on Sol8 via nfs

13. Automount FS re-exported via NFS fails