Integrity Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

Create RAID 1 on RX6600

 
SOLVED
Go to solution
AZayed
Super Advisor

Create RAID 1 on RX6600

Dears,
Good day,

We ordered a RX6600 with 6 disks and the built in SAS controller. Now, I need to create two RAID 1 volumes but my the system giving me "Bad addresses", what am I doing wrong ?

# sasmgr -N get_info -D /dev/sasd1 -q raid

Mon Feb 7 14:14:46 2011

---------- PHYSICAL DRIVES ----------
LUN dsf SAS Address Enclosure Bay Size(MB)

/dev/rdisk/disk10 0x5000c50031c0b859 1 7 286102
/dev/rdisk/disk11 0x5000c50031c08a7d 1 5 286102
/dev/rdisk/disk6 0x5000c50031b71a2d 1 3 286102
/dev/rdisk/disk7 0x5000c50031bff6b5 1 4 286102
/dev/rdisk/disk8 0x5000c50031c0596d 1 6 286102
/dev/rdisk/disk9 0x5000c50031c0b83d 1 8 286102

#
# sasmgr add -D /dev/sasd1 -q raid -q level=1 -q enc_bay=1:3,1:4

WARNING: If the disks are of different size,
then the remaining disk space of the larger disk
will be wasted and the volume cannot be expanded.

WARNING: Make sure that the disks are not being
used for BOOT, SWAP, DUMP, LVM, VxVM or any other
purpose.

This operation will overwrite the data on the disks.

Do you want to continue ?(y/n) [n]...

WARNING: This operation may take a few seconds.

ERROR: Unable to add a RAID volume: Bad address
#

escsi_ctlr 1 0/4/1/0 sasd CLAIMED INTERFACE HP PCI/PCI-X SAS MPT Adapter
ext_bus 0 0/4/1/0.0.0 sasd_vbus CLAIMED INTERFACE SAS Device Interface

Thanks a lot
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
18 REPLIES 18
Jorge Pons
Trusted Contributor

Re: Create RAID 1 on RX6600

Hi

Can you post ioscan -funC disk.
I supposed you boot from other disks

Regards, Jorge
AZayed
Super Advisor

Re: Create RAID 1 on RX6600

Hi,

# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 5 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP EG0300FAWHV
/dev/dsk/c0t0d0 /dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d0s2
/dev/dsk/c0t0d0s1 /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s1 /dev/rdsk/c0t0d0s3
disk 3 0/4/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP EG0300FAWHV
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
disk 0 0/4/1/0.0.0.2.0 sdisk CLAIMED DEVICE HP EG0300FAWHV
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
disk 2 0/4/1/0.0.0.3.0 sdisk CLAIMED DEVICE HP EG0300FAWHV
/dev/dsk/c0t3d0 /dev/rdsk/c0t3d0
disk 1 0/4/1/0.0.0.4.0 sdisk CLAIMED DEVICE HP EG0300FAWHV
/dev/dsk/c0t4d0 /dev/rdsk/c0t4d0
disk 4 0/4/1/0.0.0.5.0 sdisk CLAIMED DEVICE HP EG0300FAWHV
/dev/dsk/c0t5d0 /dev/dsk/c0t5d0s2 /dev/rdsk/c0t5d0 /dev/rdsk/c0t5d0s2
/dev/dsk/c0t5d0s1 /dev/dsk/c0t5d0s3 /dev/rdsk/c0t5d0s1 /dev/rdsk/c0t5d0s3
disk 12 255/1/0.0.0 sdisk CLAIMED DEVICE Optiarc DVD RW AD-5590A
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
#
#
# ioscan -NfunC disk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 6 64000/0xfa00/0x0 esdisk CLAIMED DEVICE HP EG0300FAWHV
/dev/disk/disk6 /dev/disk/disk6_p2 /dev/rdisk/disk6 /dev/rdisk/disk6_p2
/dev/disk/disk6_p1 /dev/disk/disk6_p3 /dev/rdisk/disk6_p1 /dev/rdisk/disk6_p3
disk 7 64000/0xfa00/0x1 esdisk CLAIMED DEVICE HP EG0300FAWHV
/dev/disk/disk7 /dev/rdisk/disk7
disk 8 64000/0xfa00/0x2 esdisk CLAIMED DEVICE HP EG0300FAWHV
/dev/disk/disk8 /dev/rdisk/disk8
disk 9 64000/0xfa00/0x3 esdisk CLAIMED DEVICE HP EG0300FAWHV
/dev/disk/disk9 /dev/disk/disk9_p2 /dev/rdisk/disk9 /dev/rdisk/disk9_p2
/dev/disk/disk9_p1 /dev/disk/disk9_p3 /dev/rdisk/disk9_p1 /dev/rdisk/disk9_p3
disk 10 64000/0xfa00/0x4 esdisk CLAIMED DEVICE HP EG0300FAWHV
/dev/disk/disk10 /dev/rdisk/disk10
disk 11 64000/0xfa00/0x5 esdisk CLAIMED DEVICE HP EG0300FAWHV
/dev/disk/disk11 /dev/rdisk/disk11
disk 13 64000/0xfa00/0x6 esdisk CLAIMED DEVICE Optiarc DVD RW AD-5590A
/dev/disk/disk13 /dev/rdisk/disk13
#
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
Jorge Pons
Trusted Contributor
Solution

