Disk Enclosures
1748169 Members
4225 Online
108758 Solutions
New Discussion юеВ

Re: Re install MSA30

 
SOLVED
Go to solution
Torsten.
Acclaimed Contributor

Re: Re install MSA30

Correction (more clear):

OK, now we know all 5 external disks are used by the volume group /dev/vgprd.

Do you know how the disks are mirrored?

This is the plan:

- reconfigure 1 HBA(#2) to initiator ID 6
(using mptutil)

- connect each bus with 2 cables to your host (better to shut the host down for this)
e.g.
HBA1 connector1 -> A1 : A2 HBA2 connector1
HBA1 connector2 -> B1 : B2 HBA2 connector2

- now you have 2 device files for each disk

- remove the LVM mirror for each LVOL in this VG

- remove the device files for the (empty) disks to be re-located

- re-locate the (empty) disks to the other bus

- create device files

- include the disks to the VG

-include the alternate pathes to the VG

- mirror the lvols


After this, the "vgdisplay -v" would look very similar to this:

--- Physical volumes ---
PV Name /dev/dsk/c2t0d7s2
PV Name /dev/dsk/c4t0d7s2 Alternate Link
PV Status available
Total PE 44940
Free PE 4
Autoswitch On

PV Name /dev/dsk/c8t0d7s2
PV Name /dev/dsk/c6t0d7s2 Alternate Link

PV Status available
Total PE 44940
Free PE 4
Autoswitch On

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Fabian Crea
Occasional Advisor

Re: Re install MSA30

Ok, thank you very much, I will work in this.
Fabian Crea
Occasional Advisor

Re: Re install MSA30

HI Torsten, Can I your help, pls ?
I have problem with my proveer and I need do this only I.
Can you send my the sentence and command for to do the change on server, Pls excuseme my english, this is poor.


This is the action plan that you send me.

- reconfigure 1 HBA(#2) to initiator ID 6
(using mptutil)

- connect each bus with 2 cables to your host (better to shut the host down for this)
e.g.
HBA1 connector1 -> A1 : A2 HBA2 connector1
HBA1 connector2 -> B1 : B2 HBA2 connector2

- now you have 2 device files for each disk

- remove the LVM mirror for each LVOL in this VG

- remove the device files for the (empty) disks to be re-located

- re-locate the (empty) disks to the other bus

- create device files

- include the disks to the VG

-include the alternate pathes to the VG

- mirror the lvols

Thanks very much, for all.
Fabian

Re: Re install MSA30

Hi Torsten!

At last, our provider help us on this, following in some way your suggested plan.

Could you please give us some thoughs about this outputs?

(ioscan -fn and vgdisplay -f)

We can't find the "alternate paths"


Thanks in advance!



Torsten.
Acclaimed Contributor

Re: Re install MSA30

From your ioscan I can see 2x 5 external disk devices, but without knowledge about the canling nobody can say if there are 5 disks with 2 pathes each or even 10 disks.

You can either tell more about the current cable connections or run a vgscan in preview mode (vgscan -p ... see man vgscan) to get more information.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   

Re: Re install MSA30

We have, for sure, only 5 discs in the MSA 30.

vgscan -p output is:

vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg0.
vgscan: The physical volume "/dev/dsk/c2t0d0" is already recorded in the "/etc/.
vgscan: The physical volume "/dev/dsk/c2t1d0" is already recorded in the "/etc/.
vgscan: The physical volume "/dev/dsk/c3t2d0" is already recorded in the "/etc/.
vgscan: The physical volume "/dev/dsk/c7t3d0" is already recorded in the "/etc/.
vgscan: The physical volume "/dev/dsk/c7t4d0" is already recorded in the "/etc/.
vgscan: The physical volume "/dev/dsk/c4t0d0" is already recorded in the "/etc/.
vgscan: The physical volume "/dev/dsk/c4t1d0" is already recorded in the "/etc/.
vgscan: The physical volume "/dev/dsk/c4t2d0" is already recorded in the "/etc/.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument




The Volume Group /dev/vg01 was not matched with any Physical Volumes.
Torsten.
Acclaimed Contributor

Re: Re install MSA30

How about the cabling?
Run vgscan with all parameters:
/usr/sbin/vgscan -a -p -v



The device /dev/dsk/c0t0d0 is the CD-ROM - the message is pretty normal.


The devices
/dev/dsk/c4t0d0
/dev/dsk/c4t1d0
/dev/dsk/c4t2d0

belonging to /dev/vgprd

/dev/dsk/c7t3d0
/dev/dsk/c7t4d0

are in use by /dev/vgbkp

So it looks like
/dev/dsk/c4t3d0
/dev/dsk/c4t4d0
are alternates for /dev/vgbkp

/dev/dsk/c7t0d0
/dev/dsk/c7t1d0
/dev/dsk/c7t2d0
for /dev/vgprd

Check this with the vgscan and vgextend the devices to the appropriate vg.

Check if there are files in
/dev/vg01

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   

Re: Re install MSA30

As far as i know, the cabling was made following your suggestion

HBA1 connector1 -> A1 : A2 HBA2 connector1
HBA1 connector2 -> B1 : B2 HBA2 connector2


vgscan output is:

vgscan: The physical volume "/dev/dsk/c2t0d0" is already recorded in the "/etc/.
vgscan: The physical volume "/dev/dsk/c2t1d0" is already recorded in the "/etc/.
vgscan: The physical volume "/dev/dsk/c3t2d0" is already recorded in the "/etc/.
vgscan: The physical volume "/dev/dsk/c7t3d0" is already recorded in the "/etc/.
vgscan: The physical volume "/dev/dsk/c7t4d0" is already recorded in the "/etc/.
vgscan: The physical volume "/dev/dsk/c4t0d0" is already recorded in the "/etc/.
vgscan: The physical volume "/dev/dsk/c4t1d0" is already recorded in the "/etc/.
vgscan: The physical volume "/dev/dsk/c4t2d0" is already recorded in the "/etc/.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument


/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c2t1d0
/dev/dsk/c3t2d0

/dev/vgprd
/dev/dsk/c7t0d0
/dev/dsk/c7t1d0
/dev/dsk/c7t2d0
/dev/dsk/c4t0d0
/dev/dsk/c4t1d0
/dev/dsk/c4t2d0

/dev/vgbkp
/dev/dsk/c7t3d0
/dev/dsk/c7t4d0
/dev/dsk/c4t3d0
/dev/dsk/c4t4d0

and inside /dev/vg01, only:

crw-r--r-- 1 root sys 64 0x020000 Mar 12 04:33 group
Torsten.
Acclaimed Contributor
Solution

Re: Re install MSA30

I noticed you have changed the SCSI controller ID as suggested.

It looks good, just vgextend your VGs like mentioned:

vgextend /dev/vgprd /dev/dsk/c4t0d0 /dev/dsk/c4t1d0 /dev/dsk/c4t2d0

vgextend dev/vgbkp /dev/dsk/c7t3d0 /dev/dsk/c7t4d0
and check with "vgdisplay -v"

If not used, delete /dev/vg01
(maybe from a former created and not properly removed volume group)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   

Re: Re install MSA30

Torsten, your help was unmeasurable.
Thanks for all.
(Tomorrow Fabian will assign points to your answers)


Just a little doubt:

This sentence will create alternate paths to PV's on /dev/vgbkp

vgextend /dev/vgbkp /dev/dsk/c7t3d0 /dev/dsk/c7t4d0

But to perform the same on /dev/vgprd must not be

vgextend /dev/vgprd /dev/dsk/c7t0d0 /dev/dsk/c7t1d0 /dev/dsk/c7t2d0

instead

vgextend /dev/vgprd /dev/dsk/c4t0d0 /dev/dsk/c4t1d0 /dev/dsk/c4t2d0 ??


Thanks, again.