Operating System - HP-UX
1830154 Members
4930 Online
109999 Solutions
New Discussion

MCSG Filesystem extension

 
kunjuttan
Super Advisor

MCSG Filesystem extension

Hi Gurus,
I need an urgent help.I am having a two node cluster MCSG version A.11.20.Now I want to extend 3 filesystems which is in this cluster.Onlinejfs is installed in the server.Now I want to know what all things need to be done to achieve this.Pls guide me.
9 REPLIES 9
kemo
Trusted Contributor

Re: MCSG Filesystem extension

ani007
Super Advisor

Re: MCSG Filesystem extension

Hi,
If space is there in the VG then you can easily extend the FS. So you need to check whether space is there or not.(Free PE*PE size)
-----------------------------------------------------

If space is not there in the vg & you add anew lun :--
Package is running on primary node. There should not be any unavailability of applications.

NODE A
#pvcrerate /dev/rdsk/cxtxdx
#vgextend vgname /dev/dsk/cxtxdx
#lvextend -L XXXXM /dev/vgname/lvname
#fsadm -F vxfs -b XXXXM /mnt_point
#vgexport -p -v -s -m vgname.map /dev/vgname
#scp -p vgname.map :/home/

NODE B
#ll /dev/vgname/group [note the minor no]
#vgexport /dev/vgname
#mkdir /dev/vgname
#mknode /dev/vgname/group c 64
#vgimport -v -s -m /tmp/vgname.map /dev/vgname

Regards,
Ani
kunjuttan
Super Advisor

Re: MCSG Filesystem extension

thanx...do i need to bring down packages or cluster for this...or is this completeyly an online activity???Do i have to bring down database and application??And also..for exporting vg deactivation of vg is not required??
ani007
Super Advisor

Re: MCSG Filesystem extension

If online JFS is there you can extend it online .... downtime is not require.

Regards,
Ani
Ismail Azad
Esteemed Contributor

Re: MCSG Filesystem extension

Hi,

The whole point of online JFS is to provide resizing online without restriction of access to the filesystem. In other words, unmounting the filesystem is not required for online JFS.

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
Shibin_2
Honored Contributor

Re: MCSG Filesystem extension

>> And also..for exporting vg deactivation of vg is not required??

On your first node, where your VG active, the vgexport is in preview mode. It doesn't need deactivation of VG.


On your second node, we simply take out the existing structure in order to accommodate new, updated details.

Hope you understood.
Regards
Shibin
James R. Ferguson
Acclaimed Contributor

Re: MCSG Filesystem extension

Hi:

If all you are doing is growing existing logical volumes there is no need for any 'vgexport' or 'vgimport. Use 'fsadm' to increase the size of the logical volumes on the active, primary node. The changes will be reflected in the LVM VGDA (Volume Group Descriptor Area) held on the physical volume(s). Hence, when you activate the volume group on the other node during package startup, the new geometry will be seen.

Regards!

...JRF...
kunjuttan
Super Advisor

Re: MCSG Filesystem extension



Hi
As I said earlier my requirement is to extend my filesystem by 50GB.I dont have any free pe's in my VG.So i have to do all those pvcreate,vgextend,lvextend and fsadm in my primary node.My confusion is after these steps.And I am doing it online when the cluster,packages and DB are running.
And also I want to know what is the risk factor included in this activity and your recommendations..
kunjuttan
Super Advisor

Re: MCSG Filesystem extension

Hi Gurus,

thanks for your valuable replies.issue is resolved with ur helps...