Operating System - HP-UX
1751818 Members
5367 Online
108782 Solutions
New Discussion

Re: HPUX 11.11 How to add disk to Volume

 
Dippenchuncks
Occasional Contributor

HPUX 11.11 How to add disk to Volume

Dear Gurus,

One of our SAN switches has failed. We managed to get the redundant switch online and has reestablished connection to the disk again. The problem we are now facing is that the disk have a new path IDs  and our HPUX 11.11 has a problem seeing the "New Pathes". How Do I remove the old disks path from the volume group & add the newly establish paths?

Thank you in advance.

Regards,

Michael R Louw Aka Dippenchunks

 

1 REPLY 1
Bill Hassell
Honored Contributor

Re: HPUX 11.11 How to add disk to Volume

If you can see the new disk paths using ioscan -fnCdisk then these are just different paths to the same disks, so no changes are needed to extend the VG with the new paths. All you need to do is run vgextend and specify all the new paths:

vgextend vg123 /dev/dsk/c2t3d4 /dev/dsk/c1t3d4

where: vg123 is the volume group needing the new disk paths
and
/dev/dsk/c2t3d4... are the paths to be added.

You can then use vgreduce to remove the dead links as in:

vgreduce vg123 /dev/dsk/c5t3d4 /dev/dsk/61t3d4

Again, change the VG name and the disk path names to match your system.

 



Bill Hassell, sysadmin