[OpenAFS] Some restoration advice
Steve Devine
sdevine@msu.edu
Fri, 06 Jul 2007 00:57:46 -0400
Steve Devine wrote:
> I had a partition fail .. corrupted disk etc. Unable to recover.
> Several RW vols on it.
> So I restore the volumes and now I have this ( below ):
> Two instances of RW vols on same machine and partition.
> I think the vldb is out of sysnc with the volserver.
> I think this calls for syncvldb but that makes me nervous. Any advice?
> ****************************************
> vos ex 1937032614
> svc.ml.cbordwin 1937032614 RW 158516 K On-line
> afsfs4.cl.msu.edu /vicepa
> RWrite 1937032614 ROnly 0 Backup 0
> MaxQuota 200000 K
> Creation Thu Jul 5 20:31:15 2007
> Copy Thu Jul 5 20:30:35 2007
> Backup Sun Jul 1 22:10:24 2007
> Last Update Thu Jul 5 20:31:15 2007
> 0 accesses in the past day (i.e., vnode references)
>
> RWrite: 1937032614 ROnly: 1937032615 Backup: 1937032616
> number of sites -> 4
> server afsfs4.cl.msu.edu partition /vicepa RW Site
> server afsfs7.cl.msu.edu partition /vicepa RO Site
> server afsfs4.cl.msu.edu partition /vicepa RO Site
> server afsfs4.cl.msu.edu partition /vicepa RW Site
> *************************************************************
>
>
Ok
Got it figured out .. did a syncvldb for the lost vols that I had not
yet restored .. vos removed the RW vols on the flaky server that I had
restored and that were showing up twice. Then vos convertROtoRW the RO
vols then addsite and release.
The convertROtoRW command is a god send.
/sd
--
Steve Devine
Storage Systems
Academic Computing & Network Services
Michigan State University
506 Computer Center
East Lansing, MI 48824-1042
1-517-432-7327
Baseball is ninety percent mental; the other half is physical.
- Yogi Berra