Operating System - HP-UX
1824841 Members
3685 Online
109674 Solutions
New Discussion юеВ

Adding new scsi controllers

 
Robert Anderson
Advisor

Adding new scsi controllers

We have 2 jbods daisy chained to 2 scsi controllers. 8 disks on each jbod. We are mirroring. These 16 disks are currently in one vg (/dev/vg01) mirrored (lvol1-8). We are going to install 2 more scsi controller cards and break the daisy chain. What will be the easiest way to match these disks to the old volume group so we can use the same mount points? Does anyone have any suggestions? Greatly appreciated. Thanks!
Don't think meat! It can only hurt the team!
2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor

Re: Adding new scsi controllers

Hi,

The easiest way is to use -s option with vgexport.

Before re-arranging the JBODs, export all the volume groups.

#vgchange -a n vg??
#vgexport -v -s -m /tmp/vg??.map vg??

Re-arrange the disks. Do an ioscan -f and ioscan -fnC disks and make sure the count is correct. Then do the following for all the vgs.

#mkdir /dev/vg??
#mknod /dev/vg??/group c 64 0x0?0000
#vgimport -v -s -m /tmp/vg??.map vg??

This should pick up all the disks.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Krishna Prasad
Trusted Contributor

Re: Adding new scsi controllers

The above option will work for you and is the best way if you are moving all 16 disks.

However, if the primary disk will stay put and only the mirrors are moving.....and you want to stay up and running. ( I know you have to go down to add the physical cards. )

You can simple reduce the logical volume to have 0 mirrors. ( lvreduce -m 0 /dev/vg01/lvol# )

Then reduce the volume group removing the mirrored disk from the volume group.

vgreduce /dev/vg01 /dev/dsk/c#t#d#

Then when you attach them to the new interface go through the steps of setting up the mirror.
Positive Results requires Positive Thinking