System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

RAID 1+0 find pairs for cloning

Ruben Püttmann
Occasional Contributor

RAID 1+0 find pairs for cloning


hy,

I have here an Proliant DL380G3 with debian on it kernel 2.6.8.

Raid Setup:

=> controller slot=0 show detail

Smart Array 6i in Slot 0
Bus Interface: PCI
Slot: 0
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Chassis Slot:
Hardware Revision: Rev B
Firmware Version: 2.36
Rebuild Priority: Low
Expand Priority: Low
Surface Scan Delay: 15 sec
Cache Board Present: True
Cache Status: OK
Accelerator Ratio: 100% Read / 0% Write
Total Cache Size: 64 MB
Battery Pack Count: 0

> controller slot=0 array A logicaldrive all show

Smart Array 6i in Slot 0

array A

logicaldrive 1 (101.7 GB, RAID 1+0, OK)
=> controller slot=0 array A logicaldrive 1 show detail

Smart Array 6i in Slot 0

array A

Logical Drive: 1
Size: 101.7 GB
Fault Tolerance: RAID 1+0
Heads: 255
Sectors Per Track: 32
Cylinders: 26148
Stripe Size: 128 KB
Status: OK
Array Accelerator: Enabled
Unique Identifier: 600508B1001FFFFFA01457B34F180002
Disk Name: /dev/cciss/c0d0
Mount Points: / 4.7 GB, none 1.9 GB, /opt 95.2 GB


=> controller slot=0 array A physicaldrive all show

Smart Array 6i in Slot 0

array A

physicaldrive 2:0 (port 2:id 0 , Parallel SCSI, 36.4 GB, OK)
physicaldrive 2:1 (port 2:id 1 , Parallel SCSI, 36.4 GB, OK)
physicaldrive 2:2 (port 2:id 2 , Parallel SCSI, 36.4 GB, OK)
physicaldrive 2:3 (port 2:id 3 , Parallel SCSI, 36.4 GB, OK)
physicaldrive 2:4 (port 2:id 4 , Parallel SCSI, 36.4 GB, OK)
physicaldrive 2:5 (port 2:id 5 , Parallel SCSI, 36.4 GB, OK)

=> controller slot=0 array A physicaldrive all show detail

Smart Array 6i in Slot 0

array A

physicaldrive 2:0
SCSI Bus: 2
SCSI ID: 0
Status: OK
Drive Type: Data Drive
Interface Type: Parallel SCSI
Transfer Mode: Ultra 320 Wide
Size: 36.4 GB
Transfer Speed: 320 MB/Sec
Rotational Speed: 15000
Firmware Revision: HPB2
Serial Number: ANL1P55062MV0521
Model: COMPAQ BF03688575
physicaldrive 2:1
SCSI Bus: 2
SCSI ID: 1
Status: OK
Drive Type: Data Drive
Interface Type: Parallel SCSI
Transfer Mode: Ultra 320 Wide
Size: 36.4 GB
Transfer Speed: 320 MB/Sec
Rotational Speed: 15000
Firmware Revision: HPB2
Serial Number: ANL1P5505UCE0520
Model: COMPAQ BF03688575
physicaldrive 2:2
SCSI Bus: 2
SCSI ID: 2
Status: OK
Drive Type: Data Drive
Interface Type: Parallel SCSI
Transfer Mode: Ultra 320 Wide
Size: 36.4 GB
Transfer Speed: 320 MB/Sec
Rotational Speed: 15000
Firmware Revision: HPB2
Serial Number: ANL1P55061YW0521
Model: COMPAQ BF03688575
physicaldrive 2:3
SCSI Bus: 2
SCSI ID: 3
Status: OK
Drive Type: Data Drive
Interface Type: Parallel SCSI
Transfer Mode: Ultra 320 Wide
Size: 36.4 GB
Transfer Speed: 320 MB/Sec
Rotational Speed: 15000
Firmware Revision: HPB2
Serial Number: ANL1P5606RN90523
Model: COMPAQ BF03688575
physicaldrive 2:4
SCSI Bus: 2
SCSI ID: 4
Status: OK
Drive Type: Data Drive
Interface Type: Parallel SCSI
Transfer Mode: Ultra 320 Wide
Size: 36.4 GB
Transfer Speed: 320 MB/Sec
Rotational Speed: 15000
Firmware Revision: HPB1
Serial Number: E20AJ7AK
Model: COMPAQ BF03687B54
physicaldrive 2:5
SCSI Bus: 2
SCSI ID: 5
Status: OK
Drive Type: Data Drive
Interface Type: Parallel SCSI
Transfer Mode: Ultra 320 Wide
Size: 36.4 GB
Transfer Speed: 320 MB/Sec
Rotational Speed: 15000
Firmware Revision: HPB2
Serial Number: E20BD6QK
Model: COMPAQ BF03687B54

=>

Now I have the problem that I want clone this System. On RAID 1+0 with 6 drive I muss have 3 pairs of drives. So I can remove 3 drives without data loss ( If I take the right ones).

So I want shutdown the system remove 3 drives put 3 new drives I it and rebuild it.

The 3 drives I have put out I will put in another DL380G3.

So the theory, but how can I find out which drive is a mirror from which drive? Why doesn't show the hpacucli the pairs?


Attached the output from hpaducli.
5 REPLIES
Ivan Ferreira
Honored Contributor

Re: RAID 1+0 find pairs for cloning

I think that your operation plan is too risky. Try cloning the system using mondo rescue.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ruben Püttmann
Occasional Contributor

Re: RAID 1+0 find pairs for cloning

N it is not to risky we did this here with raid1 in dl360G1 dl360G2 dl360g3 dl360g4 dl365 dl380G2 and so on more than thousend times with raid1.

On technical side this is complete without risk. You must only know the right pairs.
Steven E. Protter
Exalted Contributor

Re: RAID 1+0 find pairs for cloning

Shalom,

You can try and use acronis http://www.acronis.com to clone this system.

To insure recovery you will need a system with a similar i/o setup.

You should boot the system into smart array configuration mode to be sure of what drive is cloned to what before removing any drives.

You can use dd after boot to confirm that you are correct.

Ivan is correct though, pull the wrong drive say good bye to your data.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Ferreira
Honored Contributor

Re: RAID 1+0 find pairs for cloning

I still think is risky, in a RAID 1 configuration it's easy because there are only two disks involucrated. In a RAID 0+1 configuration, if you remove the wrong disk, you will loss all your data, but it's up.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ruben Püttmann
Occasional Contributor

Re: RAID 1+0 find pairs for cloning

Yes you are right, because this I'm looking for the feature that shows me the mirror pairs.

I thing this must be implementet in the array tools.