Re: [opensuse] happy "dmraid" at boot
You have RAID1 but I have RAID5 which I'm installing Linux on it. dmraid -r /dev/sdc: isw, "isw_dihgfaif", GROUP, ok, 488397165 sectors, data@ 0 /dev/sdb: isw, "isw_dihgfaif", GROUP, ok, 488397165 sectors, data@ 0 /dev/sda: isw, "isw_dihgfaif", GROUP, ok, 488397165 sectors, data@ 0 dmraid -s *** Group superset isw_dihgfaif --> Active Subset name : isw_dihgfaif_Volume0 size : 209715200 stride : 128 type : raid5_la status : ok subsets: 0 devs : 3 spares : 0 --> Active Subset name : isw_dihgfaif_Volume1 size : 767059968 stride : 128 type : raid5_la status : ok subsets: 0 devs : 3 spares : 0 Also the only raid I used with Linux before was mdadm - it supported mirror too. Actually if I just wanted use raid1 I wouldn't buy nothing since Linux can set it up anyway. You had that system since 10.3 but this's the first time I put Linux in this system. So you have 3 disks? David C. Rankin wrote: I must be missing something, but I've been using dmraid since 10.3 and I have never had to recompile anything. In fact, I have never had to do anything other than set the dmraid up during install with the yast partitioner and make sure that raid was designated as bootable in my bios settings: 01:56 ecstasy:~> sudo dmraid -s nvidia_fdaacfde *** Active Set name : nvidia_fdaacfde size : 976773120 stride : 128 type : mirror status : ok subsets: 0 devs : 2 spares : 0 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Yas say wrote:
You have RAID1 but I have RAID5 which I'm installing Linux on it.
<snip>
Also the only raid I used with Linux before was mdadm - it supported mirror too. Actually if I just wanted use raid1 I wouldn't buy nothing since Linux can set it up anyway. You had that system since 10.3 but this's the first time I put Linux in this system.
So you have 3 disks?
Yep, but only 2 in my RAID1 [11:53 ecstasy:/home/backup/ecstasy/config] # cat /proc/partitions major minor #blocks name 8 0 488386584 sda 8 1 1 sda1 8 5 72229 sda5 8 6 2104483 sda6 8 7 20972826 sda7 8 8 465234336 sda8 8 16 488386584 sdb 8 17 1 sdb1 8 21 72229 sdb5 8 22 2104483 sdb6 8 23 20972826 sdb7 8 24 465234336 sdb8 8 32 488386584 sdc 8 33 20972826 sdc1 8 34 467411175 sdc2 253 0 488386583 dm-0 253 1 488384001 dm-1 253 2 72229 dm-2 253 3 2104483 dm-3 253 4 20972826 dm-4 253 5 465234336 dm-5 Having never tried RAID5 before, I didn't know a recompile would be necessary. But, I do agree with your basic premise that dmraid works great and openSuSE should fully get behind it and support it. They have been making improvements on properly handling dmraid arrays on install and making grub behave properly with them. See: https://bugzilla.novell.com/show_bug.cgi?id=445602 -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, Jan 19, 2009 at 2:08 PM, David C. Rankin
Yas say wrote:
You have RAID1 but I have RAID5 which I'm installing Linux on it.
<snip>
Also the only raid I used with Linux before was mdadm - it supported mirror too. Actually if I just wanted use raid1 I wouldn't buy nothing since Linux can set it up anyway. You had that system since 10.3 but this's the first time I put Linux in this system.
So you have 3 disks?
Yep, but only 2 in my RAID1
[11:53 ecstasy:/home/backup/ecstasy/config] # cat /proc/partitions major minor #blocks name
8 0 488386584 sda 8 1 1 sda1 8 5 72229 sda5 8 6 2104483 sda6 8 7 20972826 sda7 8 8 465234336 sda8 8 16 488386584 sdb 8 17 1 sdb1 8 21 72229 sdb5 8 22 2104483 sdb6 8 23 20972826 sdb7 8 24 465234336 sdb8 8 32 488386584 sdc 8 33 20972826 sdc1 8 34 467411175 sdc2 253 0 488386583 dm-0 253 1 488384001 dm-1 253 2 72229 dm-2 253 3 2104483 dm-3 253 4 20972826 dm-4 253 5 465234336 dm-5
Having never tried RAID5 before, I didn't know a recompile would be necessary. But, I do agree with your basic premise that dmraid works great and openSuSE should fully get behind it and support it. They have been making improvements on properly handling dmraid arrays on install and making grub behave properly with them.
Just a reminder that the basic Linux approach to software raid is to use mdraid (software raid) if you can. If that cannot satisfy your needs, then move to dmraid (fake raid). Personally, I am seriously considering using mdraid in a project soon, but I don't envision myself ever using dmraid. I guess you never know so I won't rule it out. Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Greg Freemyer wrote:
Just a reminder that the basic Linux approach to software raid is to use mdraid (software raid) if you can. If that cannot satisfy your needs, then move to dmraid (fake raid).
Personally, I am seriously considering using mdraid in a project soon, but I don't envision myself ever using dmraid. I guess you never know so I won't rule it out.
Greg
Greg, I think you are missing out. I have heard people tell me how bad fake raid is, blah, blah, blah but I was never able to get an answer to the simple question of why?. The first raid I ever put together was fake raid on a Gigabyte GA-7N400S that has the nVidia nForce2 MCP RAID chip. That was in 2007. Since then I have put at least 3 more, maybe 4, together and I have had zero problems. I also have 2 systems running mdraid. Same results. I have tried to find a performance difference to distinguish the two in my mind -- without any luck. From the hdparm and real world copy standpoint, I don't see a performance hit compared to a single drive, much less between the raid packages. The dmraid bonus for rebuilding is that the hardware takes care of the rebuild before you are even running on the array. Now, I don't know how it compares in hot-swap features and ability, but for my 2 disk raid1 arrays, I've never seen it stumble and I've had zero issues -- knock on wood... -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 19 Jan 2009 13:08:38 -0600, you wrote:
But, I do agree with your basic premise that dmraid works great and openSuSE should fully get behind it and support it. They have been making improvements on properly handling dmraid arrays on install and making grub behave properly with them.
Dmraid managed RAID5 should work out of the box as do RAID0 and RAID1. I have yet to see a comprehensive report that would allow a proper analysis of the problem. If he would for exanple open a bugzilla report I'm shure he would get helped. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
David C. Rankin
-
Greg Freemyer
-
Philipp Thomas
-
Yas say