GEOM_RAID3: Device datos is broken, too few valid components

José M. Fandiño freebsd4 at fadesa.es
Fri Apr 7 07:50:07 UTC 2006


"José M. Fandiño" wrote:
> 
> Pawel Jakub Dawidek wrote:
> > +>  Unfortunately, the metadata structure of my data partition (a geom raid3
> > +> array with tree components   ) seems to be corrupted by this hard lock,
> > +> the following message is scrolled constantly on the screen:
> > +>
> > +> GEOM_RAID3: Device datos created (id=3217021940).
> > +> GEOM_RAID3: Device datos: provider ad6s2 detected.
> > +> GEOM_RAID3: Device datos: provider ad5s2 detected.
> > +> GEOM_RAID3: Device datos: provider ad4s2 detected.
> > +> GEOM_RAID3: Component ad6s2 (device datos) broken, skipping.
> > +> GEOM_RAID3: Component ad4s2 (device datos) broken, skipping.
> > +> GEOM_RAID3: Device datos is broken, too few valid components.
> > +> GEOM_RAID3: Device datos destroyed.
> > +>
> > +> Checking the search engine results it isn't a very usual problem, the advice
> > +> in the returned hits is rerunning "graid label -h datos ad4s2 ad5s2 ad6s2",
> > +> but before of erasing all my data I would like to ask to list members.
> > +>
> > +> How dangerous is running the mentioned command in this context?
> >
> > You should be safe as long as the order of slices you give here is the
> > same as it was when device was initially labeled.
> 
> I don't remember the exact order (my history file is only 2000 lines
> long :) however I'm going to duplicate two disks, because they are
> the minimum necessary to reconstruct the raid3, and I will do some tests
> over them, so I can maintain intact the original disks.

Pawel,

 there is a 'dump' parameter for graid3 (it isn't mentioned in the manual
page but you can see it if you run graid3 in help mode)

would it be sufficient follow the order indicated by the 'no' field?

something like:

graid3 label -h datos ad5s2 ad6s2 ad4s2


# graid3 dump ad4s2
Metadata on ad4s2:
     magic: GEOM::RAID3
   version: 4
      name: datos
        id: 3217021940
        no: 2
       all: 3
     genid: 2
    syncid: 24
 mediasize: 311491352576
sectorsize: 1024
syncoffset: 0
    mflags: ROUND-ROBIN
    dflags: NONE
hcprovider: 
  provsize: 155745676800
  MD5 hash: 3592c58adc68a476ce5253d2629f5c77

# graid3 dump ad4s  5s2
Metadata on ad5s2:
     magic: GEOM::RAID3
   version: 4
      name: datos
        id: 3217021940
        no: 0
       all: 3
     genid: 0
    syncid: 24
 mediasize: 311491352576
sectorsize: 1024
syncoffset: 0
    mflags: ROUND-ROBIN
    dflags: NONE
hcprovider: 
  provsize: 155745676800
  MD5 hash: 5dc9f22fb87c2d14c80cbd6b84dc4496

# graid3 dump ad6s2
Metadata on ad6s2:
     magic: GEOM::RAID3
   version: 4
      name: datos
        id: 3217021940
        no: 1
       all: 3
     genid: 2
    syncid: 24
 mediasize: 311491352576
sectorsize: 1024
syncoffset: 0
    mflags: ROUND-ROBIN
    dflags: DIRTY
hcprovider: 
  provsize: 155745676800
  MD5 hash: 75f9c48df82fcbd75b1b5d6abc4c763c

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d- s+:+() a32 C+++ UBL+++$ P+ L+++ E--- W++ N+ o++ K- w---
O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++ DI D++>+++
G++ e- h+(++) !r !z
------END GEEK CODE BLOCK------


More information about the freebsd-stable mailing list