Re: Create RAID 1 on RX6600

Hi

It looks Ok.
The only thing I append in command is size:

-q size=285000

Regards, Jorge
AZayed
Super Advisor

Re: Create RAID 1 on RX6600

Thanks it's now working. Yesterday I used size option but I think the size was large.

Last question, is this SAS controller support Root Disk? Is it better than DiskMirror ??

Thanks
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
Jorge Pons
Trusted Contributor

Re: Create RAID 1 on RX6600

Hi

Yes, it support.
When you talk about root disk, are you talking about DRD?
DRD is different from Mirror Disk.
DRD is for test boot environment and Mirror is for availability

Regards, Jorge
Torsten.
Acclaimed Contributor

Re: Create RAID 1 on RX6600

>> is this SAS controller support Root Disk? Is it better than DiskMirror ??


Yes, such a mirror can be used as boot disk.

Yes, IMHO it is better to such the hardware mirror than the LVM mirror with such SAS disks, because the replacement is much, much easier.

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!   
AZayed
Super Advisor

Re: Create RAID 1 on RX6600

Hi Jorge,

Actually, I was talking about SAS mirroring. In my case if I need to create a mirror on root disk I will write :

sasmgr add -D /dev/sasd1 -q raid -q level=1 -q enc_bay=1:8,1:7 -q size=286080

Does it work?
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
Jorge Pons
Trusted Contributor

Re: Create RAID 1 on RX6600

Hi

Yes, it works.

Regards, Jorge
Torsten.
Acclaimed Contributor

Re: Create RAID 1 on RX6600

CAUTION: If you do this on your current (non-RAID) boot disks (and you are doing so), the disks will be overwritten and the OS installation is GONE!

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!   
Torsten.
Acclaimed Contributor

Re: Create RAID 1 on RX6600

Looks like disk6 and disk9 are your boot disks. In your first attempt you worked with disk6, now with disk9.



>>
WARNING: Make sure that the disks are not being
used for BOOT, SWAP, DUMP, LVM, VxVM or any other
purpose.

This operation will overwrite the data on the disks.


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!   
Jorge Pons
Trusted Contributor

Re: Create RAID 1 on RX6600

Hi

Torsten is right.
if you do from sasmgr, you lose OS.
if you do from mirror-ux (lvextend -m1 ....) you can do online and you dont lose anything.

Regards, Jorge
AZayed
Super Advisor

Re: Create RAID 1 on RX6600

Hi Torsten,

why it will be gone ?? HP installed the OS on disk on bay number 8 and I'm putting this as my first disk in the command.

Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
Torsten.
Acclaimed Contributor

Re: Create RAID 1 on RX6600

The command is telling you:

This operation will overwrite the data on the disks.


Reason is, the hardware raid will use the very last block on the disk, where currently the backup partition table is. Loosing the partition table means loosing the disk contents.



You will loose all data on the disk.

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!   
AZayed
Super Advisor

Re: Create RAID 1 on RX6600

Okay guys, thanks a lot. but to make sure if I get it:

This command :
sasmgr add -D /dev/sasd1 -q raid -q level=1 -q enc_bay=1:8,1:7 -q size=286080

will overwrite the disk on bay 8 with the data on bay 7 witch mean I'm going to loos my OS.

As I told you the OS is on disk bay 8 and disk 7 is empty blank disk.

Thanks
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
Torsten.
Acclaimed Contributor

Re: Create RAID 1 on RX6600

>> will overwrite the disk on bay 8 with the data on bay 7



No. It will just delete the data on both disks and create an *empty* mirrored disk.

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!   
AZayed
Super Advisor

Re: Create RAID 1 on RX6600

Oh God, so at the end I have only MirrorDisk left to do it + DRD for disaster
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
Torsten.
Acclaimed Contributor

Re: Create RAID 1 on RX6600

I would do one of the following:

1) backup with ignite, create the RAID, restore the image

2) create a DRD clone, create the RAID, boot the clone and LVM mirror the clone to the RAID, boot from RAID

3) create the RAID, LVM mirror the current boot disk to the RAID, unmirror from the non-RAID disk

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!   
AZayed
Super Advisor

Re: Create RAID 1 on RX6600

Thanks a lot
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.