Operating System - HP-UX
1844669 Members
2526 Online
110233 Solutions
New Discussion

Extend a filesystem in cluster.

 
SOLVED
Go to solution
castro_2
Regular Advisor

Extend a filesystem in cluster.

How can I extend a filesystem online that belows a vg in cluster (sevice Guard)
Thanks
3 REPLIES 3
RAC_1
Honored Contributor
Solution

Re: Extend a filesystem in cluster.

To extend the file system online, you need to have OnlineJFS product installed.

swlist|grep -i OnlineJFS
If yes,

lvextend -L "new_size_in_MB" /dev/vgxx/lvolx
fsadm -F vxfs -b "size_in_MB" /mount_point_of_FS

If not unmount FS, do lvextend, and then extendfs.
If you add a PV to extend the FS, then
On active node,
vgexport -ps -v -m /tmp/vgxx.map /dev/vgxx
Put the file /tmp/vgxx.map to another node.
vgexport /dev/vgxx
mkdir /dev/vgxx
mknod /dev/vgxx/group c 64 0x0y0000
y-vg no.
vgimport -v -s -m /tmp/vgxx.map /dev/vgxx

Anil
There is no substitute to HARDWORK
castro_2
Regular Advisor

Re: Extend a filesystem in cluster.

Thanks, but when unmount the filesystem, I can stop de packet the cluster?.

Sundar_7
Honored Contributor

Re: Extend a filesystem in cluster.

You donâ t necessarily have to halt the package to unmount the file system unless otherwise you have some kind of filesystem monitor defined to halt the package incase of unavailability of a file system.

If you managed to get rid of all the processes using the file system, you could umount, extend and mount it back again even when the package is online.

As Anil has mentioned above, anything that will change the volume group composition will require a vgexport and vgimport.
Learn What to do ,How to do and more importantly When to do ?