Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2004 15:23:41 +0200
From:      Feczak Szabolcs <feczo@geek.hu>
To:        freebsd-questions@freebsd.org
Subject:   Serious NWFS problems ...
Message-ID:  <20040423132341.GA55591@nmi.rulez.org>

next in thread | raw e-mail | index | archive | help
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
  (    )    __________________________
  // //



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