Problem with NFS and new SUSE installs
Posted: Fri Jan 23, 2015 12:51 pm
Running
ViciBox Redux v.6.0.1-140722
I am posting this to see if anyone has a solution other than modifying the AST_update.cgi script.
We use an NFS mounted archive server for various things on all the dialing machines in a cluster. Normally when the NFS mounted machine goes offline, such as maintenance, that drive becomes inaccessible.
This is not a problem as the dialer continues to run, unless you try to stat the NFS drive, example df, however df -x nfs normally ignores these NFS mounted drives.
BUT now 'df -x nfs' does not ignore them! YIKES AST_update.cgi uses that exactly and when it does it locks hard. I can kill the df process but it just happens again.
I found out if you do 'mount' and look for the mount type it has 'nfs4' and therefore df -x nfs still reads it, YIKES!
However 'df -x nfs4' does do the job, there for I have to edit line 684 from:
to:
Next update it will be wiped out. How do I get this to work correctly?
ViciBox Redux v.6.0.1-140722
I am posting this to see if anyone has a solution other than modifying the AST_update.cgi script.
We use an NFS mounted archive server for various things on all the dialing machines in a cluster. Normally when the NFS mounted machine goes offline, such as maintenance, that drive becomes inaccessible.
This is not a problem as the dialer continues to run, unless you try to stat the NFS drive, example df, however df -x nfs normally ignores these NFS mounted drives.
BUT now 'df -x nfs' does not ignore them! YIKES AST_update.cgi uses that exactly and when it does it locks hard. I can kill the df process but it just happens again.
I found out if you do 'mount' and look for the mount type it has 'nfs4' and therefore df -x nfs still reads it, YIKES!
However 'df -x nfs4' does do the job, there for I have to edit line 684 from:
- Code: Select all
@serverDISK = `$dfbin -B 1048576 -x nfs -x cifs -x sshfs -x ftpfs`;
to:
- Code: Select all
@serverDISK = `$dfbin -B 1048576 -x nfs -x nfs4 -x cifs -x sshfs -x ftpfs`;
Next update it will be wiped out. How do I get this to work correctly?