Remount all NFS mounts to another cluster IP

mount | grep 10.0.0.73 | cut -f3 -d\  | xargs mount -o remount,rw,rsize=32768,wsize=32768,nfsvers=3,bg,intr,tcp,retrans=0,addr=10.0.0.74

Not much to say. This seems to work even when the disk is in use. Using it with Isilon to remount off of a quiesced node.

Advertisements

2 thoughts on “Remount all NFS mounts to another cluster IP”

  1. Didn’t work for me.
    old-ip: 192.168.6.33
    new-ip: 192.168.4.33
    mount -o remount,rw,rsize=32768,wsize=32768,nfsvers=3,bg,intr,tcp,retrans=0,addr=192.168.4.33 /mnt/san

    mount shows actually that the mount-option “addr=192.168.4.33” is being used, but tcpdump still shows that the nfs traffic still goes to the old ip.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s