NetBSD-Users archive

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

raid0 disappears



My raid 1 root partition is not found at boot, and I don't see what
is missing. Netbooting, I see:

$ dmesg | grep raid
[     3.193038] dk1 at wd0: "sysraid0", 16777216 blocks at 524328, type: raidframe
[     3.193038] dk3 at wd0: "usr0", 209715200 blocks at 34078760, type: raidframe
[     3.193038] dk4 at wd0: "home0", 209715200 blocks at 243793960, type: raidframe
[     3.263067] dk6 at wd1: "sysraid1", 16777216 blocks at 524328, type: raidframe
[     3.263067] dk8 at wd1: "usr1", 209715200 blocks at 34078760, type: raidframe
[     3.263067] dk9 at wd1: "home1", 209715200 blocks at 243793960, type: raidframe
[     5.193874] raid1: RAID Level 1
[     5.193874] raid1: Components: /dev/dk3 /dev/dk8
[     5.193874] raid1: Total Sectors: 209715072 (102399 MB)
[     5.203879] raid1: GPT GUID: b1fa28b2-aaed-4901-98b7-c54817e148cb
[     5.203879] dk10 at raid1: "usr", 209714992 blocks at 40, type: ffs
[     5.213883] raid2: RAID Level 1
[     5.213883] raid2: Components: /dev/dk4 /dev/dk9
[     5.213883] raid2: Total Sectors: 209715072 (102399 MB)

If I:

# cat > /etc/raid.conf
START array
2 0

START disks
/dev/dk1
/dev/dk6

START layout
128 1 1 1

START queue
fifo 100
# raidctl -c /etc/raid.conf raid0
# raidctl -s raid0
Components:
            /dev/dk1: optimal
            /dev/dk6: optimal
No spares.
Component label for /dev/dk1:
   Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 2018122300, Mod Counter: 1361302869
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 16777088
   RAID Level: 1
   Autoconfig: Yes
   Root partition: Soft
   Last configured as: raid0
Component label for /dev/dk6:
   Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 2018122300, Mod Counter: 1361302869
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 16777088
   RAID Level: 1
   Autoconfig: Yes
   Root partition: Soft
   Last configured as: raid0
Parity status: clean
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.


so it is there, and set to autoconfig. When I boot from the
disk, the kernel on raid0a is run, and I am offered raid1 and
raid2 partitions as possibilities, but raid0 is not listed.

(dk1 and dk6 start at 524328 as there is an efi partition
before it which is NOT used in this example. This is just
an ordinary BIOS + MBR boot - and the kernel is found. (PR 53808
for the efi problem.))

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index