Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2000 14:49:52 +1300
From:      "Dan Langille" <dan@langille.org>
To:        freebsd-questions@freebsd.org
Subject:   stale/corrupt vinum volumes
Message-ID:  <200012080150.OAA33830@ducky.nz.freebsd.org>

next in thread | raw e-mail | index | archive | help
I'm running FreeBSD 3.3-19991207-SNAP and I noticed this earlier today:

Dec  8 12:28:53 fred /kernel: nzmirror.p0.s1: fatal write I/O error
Dec  8 12:28:53 fred /kernel: vinum: nzmirror.p0.s1 is stale by force
Dec  8 12:28:53 fred /kernel: vinum: nzmirror.p0 is corrupt
Dec  8 12:29:53 fred /kernel: nzmirror.p0.s1: fatal write I/O error

then

Dec  8 12:31:23 fred /kernel: vinum: drive d2 is down
Dec  8 12:31:24 fred /kernel: vinum: Can't write config to /dev/da2s1e, error 5
Dec  8 12:31:24 fred /kernel: (da2:ncr0:0:4:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 
Dec  8 12:31:24 fred /kernel: (da2:ncr0:0:4:0): NOT READY asc:4,0
Dec  8 12:31:24 fred /kernel: (da2:ncr0:0:4:0): Logical unit not ready, cause not reportable

Below are some other observations.  Everything on the drives can be recovered 
(its cvsup.nz.freebsd.org), but I'd rather not do that until I can source some
replacement drives.

thanks


[root@fred:/apache] # cd /usr/local/www/        
[root@fred:/usr/local/www] # ls
cgi-bin         cgi-bin.default data            icons
[root@fred:/usr/local/www] # cd data
su: cd: data: Input/output error
[root@fred:/usr/local/www] # ls
cgi-bin         cgi-bin.default data            icons
[root@fred:/usr/local/www] # ls -l
ls: cgi-bin: Input/output error
ls: data: Input/output error
ls: icons: Input/output error
total 1
drwxr-xr-x  2 root  wheel  512 May  5  2000 cgi-bin.default


[root@fred:/usr/local/www] # vinum info
Flags: 0x80204
Total of 9 blocks malloced, total memory: 9760
Maximum allocs:       15, malloc table at 0xc06b6864
[root@fred:/usr/local/www] # vinum list
Configuration summary

Drives:         2 (4 configured)
Volumes:        1 (4 configured)
Plexes:         1 (8 configured)
Subdisks:       2 (16 configured)

D d1                    State: up       Device /dev/da1s1e      Avail: 0/1001 MB (0%)
D d2                    State: up       Device /dev/da2s1e      Avail: 0/1001 MB (0%)

V nzmirror              State: up       Plexes:       1 Size:       2002 MB

P nzmirror.p0         S State: corrupt  Subdisks:     2 Size:       2002 MB

S nzmirror.p0.s0        State: up       PO:        0  B Size:       1001 MB
S nzmirror.p0.s1        State: stale    PO:      256 kB Size:       1001 MB
[root@fred:/usr/local/www] # camcontrol devlist
<DEC RZ25M    (C) DEC 0680>        at scbus0 target 0 lun 0 (pass0,da0)
<COMPAQ M2694ES-512 959F>          at scbus0 target 2 lun 0 (pass1,da1)
<COMPAQ M2694ES-512 959F>          at scbus0 target 4 lun 0 (pass2,da2)
<NEC CD-ROM DRIVE:841 1.0>         at scbus0 target 6 lun 0 (pass3,cd0)

[root@fred:/usr/local/www] # vinum l -V nzmirror.p0
Plex nzmirror.p0:       Size:   2099249152 bytes (2002 MB)
                Subdisks:        2
                State: corrupt
                Organization: striped   Stripe size: 256 kB
                Part of volume nzmirror

                Subdisk 0:      nzmirror.p0.s0
                  state: up     size  1049624576 (1001 MB)
                Subdisk 1:      nzmirror.p0.s1
                  state: stale  size  1049624576 (1001 MB)

[root@fred:/usr/local/www] # vinum l -V nzmirror.p0.s1
Subdisk nzmirror.p0.s1:
                Size:       1049624576 bytes (1001 MB)
                State: stale
                Plex nzmirror.p0 at offset 262144 (256 kB)
                Drive d2 (/dev/da2s1e) at offset 135680 (132 kB)

# vinum start
** no drives found: No such file or directory
Warning: defective objects

P nzmirror.p0         S State: corrupt  Subdisks:     2 Size:       2002 MB
S nzmirror.p0.s1        State: stale    PO:      256 kB Size:       1001 MB

--
Dan Langille
The FreeBSD Diary - http://www.freebsddiary.org/
          NZ ADSL - http://www.unixathome.org/adsl/
     NZ Broadband - http://www.unixathome.org/broadband/


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?200012080150.OAA33830>