I'd like to make a wrapper bash script that will make sure that an nfs mount is mounted before launching a program that depends on the mount being active. Basically:
1) Check to see if the mount is active
2) If it's not active, try to mount it
3) If it won't mount because the nfs server is down, wait 45 s then try again looping indefinitely until the nfs server is up
4) Once the mount is active, run a program and exit
Can someone help me out? Here is the line to the mount in question from my /etc/fstab
We have 6 hard disks attached to the hardware. Of this 2 hard disks are of 9 GB each.
Now I want combine both the same in such a way that i see a combined entry in the output of df -k .
The steps I follow are
1. Create partition on hard disks (Using format partition)
2. Run newfs -v for... (6 Replies)
Hello ,
I 've got a problem with the root partition on my SCO 5.0.5 .
When I check the disk with df or mount , I can 't see the root filesystem .
# mount
/stand on /dev/boot read only on Tue Sep 05 16:13:51 2006
/home on /dev/home read/write on Tue Sep 05 16:14:41 2006
But , if I try... (3 Replies)
Hello all,
We're using JET to build our systems.. I'm in the process of needing to build a centrally located JET box with access to all our networks rather that 2 or 3 dotted around. Part of the means I need to locate the boot & OS images on an NFS mount (via NETAPP filer)..
However in the... (1 Reply)
Hi,
I have some issue with the mounting/unmounting on my sun solaris box.
Actually their is one script that mount the file system take the backup of databases and unmount the file system.Last week this script failed to mount the file system with the below error message:
+ echo fs_check.sh:... (1 Reply)
Hi, to all
I'm writing script with zenity to benchmark selected disk with tools like; hdparm, seeker (to found in here > How fast is your disk? | LinuxInsight)
With this piece of code i try to get all mounted devices to variables to use it with selection menu, but i stuck and don't know how... (5 Replies)
Hi ,
I am completely stuck and not getting any clue to come out this . So looking for help
Q : I have salaries 10 in server with that Dell Equallogic storage connected.
in dell Equlalogic in i have 70 TB storage .
I created 7 volumes 10 TB each .
In Solaries 10 i have syslog server i... (1 Reply)
Hi
I have the following piece of code, running on a solaris 10 O.S., that is not working for NFS file systems:
for vol in `grep -E 'vxfs|ufs|nfs' /etc/vfstab | egrep -v '^#' | awk '{ print $3 }'`
do
if df -k $vol | grep $vol > /dev/null
then
outputOK "Filesystem: $vol mounted"
else... (1 Reply)