Serious NWFS problems ...

Feczak Szabolcs feczo at geek.hu
Fri Apr 23 06:23:47 PDT 2004


Hi, 

The problem first occured with rsync :
link_stat "/mnt/nwfs/." failed: No such file or directory
rsync error: some files could not be transferred (code 23) at main.c(632)

But I have figured out that is not rsync specific problem, 
I can reproduce the error, with basic system tools, such as cp

Here it is:
/NWSERVER:ADMIN/SDI is mounted on /mnt/nwfs (nwfs)

First test:

$ file /mnt/nwfs/.                                                                 
/mnt/nwfs/.: directory
# that is okay so far
$ ls -l /tmp/testfile*                                                           
-rw-r--r--  1 root  wheel  2525 Apr 23 15:06 /tmp/testfile1
-rw-r--r--  1 root  wheel  2525 Apr 23 15:06 /tmp/testfile2
$ file /tmp/testfile*                                                             
/tmp/testfile1: ASCII English text
/tmp/testfile2: ASCII English text
$ cp /tmp/testfile1 /mnt/nwfs
$ cp /tmp/testfile2 /mnt/nwfs
# here something wicked happend, since :
$ file /mnt/nwfs/.                                                                 
/mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory).


Second test:

$ ls -l /mnt/nwfs/a
total 16
drwxr-xr-x  1 root  wheel  16384 Apr 23 14:28 b
$ rm /mnt/nwfs/a/*
zsh: sure you want to delete all the files in /mnt/nwfs/a [yn]? y
rm: /mnt/nwfs/a/b: is a directory
$ umount /mnt/nwfs 
umount: unmount of /mnt/nwfs failed: Device busy
$ umount /mnt/nwfs
# Second umnount is successeded
# though if I execute rm, than sleep 2 for example, then
# first umount also fails

-- 
  _(_)_
 (_. o_)            F3CZ0
   (_,)     http://feczo.nmi.rulez.org
  (    )    __________________________
  // //



More information about the freebsd-questions mailing list