cancel
Showing results for 
Search instead for 
Did you mean: 

extend file system nfs

gigiz
Valued Contributor

extend file system nfs

I guys,
i have a file system veritas exported in nfs to 20 client.
/dev/vx/dsk/siebelfs_vg/sieb_03
104773632 66635875 35754423 65% /siebelfs

I need to extend this file system from 100 Gb to 500 Gb.The extension of file system can be do without umount file system.
The extension of file system can be done without stop NFS? Can i have problem on the client?
I need to stop nfs ?

3 REPLIES
Steven E. Protter
Exalted Contributor

Re: extend file system nfs

Shalom,

If you have online JFS installed on the NFS server, you should be able to use fsadm to extend the file system.

I see no reason why NFS could have a problem with this, but you may get an error from fsadm. I doubt that though.

The interestesting question is what happens to the NFS client. Does it recognize the additional space or does the nfs client have to be bounced.

I'm confident online JFS fsadm can to the extension without downtime, thats what its for.

It is reasonable to go forward with this, but be prepared to restart the NFS clients.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Johnson Punniyalingam
Honored Contributor

Re: extend file system nfs

>>>I need to extend this file system from 100 Gb to 500 Gb.The extension of file system can be do without umount file system.<<<

Yes - You can if you have Online JFS installed

lvextend -L /dev/vgxx/lvolxx

fsadm -F vxfs -b M /mount_point

if no Online Jfs installed instuded of fsadm

you need to do extendfs

umount /
lvextend -L /dev/vgxx/lvolxx
extendfs -F vxfs /dev/vgXX/rlvolXX


>>The extension of file system can be done without stop NFS?
Can i have problem on the client?
I need to stop nfs ?<<<<

You no need to stop NFS - for extending the file system. But you need umount /nfs-mount-point in all your nfs clients

For more Information & Steps

Check the below Thread

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1257520709941+28353475&threadId=1339657

Regards,
Johnson

Problems are common to all, but attitude makes the difference
Dave Olker
HPE Pro

Re: extend file system nfs

I've tried this experiment before with HP-UX NFS clients (11i v1, v2, v3) and those clients were able to see the expanded filesystem without having to unmount and remount. Once the server extended the filesystem, a bdf on the client showed the new available size of the extended filesystem.

I cannot speak for how other NFS clients would behave in this case.

Regards,

Dave