1832751 Members
2788 Online
110045 Solutions
New Discussion

Re: Some question

 
Md. Alamgir Khan
Occasional Advisor

Some question

Hi
Please slove below questions-

1. In What situation would you normaly see the error "stale file handle"

2. The file system /opt is exported with read/write permissions to everyone. What portion of the /opt system can be NFS mounted?

3. How do you change the amount of swap space that may be configured on your system?

4. The recommended method of HP-UX from multi-user mode is?

thanks
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: Some question

1) When for some reason the NFS server has stopped responding to a client that has mounted filesystems.

2) 100% of course; though that is not the same as how SHOULD be exported -- especially if read/write. That fraction should probably be 0.

3) On versions prior to 11.23, increase the kernel tunable maxswapchunks; create the additional LVOL's (or device node is using whole disk as swap space). Modify /etc/fstab inserting the new swap entry; execute swapon.

4) I have no idea because there is no question.
If it ain't broke, I can fix that.
Dave Olker
Neighborhood Moderator

Re: Some question

Hi,

Clay has addressed all of the questions but I'd like to add a comment on #1.

I don't typically consider a non-responding server to be a "stale" file handle. If the server doesn't respond then you wouldn't get an ESTALE returned, you'd get a hung process and probably see some error messages that say "NFS Server ... not responding...".

An ESTALE is usually only returned for one of two reasons:

1) The file in question no longer exists on the server
2) The file in question is not exported on the server

If you're getting an ESTALE on a file that you were referencing (i.e. reading from or writing to) then either someone has unexported the filesystem where the file resides or (more likely) someone has deleted the file you were accessing.

I usually see this problem when some process is accessing a file on an NFS client and someone logs into the NFS server and deletes the local file in the exported filesystem of the server. There is nothing stoping someone from doing that, and you'll get a pretty immediate ESTALE error the next time the client tries to access the file.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo