Sponsored Content
Full Discussion: NFS file/dir disappear issue
Operating Systems Solaris NFS file/dir disappear issue Post 71886 by motor98 on Monday 16th of May 2005 09:05:25 PM
Old 05-16-2005
NFS file/dir disappear issue

We have bunch of Sun Sparc workstations(solaris 7 & 8) connecting to a linux file server with NFS exports. Recently we upgraded our file server from fedora core1 to redhat enterprise linux 4. And since then we are experiencing a nightmare of file/dir missing. It happens randomly, couple of times every day, on almost all the workstations, and it happened on random directories. The workstations just think that those dirs doesn't exist. but actually on the server we can see those directories.

The weird thing is, the missing dir/file can automatically come back after like 30 minutes. or if we do a "ls -LR" from the server, the dir will reappear on the client side.

We don't have firewall in our intranet, and I have turned off SELinux on the redhat linux side. The clients/workstations are all permanently mounted those dirs, not automount.

We don't know if we need to change some parameters from either server side or client side. Any suggestion is highly welcomed.

Thanks,
motor98
 

10 More Discussions You Might Find Interesting

1. Solaris

NFS write error on host : Stale NFS file handle

:confused:Hi all When i see in the /var/adm/messages, i saw the following error unix: NFS write error on host : Stale NFS file handle. unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49) It is using sunOS 5.7. Is anybody know what is this error? Is is related to any network... (2 Replies)
Discussion started by: AirWalker83
2 Replies

2. UNIX for Dummies Questions & Answers

Copying dir (and sub dir) file names from ftp server to txt file in diff server

Hey all, i want to copy only the file names from an ftp server (directory and all sub directory) to a text file in another server (non ftp), i.e. i want to recursively move through directories and copy only the names to a text file. any help is appreciated...thank you in advance (1 Reply)
Discussion started by: deking
1 Replies

3. Solaris

home dir mount issue

Hi all, I have to mount my home directory in one box, by default everyone's home directory will mount in all unix boxes which we have. But we have unmounted these home directories from some boxes to keep the data as safe. So for automation purpose i need my home directory only in those boxes to... (2 Replies)
Discussion started by: raghu.iv85
2 Replies

4. Shell Programming and Scripting

Issue with CD to a hidden dir

I have written a script to secure delete all files in a quarantine folder and my Trash folder. All the commands run trough Terminal via the script. The problem I am having is when I am changing the directory to the hidden Trash folder. When I do cd /Users/WatsonN/.Trash all it does is take it to... (2 Replies)
Discussion started by: WatsonN
2 Replies

5. UNIX for Dummies Questions & Answers

How to list all files in dir and sub-dir's recursively along with file size?

I am very new to unix as well as shell scripting. I have to write a script for the following requirement. In have to list all the files in directory and its sub directories along with file path and size of the file Please help me in this regard and many thanks in advance. (3 Replies)
Discussion started by: nmakkena
3 Replies

6. Windows & DOS: Issues & Discussions

VxWorks - W2003 issue loading file from NFS share

We recently replaced an existing Windows Server 2000 with a Windows Server 2003. The server‘s primary function is file/print in our development environment. One of the directories is shared using NFS. All compiled software is kept in this share (we use C & C++). The generated “.out” and “.ndb”... (0 Replies)
Discussion started by: BigBuff52
0 Replies

7. HP-UX

NFS Client unable to access shared DIR's

I ve a client : <clientname> and a server: <servername> Both of them running: HPUX B.11.31 SERVER outputs: I ve shared a folder in <servername> called /test and the O/P for # exportfs - /test root=<clientname>,rw=<clientname>,ro "" # showmount -e export list for... (6 Replies)
Discussion started by: Amit Kulkarni
6 Replies

8. Shell Programming and Scripting

Create file Dir and Sub Dir same time

Hi Guys , I want create files Dire and Sub Dire. as same time using variable. EX: x1="/hk/Pt/put/NC/R1.txt" x2="/hk/pt/Put/Ot/NC/RN.txt" And i want delete all after done with my script. Thanks (2 Replies)
Discussion started by: pareshkp
2 Replies

9. Shell Programming and Scripting

Access Issue - dir and script

Hi All, I got access in UNIX box from our client. I am able to create folder, files, script etc.. in that folder. here is the issue: my login/base folder is = /home/ace I have created 2 folders within it Script ScriptLog in Script folder i have created 2 .ksh file ... (1 Reply)
Discussion started by: ace_friends22
1 Replies

10. UNIX for Advanced & Expert Users

What is a file handle? for NFS troubleshooting stale issue.

Experts, Can any one please explain about a "File Handle" , what it is. Can we see it, like an inode number. - Also what is the significance of it in "Stale NFS file handle" error. Thanks, (3 Replies)
Discussion started by: rveri
3 Replies
TAPSET::NFSD(3stap)													       TAPSET::NFSD(3stap)

