• December 05, 2020, 02:36:26 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: NFS is buggy  (Read 5621 times)

vannjamahn

  • Level 1 Member
  • *
  • Posts: 4
NFS is buggy
« on: February 05, 2010, 06:32:40 PM »

I'd already updated my DNS-343 to version 1.03 to get NFS working, and it's really solid. From that experience I thought I'd give the latest beta of 1.08 a try on my DNS-323. The base 1.08 beta version seems solid enough, but the NFS addon is broken. The DNS-323 will lose directory entries on active mounts. The more read IO that you perform, the more files and folders get lost.

#mount -o proto=tcp,vers=3 192.168.130.2:/mnt/HD_a2 /mnt
#find /mnt/EQ > /tmp/EQlist
#tar cfp /dev/null /mnt/Music
#find /mnt/EQ > /tmp/dns323list
find: stat() error /mnt/EQ/maps: No such file or directory
find: stat() error /mnt/EQ/uifiles/default: No such file or directory
find: stat() error /mnt/EQ/sounds: No such file or directory
#tar cfp /dev/null /mnt/Music
tar: /mnt/Music/mp3/jazz: No such file or directory
#find /mnt/EQ > /tmp/dns323list
find: stat() error /mnt/EQ/maps: No such file or directory
find: stat() error /mnt/EQ/voice/default: No such file or directory
find: stat() error /mnt/EQ/Resources/Sky: No such file or directory
find: stat() error /mnt/EQ/SpellEffects: No such file or directory
find: stat() error /mnt/EQ/uifiles/default: No such file or directory
find: stat() error /mnt/EQ/sounds: No such file or directory
#


There are two ways to get the files/folders to "reappear" to NFS clients.

1. Unmounting and remounting the NFS share.
2. Navigating to the parent folders of the missing items using a CIFS client.

#umount /mnt
#mount -o proto=tcp,vers=3 192.168.130.2:/mnt/HD_a2 /mnt
#find /mnt/EQ > /tmp/dns323list
#ls -ldn /mnt/EQ/maps
drwxrwxrwx   2 501      501        45056 Feb  4 00:39 /mnt/EQ/maps
#


(lots of CIFS read I/O now from the DNS-323)

#find /mnt/EQ > /tmp/dns323list
find: stat() error /mnt/EQ/voice/default: No such file or directory
#

The problem always comes back after lots of read I/O, most of the time with the same files disappearing, occationally with different ones. More often than not, it's the same set of files/folders that disappear.

I've tried reformatting and resetting the DNS-323 to defaults; there is no effect. It doesn't seem to matter if the files are copied to the DNS-323 using CIFS/FTP/NFS.

The same behavior has been reproduced using Solaris 10 and x86 Linux NFS clients, with both UDP and TCP, with both version 2 and version 3 of the NFS protocol.

When examining the same folders from a CIFS client, the files/folders are always present; even when NFS shows they're missing. Once you navigate via CIFS into the parent folders of the missing items, they are once again visible via NFS.



Logged

rori

  • Level 1 Member
  • *
  • Posts: 12
Re: NFS is buggy
« Reply #1 on: February 07, 2010, 10:24:20 AM »

I can confirm temporarly disappearing NFS folders as described.

What I did:
Mass-update of ID3-Tags on a NFS share using EasyTag on mnt/HD_a2/Albums

Then, in Nautilus, the Folder "Albums" disappeared.

After Stopping and restarting the NFS-Plugin and a remount on the NFS-client, things were back to normal.

DNS-323 with firmware 1.08b08
Haddrives mirrored, EXT3 formatted, NFS Plugin enabled.
Code: [Select]
Vendor: SAMSUNG   Model: HD154UI           Rev: 1AG0
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: SAMSUNG   Model: HD154UI           Rev: 1AG0
  Type:   Direct-Access                      ANSI SCSI revision: 03


NFS-Client:
Code: [Select]
Ubuntu 9.10 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux

fstab entry:
Code: [Select]
192.168.0.3:/mnt/HD_a2 /media/fatboyslim nfs rsize=8192,wsize=8192,timeo=14,intr

Please give the NFS plugin on more look before releasing the final version.
Logged
DNS-323 / firmware 1.08b9
fonz funplug ffp:v0.5
firefly: svn-1735 with ogg and flac support streaming to Pinnacle Soundbrigde Home Music firmware 3.0.52
HDD: 2x1,5 TB Samsung HD154UI Rev: 1AG0 in RAID1-mode

vannjamahn

  • Level 1 Member
  • *
  • Posts: 4
Re: NFS is buggy
« Reply #2 on: February 16, 2010, 06:12:00 PM »

Still equally broken under 1.09beta1
Logged

rori

  • Level 1 Member
  • *
  • Posts: 12
Re: NFS is buggy
« Reply #3 on: February 22, 2010, 10:50:41 AM »

Could someone from D-Link please comment on this?

Will fixing the problems with the NFS-plugin be prioritized?
Logged
DNS-323 / firmware 1.08b9
fonz funplug ffp:v0.5
firefly: svn-1735 with ogg and flac support streaming to Pinnacle Soundbrigde Home Music firmware 3.0.52
HDD: 2x1,5 TB Samsung HD154UI Rev: 1AG0 in RAID1-mode