kern/124969: gvinum(8): gvinum raid5 plex does not detect missing subdisk

Dan Ports drkp-f at ambulatoryclam.net
Tue Jul 29 00:00:12 UTC 2008


The following reply was made to PR kern/124969; it has been noted by GNATS.

From: Dan Ports <drkp-f at ambulatoryclam.net>
To: Ulf Lilleengen <lulf at stud.ntnu.no>
Cc: bug-followup at FreeBSD.org
Subject: Re: kern/124969: gvinum(8): gvinum raid5 plex does not detect
	missing subdisk
Date: Mon, 28 Jul 2008 16:53:05 -0700

  I finally got a chance to try your patch (unfortunately, work and life
 intervened for a couple of weeks). I had to make a minor change or two
 to get it to compile (e.g. a missing brace). Will provide an updated
 patch shortly.
 
  Unfortunately, though the missing disk is now detected, the plex
 configuration is not quite right. Here's the output:
 
 3 drives:
 D b                     State: up       /dev/ad11s1d    A: 0/474891 MB (0%)
 D a                     State: up       /dev/ad10s1d    A: 0/474891 MB (0%)
 D c                     State: down     /dev/???        
 
 1 volume:
 V space                 State: up       Plexes:       1 Size: 463 GB
 
 1 plex:
 P space.p0           R5 State: degraded Subdisks:     2 Size: 463 GB
 
 3 subdisks:
 S space.p0.s0           State: up       D: a            Size: 463 GB
 S space.p0.s1           State: stale    D: b            Size: 463 GB
 S space.p0.s2           State: down     D: c            Size: 0
 
  Note that drive c / subdisk s2 are correctly missing, but the plex
 still contains only two subdisks and is half as large as it should be.
 Also, not sure why subdisk s1 is marked stale.
 
  Thanks,
 
  Dan
 
 -- 
 Dan R. K. Ports                              <drkp-f at ambulatoryclam.net>
 Research Henchman
 Massachusetts Institute of Technology                     <drkp at mit.edu>
 Computer Science and Artificial Intelligence Lab    <drkp at csail.mit.edu>                            


More information about the freebsd-geom mailing list