gdha / lnxutils Goto Github PK
View Code? Open in Web Editor NEWA collection of various Linux utilities
License: GNU General Public License v3.0
A collection of various Linux utilities
License: GNU General Public License v3.0
#-> /opt/ncsbin/lnxutils/nfs_stale_handle_check.sh
df: ‘/app/tdrive’: Stale file handle
df: ‘/app/tdrive’: Stale file handle
#-> bash -x /opt/ncsbin/lnxutils/umount_stale_nfs_fs.sh
+ Stale_nfs_script=/opt/ncsbin/lnxutils/nfs_stale_handle_check.sh
+ PATH=/usr/xpg4/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:/usr/sbin:/sbin:/opt/ncsbin/lnxutils:./bin
+ PROGRAM=/opt/ncsbin/lnxutils/umount_stale_nfs_fs.sh
++ basename /opt/ncsbin/lnxutils/umount_stale_nfs_fs.sh
+ PRGNAME=umount_stale_nfs_fs.sh
+ DEBUG=
+ mailusr=
++ date +%Y%m%d-%H:%M
+ LOGFILE=/var/tmp/umount_stale_nfs_fs-20200321-09:42.log
+ _whoami
++ whoami
+ '[' root '!=' root ']'
+ getopts :m:dhv opt
+ tee /var/tmp/umount_stale_nfs_fs-20200321-09:42.log
+ case $(uname -s) in
++ uname -s
+ umount_stale_nfs_on_linux
+ /opt/ncsbin/lnxutils/nfs_stale_handle_check.sh
+ read LINE
df: ‘/app/tdrive’: Stale file handle
df: ‘/app/tdrive’: Stale file handle
+ [[ ! -z '' ]]
Due to the changes made in the nfs_stale_handle_check.sh script the output is not picked up in the /opt/ncsbin/lnxutils/umount_stale_nfs_fs.sh script.
Error: Package: lnxutils-2.0-1.el7.x86_64 (installed)
Requires: /usr/bin/ksh
Removing: ksh-20120801-22.el7_1.2.x86_64 (@RHEL7.2-base-x86_64)
Not found
Updated By: ksh-20120801-22.el7_1.3.x86_64 (RHEL7.2-GPB-Nov-2016)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
we execute mount -t nfs
which does not show NFS4 type fs - we should better execute mount | grep 'type nfs'
which capture both
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.