Operating System - HP-UX
1753971 Members
7738 Online
108811 Solutions
New Discussion юеВ

add 2 disks to vg00 and extend /var /usr /opt

 
Basheer_2
Trusted Contributor

add 2 disks to vg00 and extend /var /usr /opt

Hello ITRC,

vg00 has 2 disks mirrored, each 18GB.

Can I add 2 more disks, each 18GB to vg00 on-line.

Thanks
Basheer
13 REPLIES 13
RAC_1
Honored Contributor

Re: add 2 disks to vg00 and extend /var /usr /opt

If disks are hot-swappable, you can add them on line, else not.

Once added and claimed in ioscan -fnCdisk, just do a pvcreate and then vgextend.

Anil
There is no substitute to HARDWORK
Simon Hargrave
Honored Contributor

Re: add 2 disks to vg00 and extend /var /usr /opt

Yes, once you have inserted your disks (assuming they are hot-swappable):

ioscan to see the disks
insf to get the files
pvcreate on each new disk
vgextend to add them to the volume group
Stf
Esteemed Contributor

Re: add 2 disks to vg00 and extend /var /usr /opt

What is the model of the server???

Stf ;-)
A. Clay Stephenson
Acclaimed Contributor

Re: add 2 disks to vg00 and extend /var /usr /opt

Yes. If you have OnlineJFS you can even extend the filesystems online as well.
If it ain't broke, I can fix that.
Basheer_2
Trusted Contributor

Re: add 2 disks to vg00 and extend /var /usr /opt

Thanks All of you
I have physically put in 2 disks to L-2000 server on-line without any problems.

I did pvcreate
ioscan sees these 2 disks
entries are in /dev/dsk and /dev/rdsk

My Q is:
can i extend vg00 on-line using these 2 new disks without affecting anything

Thanks
Basheer
Basheer_2
Trusted Contributor

Re: add 2 disks to vg00 and extend /var /usr /opt

Oops

I do not have Advanced JFS
Rick Garland
Honored Contributor

Re: add 2 disks to vg00 and extend /var /usr /opt

Using the vgextend command - yes.

You will need to run pvcreate before vgextend.

This is assuming that the disks are already part of the hardward and can be seen via ioscan
Rick Garland
Honored Contributor

Re: add 2 disks to vg00 and extend /var /usr /opt

You would not need Advanced JFS to run vgextend.

vgextend /dev/vg00 /dev/dsk/cXtYdZ

Add disk cXtYdZ to volume group vg00

Mel Burslan
Honored Contributor

Re: add 2 disks to vg00 and extend /var /usr /opt

you can do the vgextend without needing Online JFS but the added disks will be of no use until you can extend the 3 filesystems you mentioned.

And unfortunately, /usr and /var can not be extended while the system is operational. /opt may be extended if there are no applications are running off of it at that time but the other two will always have files open for system operations. So, your only chance without advanced JFS is to take the system down to single user, run the extendfs command then bring the system back up tot the default init level.

Good luck
________________________________
UNIX because I majored in cryptology...