You are not logged in.

#1 2009-12-25 14:12:42

kaizoku
Member
Registered: 2009-01-09
Posts: 62

Questions on mdadm

I came across this article http://www.uplinkzero.com/howto/arch_li … tion_guide

I have a few questions to ask.

What is the difference between that setup and just using 1 array.

[root@archlive ~]# mdadm --create --verbose /dev/md1 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1
[root@archlive ~]# mdadm --create --verbose /dev/md2 --level=1 --raid-devices=2 /dev/sda2 /dev/sdb2
[root@archlive ~]# mdadm --create --verbose /dev/md3 --level=0 --raid-devices=2 /dev/sda3 /dev/sdb3
[root@archlive ~]# mdadm --create --verbose /dev/md4 --level=0 --raid-devices=2 /dev/sda4 /dev/sdb4
[root@archlive ~]# mkfs.ext2 /dev/md1
[root@archlive ~]# mkfs.ext3 /dev/md3
[root@archlive ~]# mkreiserfs /dev/md4
[root@archlive ~]# mkswap /dev/md2
[root@archlive ~]# swapon /dev/md2

compared to

[root@archlive ~]# mdadm --create --verbose /dev/md0 --level=0 --raid-devices=2 /dev/sda /dev/sdb
[root@archlive ~]# cfdisk /dev/md0
[root@archlive ~]# mkfs.ext2 /dev/md0p1
[root@archlive ~]# mkfs.ext3 /dev/md0p3
[root@archlive ~]# mkreiserfs /dev/md0p4
[root@archlive ~]# mkswap /dev/md0p2
[root@archlive ~]# swapon /dev/md0p2

Also it says "/boot must be RAID1", why so?

Offline

#2 2009-12-25 16:55:16

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Questions on mdadm

Boot must be on a separate device......


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2009-12-25 17:36:49

_AA_
Member
From: Maidstone, UK
Registered: 2008-07-14
Posts: 19
Website

Re: Questions on mdadm

I replied here http://bbs.archlinux.org/viewtopic.php?id=87425

You shouldn't post the same thing in multiple places.

Offline

#4 2009-12-25 18:12:26

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Questions on mdadm

-

Last edited by hokasch (2014-01-07 21:00:07)

Offline

Board footer

Powered by FluxBB