1 |
On Monday 06 July 2015 10:19:36 Alex Thorne wrote: |
2 |
> I guess I did mean mdraid, but would you mind explaining the difference |
3 |
> (I've never used raid so don't know much about this)? Is dmraid deprecated |
4 |
> in favour of mdadm? |
5 |
|
6 |
Dmraid is the fake RAID that's included on most motherboards these days; it's |
7 |
meant for use with Windows and is enabled (or not) in the BIOS. There are |
8 |
Linux drivers, but we're always advised to use mdraid instead. Mdraid is all |
9 |
in software spread over the kernel, udev and user space*; it's not influenced |
10 |
at all by Windows as far as I know. Mdadm is the user-space administration |
11 |
program that comes with mdraid. |
12 |
|
13 |
Mdadm creates /dev/mdX from one or more /dev/sdX or similar - e.g. my /dev/md1 |
14 |
is built on /dev/sd[ab]1; /dev/md5 is on /dev/sd[ab]5 and /dev/md7 is on |
15 |
/dev/sd[ab]7. That last one also has LVM on it with a dozen or more logical |
16 |
volumes for segments of my overall file system. |
17 |
|
18 |
If you want to play with mdraid, the old Gentoo guide is succinct but useful: |
19 |
|
20 |
http://wwwold.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml |
21 |
|
22 |
Well, it was, but suddenly it isn't there - even Google's search results end |
23 |
up in an empty page. |
24 |
|
25 |
Ah, I've found the new version at https://wiki.gentoo.org/wiki/LVM . It must |
26 |
be very new - would you like to test it? :-) |
27 |
|
28 |
* Yes, I know that udev runs in user space (="User Device" management) but I |
29 |
thought it was worth mentioning separately. |
30 |
|
31 |
-- |
32 |
Rgds |
33 |
Peter |