I have a server with a large RAID partition on it.
The raid partition is split into a few directories which are then shared individually via NFS.
Unfortunately the whole array is filling up and I need to do a little bit of juggling till I can upgrade the whole array to new disks.
I have therefore added some spare available drives to make a second array on the same machine, I do not want to share this array via NFS as that would require reconfiguring the clients and then reconfiguring them back when the change gets unwound.
So what I wanted to do is move one of the directories from the original Array (Array 1) to the new temporary Array (Array 2) and set a symbolic link thus....
ln -s /mnt/path/to/array1 /mnt/path/to/array2
This gets seen and works fine on the server but of course as the clients can't see /mnt/path/to/array2 they fail.....
NFS does not allow you to cross mount points, which it appears your symbolic links are doing. Are the clients NFS mounting /mnt/path/to/array1? Or /mnt/path/to/array1/directory7? Is this configured on the clients as a static mounted (in /etc/*fstab) or automounted share?
You are not going to like it, but you are going to have to go with reconfiguring each client. You'll just have to decide if you are going to go with an automount option, or (if your system supports binding mounts), change to a per-directory scheme, something like:
To support this, you would have to add the following in /etc/fstab on your server (in blue):
And change /etc/exports to share out each directory properly.
Just update /etc/fstab when you move directoryN.
This User Gave Thanks to m.d.ludwig For This Post:
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Hello, I have a question regarding ACLs and their availability across different Unix platforms via NFS share.
If I have an AIX/FreeBSD/Solaris/HP-UX client that has an nfs share from a different system mounted on it, will the ACLs on the nfs share be processed properly?
My guess is that as... (2 Replies)
Hi
we have couple of nfs mounts between various linux servers. Recently i was wondering how to improve the performance by altering the parameters "msize" and "rsize" for nfs.
In my machine i have determined the NFSSVC_MAXBLKSIZE_V2 = 8*1024 but kernel 2.6 supports upto 32k Optimizing NFS... (0 Replies)
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)
Hi all
in my server all nfs dependices are online but nfs client is offline
root@BIWAPP1 # svcs -a|grep nfs
disabled Sep_05 svc:/network/nfs/server:default
online Sep_05 svc:/network/nfs/rquota:default
online Sep_05 svc:/network/nfs/mapid:default
online ... (9 Replies)
Got a situation where some people in the network using Linux would like local admin rights. People have admin rights in Windows and the Linux users want more flexibility.
They need to be able to mount some nfs drives.
If they have local admin rights, even with root squash set for the nfs... (5 Replies)
: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)