View previous topic :: View next topic |
Author |
Message |
Zarhan l33t
Joined: 27 Feb 2004 Posts: 996
|
Posted: Sat Oct 13, 2012 10:34 am Post subject: Is dmraid45 still needed for Intel RST-based Raid5? |
|
|
I'm still running kernel 2.6.39 in my desktop, which dual-boots to Windows. It's using Intel Fakeraid. I've heard that the built-in raid (that doesn't need the patches listed at http://en.gentoo-wiki.com/wiki/RAID/dm-raid45 ) support in kernel can in more recent versions detect the raid volumes in Intel's format without the needing any patches.
Is this true?
If yes, what steps do I need to do when upgrading my kernel? What userspace programs do I need? Do I need to switch from dmraid to mdadm or something like that? I've been using genkernel for the actual kernel building since initrd is needed for initializing the raid volumes.
(If not true, pointers to dmraid45 patch for recent kernels much appreciated) |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sat Oct 13, 2012 3:56 pm Post subject: |
|
|
Zarhan,
Yes its true - you need mdadm in userspace I'm not sure what you need in the kernel.
Install mdadm and read its man page - that may help. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Zarhan l33t
Joined: 27 Feb 2004 Posts: 996
|
Posted: Thu Nov 22, 2012 5:30 am Post subject: |
|
|
I've been trying to look into this, but haven't been able to find any simple guide on how to migrate from dmraid-based Intel RST to mdadm-based one. Anyone got a pointer? The metadata on the disk shouldn't change, just the kernel module and userspace tools used to access it. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Thu Nov 22, 2012 6:50 pm Post subject: |
|
|
Zarhan,
Read the mdadm man page - particularly the bit about containers.
I'm not sure about the metadata in disk not changing. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Zarhan l33t
Joined: 27 Feb 2004 Posts: 996
|
Posted: Fri Jan 25, 2013 12:52 pm Post subject: |
|
|
Turns out that all I had to do was compile a new kernel, install mdadm, and do a genkernel recompilation. Easier than I thought. Initramfs as built by genkernel automounted the whole shebang.
I didn't even run into the problem that some folks had about raid volumes being marked dirty (https://bugs.gentoo.org/show_bug.cgi?id=395203 ) |
|
Back to top |
|
|
Zarhan l33t
Joined: 27 Feb 2004 Posts: 996
|
|
Back to top |
|
|
|