Operating System - HP-UX
1833760 Members
2188 Online
110063 Solutions
New Discussion

Add additional disks to my HP-UX

 
Jacqueline Nguyen
Occasional Advisor

Add additional disks to my HP-UX

I have an HP9000 K360, 10.20 with 3 disks (4G/each) and 3 mirrors. I would like to add one additional disk (9G) and one mirror. Please help me with all steps to proceed this. Thanks in advance.

Jacqueline
2 REPLIES 2
Michael Steele_2
Honored Contributor

Re: Add additional disks to my HP-UX

I don't believe you'll have a problem with adding the 9 gig disk into the same volume group as the other 4 gig disks but you might. So make a separate volume group for the 9 gig disk, else, you'll be limited to the number of extents per 4 gig disk.

Add disk.
reboot
ioscan -fknC disk
verify new disk
dd if=/dev/dsk/c... of=/dev/null count=1000000
control C
blocks listed in/out

pvcreate -f /dev/rdsk/c....
vgcreate /dev/vg** /dev/dsk/c...
vgdisplay -v vg**
verify disk

Support Fatherhood - Stop Family Law
Jon Finley
Honored Contributor

Re: Add additional disks to my HP-UX

I think some steps on the volume group creation were left out.

Process to creage a new volume group, assuming vg01 does not exist, and disks are at location c0t1d0 and c1t1d0.

# pvcreate -f /dev/rdsk/c0t1do
# pvcreate -f /dev/rdsk/c1t1d0

# cd /dev
# mkdir /vg01
# cd vg01

# mknod group c 64 0x010000

# vgcreate /dev/vg01 /dev/dsk/c0t1d0 /dev/dsk/c1t1d0

# strings /etc/lvmtab

# lvcreate -L 10 -m 1 /dev/vg01/lvol1

# newfs -F vxfs /dev/vg01/rlvol1

# mkdir /myvol

# mount /dev/vg01/lvol1 /myvol

# bdf

modify the /etc/fstab file to have this new mount point come up from now on.

may want to backup the new configuration.

# vgcfgbackup /dev/vg01


Jon
"Do or do not. There is no try!" - Yoda