NAME
tapset::nfsd - systemtap NFS server side probe points DESCRIPTION
This family of probe points is used to probe NFS activities on server side. Because there is only one function, i.e., nfsd4_proc_compound in proc level for NFSv4, all the following nfsd.proc probe points except nfsd.proc.compound are only for NFSv2 and NFSv3. It contains the following probe points: nfsd.proc.lookup Fires whenever client opens/searches file on server Arguments: client_ip the ip address of client proto transfer protocol version nfs version fh the pointer to file handler of parent dir filename file name filelen the length of file name nfsd.proc.read Fires whenever client reads file on server Arguments: client_ip the ip address of client proto transfer protocol version nfs version fh the pointer to file handler of file count,size number of bytes to be read offset the offset of file vec struct kvec, includes buf address in kernel address and the length of each buffer vlen number of blocks to be read nfsd.proc.write Fires whenever client writes data to file on server Arguments: client_ip the ip address of client proto transfer protocol version nfs version fh the pointer to file handler of file count,size number of bytes to written offset the offset of file vec struct kvec, includes buf address in kernel address and the length of each buffer vlen number of blocks to written stable argp->stable(only for nfs.proc3.write) nfsd.proc.commit Fires whenever client does a commit operation Arguments: client_ip the ip address of client proto transfer protocol version nfs version fh the pointer to file handler of file count,size number of bytes to written offset the offset of file nfsd.proc.create Fires whenever client creates a file on server Arguments: client_ip the ip address of client proto transfer protocol version nfs version fh the pointer to file handler of parent dir filename file name filelen the length of file name nfsd.proc.remove Fires whenever client removes a file on server Arguments: client_ip the ip address of client proto transfer protocol version nfs version fh the pointer to file handler of file filename file name filelen the length of file name nfsd.proc.rename Fires whenever client renames a file on server Arguments: client_ip the ip address of client proto transfer protocol version nfs version fh the pointer to file handler of old path tfh the pointer to file handler of new path filename old file name tname new file name filelen the length of old file name tlen the length of new file name nfsd.proc.compound Fires whenever server receives a NFSV4 operation from client Arguments: client_ip the ip address of client proto transfer protocol version nfs version num number of file operation op head of operation list nfsd.open Fires whenever server opens file Arguments: fh file handle (the first part is the length of the file handle) access type of open (read/write/commit/readdir...) type type of file(regular file or dir) nfsd.read Fires whenever server reads file Arguments: fh file handle (the first part is the length of the file handle) file argument :file, indicates if the file has been opened. count,size number of bytes to be read offset the offset of file vec struct kvec, includes buf address in kernel address and the length of each buffer vlen number of blocks to be read nfsd.write Fires whenever server writes file Arguments: fh file handle (the first part is the length of the file handle) file argument :file, indicates if the file has been opened. count,size number of bytes to be read offset the offset of file vec struct kvec, includes buf address in kernel address and the length of each buffer vlen number of blocks to be written nfsd.commit Fires when server commits all pending writes to stable storage Arguments: fh file handle (the first part is the length of the file handle) count,size number of bytes to be read offset the offset of file nfsd.lookup Fires whenever client opens/searches file on server Arguments: fh file handle (the first part is the length of the file handle) filename file name filelen the length of file name nfsd.create Fires when client creates a file(regular,dir,device,fifo) on server side, sometimes nfsd will call nfsd_create_v3 instead of this function Arguments: fh file handle (the first part is the length of the file handle) filename file name filelen the length of file name type file type(regular,dir,device,fifo ...) iap_valid Attribute flags iap_mode file access mod nfsd.createv3 Fires when client creates a regular file or set file attributes on server side, only called by nfsd3_proc_create and nfsd4_open (op_claim_type is NFS4_OPEN_CLAIM_NULL) Arguments: fh file handle (the first part is the length of the file handle) filename file name filelen the length of file name iap_valid Attribute flags iap_mode file access mode createmode create mode. The possible values could be: NFS3_CREATE_EXCLUSIVE, NFS3_CREATE_UNCHECKED, NFS3_CREATE_GUARDED truncp trunp arguments, indicates if the file should be truncated verfier file attributes (atime,mtime,mode). It's used to reset file attributes for CREATE_EXCLUSIVE nfsd.unlink Fires when client removes a file or a dir on server side, Arguments: fh file handle (the first part is the length of the file handle) filename file name filelen the length of file name type file type(file or dir) nfsd.rename Fires when clients rename a file on server side Arguments: fh file handler of old path tfh file handler of new path filename old file name tname new file name flen length of old file name tlen length of new file name nfsd.close Fires whenever server closes file Arguments: filename file name nfsd.dispatch Fires whenever server receives NFS operation from client Arguments: client_ip the ip address of client proto transfer protocol version nfs version xid transmission id prog program number proc procedure number SEE ALSO
stap(1), stapprobes(3stap) IBM
TAPSET::NFSD(3stap)
All times are GMT -4. The time now is 08:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy