public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] New drive devices after install
@ 2011-02-19  0:54 Mike Diehl
       [not found] ` <20110219100111.00c0577e@digimed.co.uk>
  2011-02-19 20:13 ` [gentoo-user] " James
  0 siblings, 2 replies; 3+ messages in thread
From: Mike Diehl @ 2011-02-19  0:54 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 627 bytes --]

Hi all,

I just finished a new (RAID1) installation and most if it is working just
fine.

However, I don't have any drive device files in /dev/.  I'd expect to see
hda, hdb,md{1-3}

The only error I get on boot is where fsck can't open /dev/md3.  Then the
system boots up just fine.  /proc/mdstat tells me that md1, md2, and md3 are
all active.  The df command tells me that /dev/md3 is mounted on /, but
there are no such nodes.

I'm thinking that they got "mounted over" by udev, but I don't know how to
fix it.

Can someone throw me a bone on this one?

TIA,
--

Take care and have fun,
Mike Diehl.


[-- Attachment #2: Type: text/html, Size: 812 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] New drive devices after install
       [not found] ` <20110219100111.00c0577e@digimed.co.uk>
@ 2011-02-19 14:25   ` Mark Knecht
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Knecht @ 2011-02-19 14:25 UTC (permalink / raw
  To: gentoo-user; +Cc: Neil Bothwick

On Sat, Feb 19, 2011 at 2:01 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Fri, 18 Feb 2011 17:54:56 -0700, Mike Diehl wrote:
>
>> I just finished a new (RAID1) installation and most if it is working
>> just fine.
>>
>> However, I don't have any drive device files in /dev/.  I'd expect to
>> see hda, hdb,md{1-3}
>
> Something changed recently, my RAID devices are now md126 and md127.
>
>
> --
> Neil Bothwick
>
> If at first you don't succeed, redefine success.
>

I see the same thing here. I'm in the middle of an install so I create
/dev/md3 to build my RAID1. I build it, install, chroot, do the work,
install grub, reboot and it's md126. The problem is that the machine
name changes between the install and the reboot.

The change apparently has something to do with a decision to only
assemble Version 1.+ superblocks with the right name when the name
field matches something in the superblock.

Apparently you can set up the naming as you wish using

mdadm --update=homehost
mdadm --update=name

but I don't feel confident enough yet to do it.

c2stable ~ # mdadm --detail /dev/md126
/dev/md126:
        Version : 0.90
  Creation Time : Tue Apr 13 09:02:34 2010
     Raid Level : raid1
     Array Size : 52436032 (50.01 GiB 53.69 GB)
  Used Dev Size : 52436032 (50.01 GiB 53.69 GB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 126
    Persistence : Superblock is persistent

    Update Time : Sat Feb 19 06:13:16 2011
          State : clean
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0

           UUID : edb0ed65:6e87b20e:dc0d88ba:780ef6a3
         Events : 0.248829

    Number   Major   Minor   RaidDevice State
       0       8        5        0      active sync   /dev/sda5
       1       8       21        1      active sync   /dev/sdb5
       2       8       37        2      active sync   /dev/sdc5
c2stable ~ #

- Mark



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: New drive devices after install
  2011-02-19  0:54 [gentoo-user] New drive devices after install Mike Diehl
       [not found] ` <20110219100111.00c0577e@digimed.co.uk>
@ 2011-02-19 20:13 ` James
  1 sibling, 0 replies; 3+ messages in thread
From: James @ 2011-02-19 20:13 UTC (permalink / raw
  To: gentoo-user

Mike Diehl <mdiehl <at> diehlnet.com> writes:


> I just finished a new (RAID1) installation and most if it is working just fine.


Hello Mike,

Here are a couple of links, that I ran across recently,
 that you might find useful, if you do not already have them:

http://www.magma.com.ni/moin/EnterpriseNumber/1.3.6.1.4.1.22692.2.7243

https://raid.wiki.kernel.org/index.php/Linux_Raid


hth,
James




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-19 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-19  0:54 [gentoo-user] New drive devices after install Mike Diehl
     [not found] ` <20110219100111.00c0577e@digimed.co.uk>
2011-02-19 14:25   ` Mark Knecht
2011-02-19 20:13 ` [gentoo-user] " James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox