Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Raid1 & fstab
Date: Mon, 11 Apr 2011 18:11:56
Message-Id: loom.20110411T200622-944@post.gmane.org
In Reply to: Re: [gentoo-user] Raid1 & fstab by Thanasis
1 Thanasis <thanasis <at> asyr.hopto.org> writes:
2
3
4 > I guess you have made md2 a RAID0 for swap, right (post the output of:
5 > cat /proc/mdstat)?
6
7 nope, swap is raid1
8
9 > I think you don't need to put swap on RAID0.
10
11 I agree. Everything I read did say may swap on raid 1
12 so if a disk fails, your swap still works....
13
14 (chroot) slam / # cat /proc/mdstat
15 Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
16 md3 : active raid1 sdb3[1] sda3[0]
17 1948226512 blocks super 1.2 [2/2] [UU]
18
19 md2 : active raid1 sdb2[1] sda2[0]
20 5022708 blocks super 1.2 [2/2] [UU]
21
22 md1 : active raid1 sdb1[1] sda1[0]
23 262132 blocks super 1.2 [2/2] [UU]
24
25 unused devices: <none>
26
27
28 none /proc proc defaults 0 0
29 /dev/cdrom /mnt/cdrom auto noauto,rw,user 0 0
30 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
31
32 /dev/md1 /boot ext4 noauto,noatime 1 2
33 /dev/md3 / ext4 noatime 0 1
34 /dev/md2 swap swap defaults 0 0
35
36
37 (still in chroot)
38
39 new post on raid 1 grub ext4 soon....
40
41
42 James