Sponsored Content
Operating Systems Solaris NFS write error on host xyz: Stale NFS file handle - Solaris 10 Post 303005255 by hicksd8 on Monday 16th of October 2017 09:31:30 AM
Old 10-16-2017
If it's a reputable storage array/SAN then, no, it shouldn't happen baring power failures and the like. Dare I suggest that the network or storage team accidently did something that they shouldn't have?
This User Gave Thanks to hicksd8 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

NFS file handle

How can I kill mount connection(NFS , made by automount) if remote filesystem is down? I tried: fuser -ku /auto /auto: umount /auto nfs umount: ERROR: /auto is busy If I try cd /auto - I get - /auto: Stale remote file handle. I know that reboot will help but I cannot reboot this... (2 Replies)
Discussion started by: kazimir
2 Replies

2. UNIX for Advanced & Expert Users

Stale NFS file handle

Hi, I get an error saying "Stale NFS file handle" how can I solve this? Is it possible to do this with a umount/ mount command? (5 Replies)
Discussion started by: rein
5 Replies

3. Solaris

Error Message: find: cannot open /: Stale NFS file handle

I am using the "find" command below and it respond with the error message " find: cannot open /: Stale NFS file handle" what does it mean? what can I do about it? Need advice, thanks. below are the command that I enter, the respond and the error message: root@ScripServer:/# find / -name... (1 Reply)
Discussion started by: ezsurf
1 Replies

4. 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

5. UNIX and Linux Applications

Stale NFS file handle

There are a filesystem /GWD/appbase/projects/GRIDDB Under this filesystem there is a directory called backup. But When I am trying to access the backup directory ,it is showing me the following error: # cd /GWD/appbase/projects/GRIDDB # cd backup -bash: cd: backup: Stale NFS file handle ... (3 Replies)
Discussion started by: alphasahoo
3 Replies

6. Linux

NFS file handle question

Hello All, I have a small question regarding the NFS file handles. Suppose I have a NFS client who has requested for a particular file from the NFS server.Now lets assume that I am using a NFS v2 server. So I get the filehandle for that file and I can use it. Suppose later I upgrade the server to... (0 Replies)
Discussion started by: prathamesh
0 Replies

7. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies

8. UNIX for Advanced & Expert Users

How to decode nfs file handle in HP-UX?

Hi Experts, Any idea how to decode file handle in HP-UX? I am getting the following error continously in my HP-UX 11.31 box :mad: Apr 26 07:15:00 host62 su: + tty?? root-bb Apr 26 07:15:00 host62 su: + tty?? root-abcadm Apr 26 07:15:01 host62 vmunix: NFS write error on host peq9vs:... (1 Reply)
Discussion started by: vipinable
1 Replies

9. 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

10. AIX

NFS multiple write error.

Hi, We are taking the mksysb backup to NIM server's NFS mount point (/backup). We have mounted /backup to all the clients /backup and full permission. When multiple mksysb backup starting simultaneously to the NIM server's shared NFS mount point then only one backup is running and all others... (3 Replies)
Discussion started by: sunnybee
3 Replies
Class::ReturnValue(3pm) 				User Contributed Perl Documentation				   Class::ReturnValue(3pm)

NAME
Class::ReturnValue - A return-value object that lets you treat it as as a boolean, array or object DESCRIPTION
Class::ReturnValue is a "clever" return value object that can allow code calling your routine to expect: a boolean value (did it fail) or a list (what are the return values) EXAMPLE
sub demo { my $value = shift; my $ret = Class::ReturnValue->new(); $ret->as_array('0', 'No results found'); unless($value) { $ret->as_error(errno => '1', message => "You didn't supply a parameter.", do_backtrace => 1); } return($ret->return_value); } if (demo('foo')){ print "the routine succeeded with one parameter"; } if (demo()) { print "The routine succeeded with 0 paramters. shouldn't happen"; } else { print "The routine failed with 0 parameters (as it should)."; } my $return = demo(); if ($return) { print "The routine succeeded with 0 paramters. shouldn't happen"; } else { print "The routine failed with 0 parameters (as it should). ". "Stack trace: ". $return->backtrace; } my @return3 = demo('foo'); print "The routine got ".join(',',@return3). "when asking for demo's results as an array"; my $return2 = demo('foo'); unless ($return2) { print "The routine failed with a parameter. shouldn't happen.". "Stack trace: ". $return2->backtrace; } my @return2_array = @{$return2}; # TODO: does this work my @return2_array2 = $return2->as_array; METHODS
new Instantiate a new Class::ReturnValue object as_array Return the 'as_array' attribute of this object as an array. as_array [ARRAY] If $self is called in an array context, returns the array specified in ARRAY as_error HASH Turns this return-value object into an error return object. TAkes three parameters: message do_backtrace errno 'message' is a human readable error message explaining what's going on 'do_backtrace' is a boolean. If it's true, a carp-style backtrace will be stored in $self->{'backtrace'}. It defaults to true errno and message default to undef. errno _must_ be specified. It's a numeric error number. Any true integer value will cause the object to evaluate to false in a scalar context. At first, this may look a bit counterintuitive, but it means that you can have error codes and still allow simple use of your functions in a style like this: if ($obj->do_something) { print "Yay! it worked"; } else { print "Sorry. there's been an error."; } as well as more complex use like this: my $retval = $obj->do_something; if ($retval) { print "Yay. we did something "; my ($foo, $bar, $baz) = @{$retval}; my $human_readable_return = $retval; } else { if ($retval->errno == 20) { die "Failed with error 20 (Not enough monkeys)."; } else { die $retval->backtrace; # Die and print out a backtrace } } errno Returns the errno if there's been an error. Otherwise, return undef error_message If there's been an error return the error message. backtrace If there's been an error and we asked for a backtrace, return the backtrace. Otherwise, return undef. error_condition If there's been an error, return undef. Otherwise return 1 AUTHOR
Jesse Vincent <jesse@bestpractical.com> BUGS
This module has, as yet, not been used in production code. I thing it should work, but have never benchmarked it. I have not yet used it extensively, though I do plan to in the not-too-distant future. If you have questions or comments, please write me. If you need to report a bug, please send mail to <bug-class-returnvalue@rt.cpan.org> or report your error on the web at http://rt.cpan.org/ COPYRIGHT
Copyright (c) 2002,2003,2005,2007 Jesse Vincent <jesse@bestpractical.com> You may use, modify, fold, spindle or mutilate this module under the same terms as perl itself. SEE ALSO
Class::ReturnValue isn't an exception handler. If it doesn't do what you want, you might want look at one of the exception handlers below: Error, Exception, Exceptions, Exceptions::Class You might also want to look at Contextual::Return, another implementation of the same concept as this module. perl v5.8.8 2007-08-29 Class::ReturnValue(3pm)
All times are GMT -4. The time now is 09:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy