Operating System - HP-UX
1748170 Members
3954 Online
108758 Solutions
New Discussion юеВ

Re: How can I add a new disk on my HP-UX server

 
R.K. #
Honored Contributor

Re: How can I add a new disk on my HP-UX server

Hello GauravS,

To add a new disk:

# ioscan -fnC disk <<== identify the new disk

# pvcreate -f /dev/rdsk/cxtydz <<== f option if disk is used in any VG before and cxtydz is a free disk (not used in any vg)

Finally,
# vgextend vgXX /dev/dsk/cxtvdz <<== to include the disk in vgXX

Here, vgXX can be vg00 or any other vg.


Don't fix what ain't broke
Basheer_2
Trusted Contributor

Re: How can I add a new disk on my HP-UX server

Hello Gaurav,

Which file system in vg00 is getting full.

first check if you have any FREE space available.

use SAM -> Volume groups

or
vgdisplay -v vg00
look for FREE PEs
Avail Space = FREE PE * PE-SIZE = in MB.

if you have online-JFS (fsadm), you can extend them online.

is it /tmp, /var, /home. These are dynamic.

/opt grows when you add applications.


/etc /usr are static, they grow very little whenever you update patches. So these should be fine.

GauravS
Occasional Advisor

Re: How can I add a new disk on my HP-UX server

Thanks friends for your replies. My problem has been solved now.