To create a RAID 0+1 metadevice, one creates two striped metadevices and then one creates a mirror of these metadevices; this is standard practice with DiskSuite.
Creating a RAID 1+0 device requires creating multiple mirrors of disk partition pairs, then striping together the mirror metadevices. The problem is that DiskSuite does not allow the striping of metadevices. Members of a striped metadevice must be physical disk slices, hence RAID 1+0 appears not to be possible with DiskSuite.
However, things are not always as they appear.
If the RAID 0+1 metadevice is created such that the number of columns in each of the mirrored stripes is the same, and the sizes of the physical disk slices in each column is the same, DiskSuite will internally convert that metadevice to a RAID 1+0 device. However, no difference in its outward appearance (for example, using the metastat command) will occur.
As an example, give you what looks to be a RAID 0+1 metadevice:
However, since DiskSuite treats this device as a RAID 1+0, non-corresponding disks in each submirror CAN fail without any resulting data loss. To illustrate this point, if the disks c1t0d0, c2t1d0, and c1t2d0 were all to fail, the data would still be accessible, despite the fact that all the metadevices are in a "Needs maintenance" state:
When replacing these disks, only the disk being replaced will need to be re-synchronized. Again, that is because this metadevice is being treated by DiskSuite as a RAID 1+0 device.
If corresponding disks in each submirror were to fail (such as c1t0d0s0 and c2t0d0s0), data loss would occur. as usual on a raid 1+0, it's not really saver, but it should be faster.... when you think about it, you are just working with luck, based on the probabilistic theory. the idea is that it is not presumably to lose 2 disks of the same pair, in theory. at the end of the day, only one disk should/may fail to provide a redundant lun, everything else is just a game, but think about Murphy's law:
Quote:
* If there's more than one way to do a job, and one of those ways will result in disaster, then somebody will do it that way
* Anything that can go wrong will go wrong
so it's a great idea to improve the performance, but not to increase the availability
Hi Pressy,
Thanks for your answer which is very clear as usual.
Just a precision : the solution I wanted to take for RAID 1+0 has been given by SUN support !! Problem ?
what type of storage are you using? if sun recommend you to use it, it will have a reason, what did you ask them?
a raid 1+0 is for sure the best way to build a high availability "disk" and the fastest, but to be honest with you, the most of my costumers don't use it, because it is the most expansive way, too. it costs exactly the double money of your space.... you lose 50% of your disks.... with 4 disks it doesn't matter, but think about 2TB luns so if you make a raid 5 with 10 disks, you would only lose 1 (10%), 20 disks 1 (5%), and so on and so on...
at the end of the day, it's a performance question, if you have to handle a raid 5 without a HW-controller and without HW-cache the performance is extremely bad and it costs CPU power...
i would also recommend you to use a 1+0, but it belongs to you. do you want to spend more money, speed it up and get a better availability... or save money and get more space on performance costs...
It's quite a long story.
My server has 6 disks 150 GB each but only one controller.
The first operation I did was to mount 3 disks in RAID 5 but the performances were awfull.
That's why SUN recommend me to mount the disks in RAID 0+1 or best in RAID 1+0 with the commands that I posted in my first post. The problem is that RAID 1+0 doesn't work with SVM : the last command metainit d130 1 2 d120 d121 -i 64k fails because it needs physical devices and not logical devices.
Anyway I choosed the solution RAID 0+1 and now it's fine, except that I will need a second controller to improve the performances .
Thanks again
Hello,
I am trying to convert a single-drive Centos 7.2 installation with LVM into a two-disk mdadm mirror with mrrored LVM. I was able to follow the excellent instructions at:
http://www.dgoradia.com/creating-a-raid1-mirrored-on-an-existing-centos-on-lvm/and did create a two-disk mirror... (1 Reply)
Hello,
I want to delete a RAID configuration an old server has.
Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton?
I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
Hello,
I have a scsi pci x raid controller card on which I had created a disk array of 3 disks
when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk )
suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Hi,
I tried to setup a Riad 0+1 but I found no step by step manual to follow so I tried on my own ;)
I'd already configured a mirror for the OS on my Solaris machines so I had an idea where to start. I have 9 drives in the server.
1. I configured the first two as a mirror for the OS.
2. I... (1 Reply)
Hello,
I have a RHEL system with two 500GB hard drives in RAID 1 (I think hardware, but not 100% certain - any way to tell?).
It looks like it was just set up in default configuration with a small boot partition and one huge partition for the rest, which composes a LVM volume.
I want... (1 Reply)
Hi,
I'm new to HP-UX.
I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3
Thanks (4 Replies)
Hi, there are tons of RAID1 tutorials, but none of them deal with lvm. The problem is that I want to expand my current lvm partition over RAID1 rather than creating a new lvm partition after RAID1 is created.
My master harddrive has lvm partition. I'm wondering how to create a RAID1 image of... (1 Reply)
if i want to create a raid 5 device on 3 disks I have, can I make multiple metadevices? all the example i see on the internet make use of the slice 2 placing the entire disk into the raid5 device.
what if i make 3 identical slices on each disk, and make 3 raid 5 metadevices? will that work? (1 Reply)