Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Cc: Neil Bothwick <neil@××××××××××.uk>
Subject: Re: [gentoo-user] New drive devices after install
Date: Sat, 19 Feb 2011 15:04:05
Message-Id: AANLkTikyzyJwASQQNEUAW_H7nBGvQYhsp03nzdRy-HH_@mail.gmail.com
1 On Sat, Feb 19, 2011 at 2:01 AM, Neil Bothwick <neil@××××××××××.uk> wrote:
2 > On Fri, 18 Feb 2011 17:54:56 -0700, Mike Diehl wrote:
3 >
4 >> I just finished a new (RAID1) installation and most if it is working
5 >> just fine.
6 >>
7 >> However, I don't have any drive device files in /dev/.  I'd expect to
8 >> see hda, hdb,md{1-3}
9 >
10 > Something changed recently, my RAID devices are now md126 and md127.
11 >
12 >
13 > --
14 > Neil Bothwick
15 >
16 > If at first you don't succeed, redefine success.
17 >
18
19 I see the same thing here. I'm in the middle of an install so I create
20 /dev/md3 to build my RAID1. I build it, install, chroot, do the work,
21 install grub, reboot and it's md126. The problem is that the machine
22 name changes between the install and the reboot.
23
24 The change apparently has something to do with a decision to only
25 assemble Version 1.+ superblocks with the right name when the name
26 field matches something in the superblock.
27
28 Apparently you can set up the naming as you wish using
29
30 mdadm --update=homehost
31 mdadm --update=name
32
33 but I don't feel confident enough yet to do it.
34
35 c2stable ~ # mdadm --detail /dev/md126
36 /dev/md126:
37 Version : 0.90
38 Creation Time : Tue Apr 13 09:02:34 2010
39 Raid Level : raid1
40 Array Size : 52436032 (50.01 GiB 53.69 GB)
41 Used Dev Size : 52436032 (50.01 GiB 53.69 GB)
42 Raid Devices : 3
43 Total Devices : 3
44 Preferred Minor : 126
45 Persistence : Superblock is persistent
46
47 Update Time : Sat Feb 19 06:13:16 2011
48 State : clean
49 Active Devices : 3
50 Working Devices : 3
51 Failed Devices : 0
52 Spare Devices : 0
53
54 UUID : edb0ed65:6e87b20e:dc0d88ba:780ef6a3
55 Events : 0.248829
56
57 Number Major Minor RaidDevice State
58 0 8 5 0 active sync /dev/sda5
59 1 8 21 1 active sync /dev/sdb5
60 2 8 37 2 active sync /dev/sdc5
61 c2stable ~ #
62
63 - Mark