Operating System - HP-UX
1751922 Members
5021 Online
108783 Solutions
New Discussion юеВ

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

 
Sandman!
Honored Contributor

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

After adding disks to vg00, make sure the server can see them and follow the steps below:

# ioscan -fnC disk
# pvcreate
# vgextend /dev/vg00
reboot into single user mode
# extendfs -F vxfs /dev/vg00/
reboot into muli-user mode

cheers!

Suraj Singh_1
Trusted Contributor

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

As you stated you have already added the disks in the server and are able to see the device files for them.

Extend the volume group:

# pvcreate /dev/rdsk/c?t?d? (Do this for both the disks)

# vgextend /dev/vg00 /dev/dsk/c?t?d? /dev/dsk/c?t?d? (Add both the disks)

Find out the LV names for these file systems (you can get it from bdf or /etc/fstab).

Now all you would need to do is to boot the server in single user mode, and perform the extend operation on the mentioned file systems:

Interact with ISL.
ISL> hpux -is

In single user mode:

# lvextend -l xxxx /dev/vg00/lvol?
# extendfs -F vxfs /dev/vg00/rlvol?

Hope that helps,
Regards
What we cannot speak about we must pass over in silence.
Basheer_2
Trusted Contributor

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

Thanks for all
did these steps on-line for L-2000 (rp5450) server
1) Put in 2 internal disks
2) ioscan -funC disk
3) get c?t?d? funky names from 2)
4) pvcreate /dev/rdsk/c1t0d0
5) pvcreate -f /dev/rdsk/c2t0d0
6) vgextend /dev/vg00 /dev/dsk/c1t0d0 /dev/dsk/c2t0d0 - add to vg00
7) verify vgdisplay -v vg00
pvdisplay /dev/dsk/c1t0d0
diskinfo /dev/rdsk/c?t0d0
Basheer_2
Trusted Contributor

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

my solution is posted