Re: vinum: need help with crash recovery please

2003-08-14 Thread Greg 'groggy' Lehey
On Tuesday, 12 August 2003 at  0:53:06 +0200, Per olof Ljungmark wrote:
 Have production server harddisk problem, initially one disk (da5) was
 down, then replaced. When trying to add a new (hotswap) drive according
 to http://www.vinumvm.org/vinum/replacing-drive.html ,
 the system stopped and came up in the state seen below. Is there a way
 to get it back up or should I just rebuild from scratch, restore latest
 backup and loose a bit of data?

It's difficult to say.  We need more details first.  What do you mean
by system stopped?  Have you read
http://www.vinumvm.org/vinum/how-to-debug.html?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


vinum: need help with crash recovery please

2003-08-14 Thread Per olof Ljungmark
Have production server harddisk problem, initially one disk (da5) was 
down, then replaced. When trying to add a new (hotswap) drive according 
to http://www.vinumvm.org/vinum/replacing-drive.html ,
the system stopped and came up in the state seen below. Is there a way 
to get it back up or should I just rebuild from scratch, restore latest 
backup and loose a bit of data?

The data should still be fine I just don't know how to make it available...

Thank all

vinum.conf:
drive d0 device /dev/da0h
drive d1 device /dev/da1h
drive d2 device /dev/da2h
drive d3 device /dev/da3h
drive d4 device /dev/da4h
drive d5 device /dev/da5h
drive d6 device /dev/da6h
drive d7 device /dev/da7h
volume vn0
plex org raid5 419k
sd length 0 drive d0
sd length 0 drive d1
sd length 0 drive d2
sd length 0 drive d3
sd length 0 drive d4
sd length 0 drive d5
sd length 0 drive d6
sd length 0 drive d7
And now:

vinum - l -r
2 drives:
D d6State: up   Device /dev/da6hAvail: 
0/8678 MB (0%)
S vn0.p0.s6 State: up   PO: 2514 kB Size:   8678 MB

D d7State: up   Device /dev/da7hAvail: 
0/8678 MB (0%)
S vn0.p0.s7 State: up   PO: 2933 kB Size:   8678 MB

D d0State: referenced   Device  Avail: 0/0 MB
S vn0.p0.s0 State: crashed  PO:0  B Size:   8678 MB
D d1State: referenced   Device  Avail: 0/0 MB
S vn0.p0.s1 State: crashed  PO:  419 kB Size:   8678 MB
D d2State: referenced   Device  Avail: 0/0 MB
S vn0.p0.s2 State: crashed  PO:  838 kB Size:   8678 MB
D d3State: referenced   Device  Avail: 0/0 MB
S vn0.p0.s3 State: crashed  PO: 1257 kB Size:   8678 MB
D d4State: referenced   Device  Avail: 0/0 MB
S vn0.p0.s4 State: crashed  PO: 1676 kB Size:   8678 MB
D d5State: referenced   Device  Avail: 0/0 MB
S vn0.p0.s5 State: obsolete PO: 2095 kB Size:   8678 MB
1 volumes:
V vn0   State: up   Plexes:   1 Size: 59 GB
P vn0.p0 R5 State: corrupt  Subdisks: 8 Size: 59 GB
S vn0.p0.s0 State: crashed  PO:0  B Size:   8678 MB
S vn0.p0.s1 State: crashed  PO:  419 kB Size:   8678 MB
S vn0.p0.s2 State: crashed  PO:  838 kB Size:   8678 MB
S vn0.p0.s3 State: crashed  PO: 1257 kB Size:   8678 MB
S vn0.p0.s4 State: crashed  PO: 1676 kB Size:   8678 MB
S vn0.p0.s5 State: obsolete PO: 2095 kB Size:   8678 MB
S vn0.p0.s6 State: up   PO: 2514 kB Size:   8678 MB
S vn0.p0.s7 State: up   PO: 2933 kB Size:   8678 MB
1 plexes:
P vn0.p0 R5 State: corrupt  Subdisks: 8 Size: 59 GB
S vn0.p0.s0 State: crashed  PO:0  B Size:   8678 MB
S vn0.p0.s1 State: crashed  PO:  419 kB Size:   8678 MB
S vn0.p0.s2 State: crashed  PO:  838 kB Size:   8678 MB
S vn0.p0.s3 State: crashed  PO: 1257 kB Size:   8678 MB
S vn0.p0.s4 State: crashed  PO: 1676 kB Size:   8678 MB
S vn0.p0.s5 State: obsolete PO: 2095 kB Size:   8678 MB
S vn0.p0.s6 State: up   PO: 2514 kB Size:   8678 MB
S vn0.p0.s7 State: up   PO: 2933 kB Size:   8678 MB
8 subdisks:
S vn0.p0.s0 State: crashed  PO:0  B Size:   8678 MB
D d0State: referenced   Device  Avail: 0/0 MB
S vn0.p0.s1 State: crashed  PO:  419 kB Size:   8678 MB
D d1State: referenced   Device  Avail: 0/0 MB
S vn0.p0.s2 State: crashed  PO:  838 kB Size:   8678 MB
D d2State: referenced   Device  Avail: 0/0 MB
S vn0.p0.s3 State: crashed  PO: 1257 kB Size:   8678 MB
D d3State: referenced   Device  Avail: 0/0 MB
S vn0.p0.s4 State: crashed  PO: 1676 kB Size:   8678 MB
D d4State: referenced   Device  Avail: 0/0 MB
S vn0.p0.s5 State: obsolete PO: 2095 kB Size:   8678 MB
D d5State: referenced   Device  Avail: 0/0 MB
S vn0.p0.s6 State: up   PO: 2514 kB Size:   8678 MB
D d6State: up   Device /dev/da6hAvail: 
0/8678 MB (0%)
S vn0.p0.s7 State: up   PO: 2933 kB Size:   8678 MB
D d7State: up   Device /dev/da7hAvail: 
0/8678 MB (0%)
vinum -

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]