Re: Relocate NFS root FS for maintenance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 01, 2010 at 02:17:45PM +0200, Greg wrote:
>  Hi,
> 
> I don't know if it is the good place to ask for such a problem, if
> not please apologize.
> 
> I have a pseudo active/active NFSv4 configuration: 2 NFSv4 servers
> (1:1.1.2-6lenny1), exporting 3 filesystems. Each filesystem are
> connected to a SAN volume, via iscsi and multipath.
> 
> filer-01 :
> /var/local
> 10.0.0.0/16(rw,fsid=0,crossmnt,insecure,async,no_subtree_check)
> /var/local/large
> 10.0.0.0/16(rw,insecure,async,no_subtree_check,no_root_squash,fsid=3)
> 
> filer-02 :
> /var/local
> 10.0.0.0/16(rw,fsid=0,crossmnt,insecure,async,no_subtree_check)
> /var/local/small
> 10.0.0.0/16(rw,insecure,async,no_subtree_check,no_root_squash,fsid=1)
> /var/local/medium
> 10.0.0.0/16(rw,insecure,async,no_subtree_check,no_root_squash,fsid=2)
> 
> filer-01 share a volume on the first SAN, filer-02 share 2 volumes
> on the second SAN.
> 
> I have to do a firmware upgrade on the SANs, so I have to umount
> /var/local/* on the nfs servers. On way could be to relocate NFS
> root FS from /var/local to /var/maintenance with empty directories
> large, medium and small
> But how to do that ? I try to change /etc/exports then exportfs
> -rvf, but got "Stale NFS file handle" on clients...
> 
> If not, is there a better way to do that, without to shutdown NFS servers ?

I'm a little confused as to what you actually want to happen.  Clearly
clients can't continue as usual, because you're taking all the storage
away.  So presumably you expect the clients to just hang till the
upgrade is done?  If so, why not just shut down the servers?

--b.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux