NetBSD-Bugs archive

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

Re: bin/53956: raidframe fails to create raid set



On Feb 7,  8:53am, oster%netbsd.org@localhost (Greg Oster) wrote:
-- Subject: Re: bin/53956: raidframe fails to create raid set

| On Thu,  7 Feb 2019 13:40:00 +0000 (UTC)
| he%NetBSD.org@localhost wrote:
| 
| > >Number:         53956
| > >Category:       bin
| > >Synopsis:       raidframe fails to create raid set
| > >Confidential:   no
| > >Severity:       serious
| > >Priority:       medium
| > >Responsible:    bin-bug-people
| > >State:          open
| > >Class:          sw-bug
| > >Submitter-Id:   net
| > >Arrival-Date:   Thu Feb 07 13:40:00 +0000 2019
| > >Originator:     he%NetBSD.org@localhost
| > >Release:        NetBSD 8.0
| > >Organization:  
| > 	I try...
| > >Environment:  
| > System: NetBSD  8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC
| > 2018
| > mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC
| > amd64 Architecture: x86_64 Machine: amd64
| > >Description:  
| > 	I'm trying to configure raidframe on a "new" system, having
| > 	booted from the USB image.  I've labeled the disks using
| > 	disklabel:
| > 
| > # disklabel wd0
| > # /dev/rwd0:
| > type: ESDI
| > disk: MB2000EBZQC     
| > label: fictitious
| > flags:
| > bytes/sector: 512
| > sectors/track: 63
| > tracks/cylinder: 16
| > sectors/cylinder: 1008
| > cylinders: 3876021
| > total sectors: 3907029168
| > rpm: 3600
| > interleave: 1
| > trackskew: 0
| > cylinderskew: 0
| > headswitch: 0           # microseconds
| > track-to-track seek: 0  # microseconds
| > drivedata: 0 
| > 
| > 8 partitions:
| > #        size    offset     fstype [fsize bsize cpg/sgs]
| >  a:   2098176         0     4.2BSD   1024  8192  2000  # (Cyl.      0
| > -   2081*) d: 3907029168         0     unused      0     0        #
| > (Cyl.      0 - 3876020) e: 3904930992   2098176
| > RAID                     # (Cyl.   2081*- 3876020) # disklabel wd1
| > # /dev/rwd1:
| > type: ESDI
| > disk: MB2000EBZQC     
| > label: fictitious
| > flags:
| > bytes/sector: 512
| > sectors/track: 63
| > tracks/cylinder: 16
| > sectors/cylinder: 1008
| > cylinders: 3876021
| > total sectors: 3907029168
| > rpm: 3600
| > interleave: 1
| > trackskew: 0
| > cylinderskew: 0
| > headswitch: 0           # microseconds
| > track-to-track seek: 0  # microseconds
| > drivedata: 0 
| > 
| > 8 partitions:
| > #        size    offset     fstype [fsize bsize cpg/sgs]
| >  a:   2098176         0     4.2BSD   1024  8192  2000  # (Cyl.      0
| > -   2081*) d: 3907029168         0     unused      0     0        #
| > (Cyl.      0 - 3876020) e: 3904930992   2098176
| > RAID                     # (Cyl.   2081*- 3876020)
| > 
| > 	and I've prepared a raid config file:
| > 
| > # ed /tmp/raid0.conf
| > /tmp/raid0.conf: No such file or directory
| > a
| > START array
| > 1 2 0
| > 
| > START disks
| > /dev/wd0e
| > /dev/wd1e
| > 
| > START layout
| > 32 1 1 0
| > 
| > START queue
| > fifo 100
| > .
| > w
| > 96
| > q
| > #
| > 
| > 	However, when using this with raidctl, it fails, and attempts
| > 	at initializing the raid also fails:
| > 
| > # raidctl -C /tmp/raid0.conf raid0
| > Hosed component: /dev/wd1e
| > Hosed component: /dev/wd0e
| > raid0: Ignoring /dev/wd0e
| [snip]
| > raid0: Components: /dev/wd0e[**FAILED**] /dev/wd1e[**FAILED**]

Can you dd some zeros in wd0e and wd1e and see if that changes the
situation?

christos


Home | Main Index | Thread Index | Old Index