1850210 Members
2122 Online
104050 Solutions
New Discussion

Cluster LV extend

 
prash_1
Frequent Advisor

Cluster LV extend

Dear friends,

I am using HP-UX 11.11
no online jfs is installed .


I want to extend lvol2 in vg02 which is in cluster.
& lvol2 is mirrored.vg02 is having @40GB free space.
Please give me details how to extend LV which I Mentioned above without loosening data.


Thanks.
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Cluster LV extend

Shalom,

lvextend -L

You will lose no data.

Because you don't have Online JFS, you will need to drop cluster services(downtime) umount the logicial volume and use extendfs to extend the filesystem and actually have use of the space.

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
A. Clay Stephenson
Acclaimed Contributor

Re: Cluster LV extend

I cannot imagine setting up a cluster without OnlineJFS. This is really state-of-the-art dumb and partially defeats the purpose of SG.

In any event, you will need to execute cmhaltpkg to halt the package. You then would need to manually vgchange -a e the volume group and do an lvextend and then an extendfs. Next vgchange -a n the volume group and execute a cmrunpkg. You should next execute a cmodpkg to reenable package switching.

My general rule is that when someone needs to ask questions about routine operations on a cluster is that this person is the wrong person to be performing these tasks.

You obviously have to notify your clients of a scheduled maintenance window. The sad part of this is that if you has OnlineJFS, you could do all of this "on the fly" and your clients could stay connected.



If it ain't broke, I can fix that.