[OpenAFS-devel] vos restore bug...

Neulinger, Nathan R. nneul@umr.edu
Thu, 15 Mar 2001 10:10:29 -0600


Here's the output I was referring to:

troot-srvtst03(271)> vos listvol srvtst02
Total number of volumes on server srvtst02 partition /vicepa: 1 
root.cell.readonly                536870913 RO         11 K On-line

Total volumes onLine 1 ; Total volumes offLine 0 ; Total busy 0

Total number of volumes on server srvtst02 partition /vicepb: 0 

Total volumes onLine 0 ; Total volumes offLine 0 ; Total busy 0

troot-srvtst03(272)> vos restore srvtst02 a test8 -file
~nneul/test1.vol.dump -o
verwrite full -verbose
Restoring volume test8 Id 537009592 on server srvtst02.cc.umr.edu partition
/vic
epa .. done
------- Creating a new VLDB entry ------- 

test8 
    RWrite: 537009592 
    number of sites -> 1
       server srvtst02.cc.umr.edu partition /vicepa RW Site 
Restored volume test8 on srvtst02 /vicepa
troot-srvtst03(273)> vos listvol srvtst02

Total number of volumes on server srvtst02 partition /vicepa: 2 
root.cell.readonly                536870913 RO         11 K On-line
test8                             537009592 RW          2 K On-line

Total volumes onLine 2 ; Total volumes offLine 0 ; Total busy 0

Total number of volumes on server srvtst02 partition /vicepb: 0 

Total volumes onLine 0 ; Total volumes offLine 0 ; Total busy 0

troot-srvtst03(274)> vos restore srvtst02 b test8 -file
~nneul/test1.vol.dump -o
verwrite full -verbose
Volume exists; Will delete and perform full restore
Restoring volume test8 Id 537009592 on server srvtst02.cc.umr.edu partition
/vic
epb .. done
Updating the existing VLDB entry
------- Old entry -------

test8 
    RWrite: 537009592 
    number of sites -> 1
       server srvtst02.cc.umr.edu partition /vicepa RW Site 
------- New entry -------
Deleting the previous volume 537009592 on server srvtst02.cc.umr.edu,
partition 
/vicepa ... done

test8 
    RWrite: 537009592 
    number of sites -> 1
       server srvtst02.cc.umr.edu partition /vicepb RW Site 
Restored volume test8 on srvtst02 /vicepb
troot-srvtst03(275)> vos listvol srvtst02

Total number of volumes on server srvtst02 partition /vicepa: 1 
root.cell.readonly                536870913 RO         11 K On-line

Total volumes onLine 1 ; Total volumes offLine 0 ; Total busy 0

Total number of volumes on server srvtst02 partition /vicepb: 1 
test8                             537009592 RW          2 K Off-line

Total volumes onLine 0 ; Total volumes offLine 1 ; Total busy 0

troot-srvtst03(276)> 



> -----Original Message-----
> From: Bill Sommerfeld [mailto:sommerfeld@orchard.arlington.ma.us]
> Sent: Thursday, March 15, 2001 9:29 AM
> To: Neulinger, Nathan R.
> Cc: 'openafs-devel@openafs.org'
> Subject: Re: [OpenAFS-devel] vos restore bug... 
> 
> 
> > Volume test1 exists on srv:/vicepa
> > 
> > vos restore srv a test1 -file vosdump.file -overwrite full -verbose
> > 	volume is restored, all is happy
> > vos restore srv b test1 -file vosdump.file -overwrite full -verbose
> > 	volume is restored to /vicepb, but volume is off-line after vos
> > restore completed
> 
> you can only have one instance of a volume on-line on a server at a
> given time; the others are left off-line.
> 
> it's been a while but i bet that both of the following will work:
> 
> 	vos restore srv a test1 -file vosdump.file -overwrite 
> full -verbose
> 	vos remove srv a test1
> 	vos restore srv b test1 -file vosdump.file -overwrite 
> full -verbose
> 
> 	vos restore srv a test1 -file vosdump.file -overwrite 
> full -verbose
> 	vos restore srv b test2 -file vosdump.file -overwrite 
> full -verbose
> 
> 					- Bill
>