Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Strange boot problems on amd64-current (6.99.40)



On Sun, 11 May 2014, Christos Zoulas wrote:

Ok,

boot device: raid0
root on raid0e dumps on raid0b

This is what you get for the working kernel too? Everything in the logs
looks fine. Can you boot from a usb stick, let the raids autoconfig, mount
them and see if they are what you expect them to be?

On the working kernel (6.99.28, sources dated 2013-12-09 01:36:15), I get what I would expect:

        raid0: RAID Level 1
        raid0: Components: /dev/wd0e /dev/wd1e
        raid0: Total Sectors: 488395008 (238474 MB)
        raid1: RAID Level 1
        raid1: Components: /dev/wd2e /dev/wd3e
        raid1: Total Sectors: 976770944 (476938 MB)
  >>>  boot device: raid0
  >>>  root on raid0a dumps on raid0b

Note that root is on raid0a and not on raid0e

Note also that there is another raidset, raid1. It also autoconfigures, and everything is as desired. Details for raid1:

Disklabel/partition table for the component devices:

# /dev/rwd2d:
type: ESDI
disk: WDC WD5000AADS-0
label: fictitious
...
5 partitions:
#        size    offset  fstype [fsize bsize cpg/sgs]
 c: 976771120      2048   unused      0     0      # (Cyl.      2*- 969020)
 d: 976773168         0   unused      0     0      # (Cyl.      0 - 969020)
 e: 976771120      2048     RAID                   # (Cyl.      2*- 969020)

Disklabel/partition table for the raid1 device:

# /dev/rraid1d:
type: RAID
disk: raid
label: fictitious
...
7 partitions:
#        size    offset fstype [fsize bsize cpg/sgs]
 c: 976770944         0  unused      0     0      # (Cyl.      0 - 953877*)
 d: 976770944         0  unused      0     0      # (Cyl.      0 - 953877*)
 e: 536870912         0  4.2BSD   2048 16384   0  # (Cyl.      0 - 524287)
 f: 104857600 536870912  4.2BSD   2048 16384   0  # (Cyl. 524288 - 626687)
 g: 335042432 641728512  4.2BSD   2048 16384   0  # (Cyl. 626688 - 953877*)

/etc/raid1.conf

START array
1 2 0
#
START disks
/dev/wd2e
/dev/wd3e
#
START layout
128 1 1 1
#
START queue
fifo 100

And the partitions mount just fine:

# df | grep raid
/dev/raid0a    20643566    5950562   13660826  30% /
/dev/raid0e    61931242    2200732   56633948   3% /home
/dev/raid1e   264246104  157049848   93983952  62% /build
/dev/raid1f    51610346    3834122   45195708   7% /var/www


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index