Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2000 17:13:04 +1300
From:      "Dan Langille" <dan@freebsddiary.org>
To:        Greg Lehey <grog@lemis.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: vinum volume dies.  fsck can help?
Message-ID:  <200002160413.RAA21007@ducky.nz.freebsd.org>
In-Reply-To: <20000211121558.E76521@freebie.lemis.com>
References:  <200002102051.JAA20685@ducky.nz.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11 Feb 00, at 12:15, Greg Lehey wrote:

> On Friday, 11 February 2000 at  9:51:06 +1300, Dan Langille wrote:
> > I have a box with three SCSI drives (da0 - da2).   da1 and da2 are a
> > single vinum volume
> >
> > vinum: loaded
> > Can't open history file /var/tmp/vinum_history: No such file or directory
> > (2) vinum: reading configuration from /dev/da2s1e vium: updating
> > configuration from /dev/da1s1e vium: /dev is mounted read-only, not
> > rebuilding /dev/vinum Waring defective object
> >
> > p nzmirror.p0        S State: corrupt    Subdisk:        2 Size:     
> > 2002MB S nzmirrot.p0.s1       State: stale      Po:        256 kB Size:  
> >    1001MB swapon: adding /dev/da0s1b as swap device Automatic reboot in
> > progress...
> >
> > [stuff about /dev/rda0s1* snipped]
> >
> > /dev/vinum/nzmirror: CANNOT READ: BLK 1247904
> > /dev/vinum/nzmirror: UNEPECTED INCONSISTENCY: run fsck
> > MANUALLY.
> > THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED
> > INCONSISTENCY:
> >     /dev/vinum/rnzmirror (/nsmirror)
> >
> > It then drops to single user mode.
> >
> > Should I be running fsck -y /nzmirror or fsck -y
> > /dev/vinum/rnzmirror ?
> 
> /dev/vinum/rnzmirror, if you're running 3.x..
> 
> > Offhand, It sounds to me like the disk is dead.
> 
> Yes, or it died.  Do a 'camcontrol devlist' to see if it's even
> recognized.  'vinum l -V nzmirrot.p0.s1' will tell you which device
> should be up.  If it's there, you're going to have to start the drive
> and the subdisk.

[root@fred:~] # camcontrol devlist
<DEC RZ25M    (C) DEC 0680>        at scbus0 target 0 lun 0 
(pass0,da0)
<COMPAQ M2694ES-512 959F>          at scbus0 target 1 lun 0 
(pass1,da1)
<COMPAQ M2694ES-512 959F>          at scbus0 target 6 lun 0 
(pass2,da2)

[root@fred:~] # vinum l -V nzmirror.p0.s1
Subdisk nzmirror.p0.s1:
                Size:       1049624576 bytes (1001 MB)
                State: crashed
                Plex nzmirror.p0 at offset 262144 (256 kB)
                Drive state () at offset 135680 (132 kB)

[root@fred:~] # vinum start
** no drives found: No such file or directory
Warning: defective objects

D state                 State: referenced       Device  Avail: 0/0 MB
P nzmirror.p0         S State: corrupt  Subdisks:     2 Size:       2002 MB
S nzmirror.p0.s1        State: crashed  PO:      256 kB Size:       1001 
MB


# fsck -n /dev/vinum/rnzmirror
** /dev/vinum/rnzmirror (NO WRITE)
** Last mounted on /nzmirror
** Phase 1 - Check Blocks and Sizes

checking the console I see:

Fatal Trap 12: page fault while in kernel mode
[I have more here, but have to type it manually.  do you want it?  if so,
what bits?]
--
Dan Langille - DVL Software Limited [I'm looking for more work]
The FreeBSD Diary     - http://www.freebsddiary.org/
NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/
The Racing System     - http://www.racingsystem.com/
unix @ home           - http://www.unixathome.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002160413.RAA21007>