[OpenAFS] new RW root.cell

Susan Litzinger susan@psc.edu
Thu, 7 Mar 2019 11:59:28 -0500


--000000000000237c4d058384081b
Content-Type: text/plain; charset="UTF-8"

Hmm.. I moved removed the incorrect RO and created a new RO on velma, then
tried to 'release' the new one prior to moving it to a different server and
that doesn't work.  I'm hesitant to go ahead and move it if it's not in a
good state.

*STATE BEFORE: *
[root@afs-vmc 2019-March]# vos volinfo root.cell
vsu_ClientInit: Could not get afs tokens, running unauthenticated.
root.cell                         537176384 RW         49 K  On-line
    velma.psc.edu /vicepca
    RWrite  537176384 ROnly          0 Backup  537176401
    MaxQuota      20000 K
    Creation    Tue Nov 29 19:01:08 2005
    Copy        Fri Jun  8 16:24:57 2012
    Backup      Sat Mar  2 02:32:38 2019
    Last Access Thu Mar  7 11:49:29 2019
    Last Update Thu Apr  5 14:20:25 2018
    266 accesses in the past day (i.e., vnode references)

    RWrite: 537176384     ROnly: 537176385     Backup: 537176401
    number of sites -> 5
       server velma.psc.edu partition /vicepca RW Site
       server daphne.psc.edu partition /vicepdc RO Site
       server velma.psc.edu partition /vicepcb RO Site
       server scooby.psc.edu partition /vicepac RO Site
       server afs-vmc.psc.edu partition /vicepga RO Site  -- Not released
[root@afs-vmc 2019-March]# *vos remsite velma.psc.edu
<http://velma.psc.edu> vicepcb root.cell -localauth *
Deleting the replication site for volume 537176384 ...Removed replication
site velma.psc.edu /vicepcb for volume root.cell
[root@afs-vmc 2019-March]# *vos addsite velma.psc.edu
<http://velma.psc.edu> vicepca root.cell -localauth *
Added replication site velma.psc.edu /vicepca for volume root.cell

*STATE AFTER: *
[root@afs-vmc 2019-March]# vos volinfo root.cell
vsu_ClientInit: Could not get afs tokens, running unauthenticated.
root.cell                         537176384 RW         49 K  On-line
    velma.psc.edu /vicepca
    RWrite  537176384 ROnly          0 Backup  537176401
    MaxQuota      20000 K
    Creation    Tue Nov 29 19:01:08 2005
    Copy        Fri Jun  8 16:24:57 2012
    Backup      Sat Mar  2 02:32:38 2019
    Last Access Thu Mar  7 11:49:29 2019
    Last Update Thu Apr  5 14:20:25 2018
    266 accesses in the past day (i.e., vnode references)

    RWrite: 537176384     ROnly: 537176385     Backup: 537176401
    number of sites -> 5
       server velma.psc.edu partition /vicepca RW Site
       server daphne.psc.edu partition /vicepdc RO Site
       server scooby.psc.edu partition /vicepac RO Site
       server afs-vmc.psc.edu partition /vicepga RO Site  -- Not released
       server velma.psc.edu partition /vicepca RO Site  -- Not released


[root@afs-vmc 2019-March]# *vos release root.cell -localauth*
Failed to clone the volume 537176384
: Invalid cross-device link
Error in vos release command.
Clone volume is not in the same partition as the read-write volume.




On Thu, Mar 7, 2019 at 11:39 AM Benjamin Kaduk <kaduk@mit.edu> wrote:

> On Thu, Mar 07, 2019 at 11:29:23AM -0500, Susan Litzinger wrote:
> > In order to get our current installation in sync, I attempted to create
> > another RO root.cell on velma in the same partition that the RW is on
> but I
> > am unable to do that and get the error that Multiple ROs on a single
> server
> > aren't allowed.  Will I cause problems if I remove the current RO (that
> is
> > on the wrong partition) then create a new one in the correct partition?
>
> Should not cause problems.
>
> > Then, if we move the RW root.cell to afs-vmc, the release should work?
> > Here is the results of 'vos examine root.cell' for our site:
>
> Assuming you move it to afs-vmc's vicepga, that should work.
>
> -Ben
>
> > [root@afs-vmc 2019-March]# vos examine root.cell
> > vsu_ClientInit: Could not get afs tokens, running unauthenticated.
> > root.cell                         537176384 RW         49 K  On-line
> >     velma.psc.edu /vicepca
> >     RWrite  537176384 ROnly          0 Backup  537176401
> >     MaxQuota      20000 K
> >     Creation    Tue Nov 29 19:01:08 2005
> >     Copy        Fri Jun  8 16:24:57 2012
> >     Backup      Sat Mar  2 02:32:38 2019
> >     Last Access Thu Mar  7 10:43:30 2019
> >     Last Update Thu Apr  5 14:20:25 2018
> >     239 accesses in the past day (i.e., vnode references)
> >
> >     RWrite: 537176384     ROnly: 537176385     Backup: 537176401
> >     number of sites -> 5
> >        server velma.psc.edu partition /vicepca RW Site
> >        server daphne.psc.edu partition /vicepdc RO Site
> >        server velma.psc.edu partition /vicepcb RO Site
> >        server scooby.psc.edu partition /vicepac RO Site
> >        server afs-vmc.psc.edu partition /vicepga RO Site  -- Not
> released
> >
> > Thanks for the help -- Susan
> >
> >
> > On Wed, Mar 6, 2019 at 6:11 PM Jeffrey Altman <jaltman@auristor.com>
> wrote:
> >
> > > On 3/6/2019 3:56 PM, Susan Litzinger wrote:
> > > > We are updating our very old AFS servers and chose to create new,
> > > > updated systems then migrate all the volumes over and eventually just
> > > > turn the older ones off.
> > > >
> > > > We've moved everything but the root.cell volumes.  We have one RW
> > > > root.cell on an older server and would like to have a RW root.cell
> on a
> > > > new server before turning the older one off.  My co-worker gave this
> a
> > > > try and it allowed her to run 'vos addsite' but did not allow her to
> > > > 'vos release' the new RW root.cell.  She got this error:
> > > >
> > > > root@afs-vmc 2019-March]# vos addsite afs-vmc.psc.edu
> > > > <http://afs-vmc.psc.edu> /vicepga
> > > > root.cell -localauth
> > > > Added replication site afs-vmc.psc.edu <http://afs-vmc.psc.edu>
> /vicepga
> > > > for volume root.cell
> > > > [root@afs-vmc 2019-March]# vos release root.cell -localauth
> > > > Failed to clone the volume 537176384
> > > > : Invalid cross-device link
> > > > Error in vos release command.
> > > > Clone volume is not in the same partition as the read-write volume.
> > >
> > >
> > > Susan,
> > >
> > > The problem with root.cell is on velma.  The RW and RO must be on the
> > > same partition.
> > >
> > > Jeffrey Altman
> > >
> > >
>

--000000000000237c4d058384081b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">Hmm.. I moved removed the incorrect RO an=
d created a new RO on velma, then tried to &#39;release&#39; the new one pr=
ior to moving it to a different server and that doesn&#39;t work.=C2=A0 I&#=
39;m hesitant to go ahead and move it if it&#39;s not in a good state.=C2=
=A0=C2=A0</div><div dir=3D"ltr"><br></div><div dir=3D"ltr"><b>STATE BEFORE:=
=C2=A0</b><br><div><div>[root@afs-vmc 2019-March]# vos volinfo root.cell</d=
iv><div>vsu_ClientInit: Could not get afs tokens, running unauthenticated.<=
/div><div>root.cell=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0537176384 RW=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A049 K=C2=A0 On-line</div><div>=C2=A0 =C2=A0 <a href=3D"http://velma.ps=
c.edu">velma.psc.edu</a> /vicepca=C2=A0</div><div>=C2=A0 =C2=A0 RWrite=C2=
=A0 537176384 ROnly=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 Backup=C2=A0 537176=
401=C2=A0</div><div>=C2=A0 =C2=A0 MaxQuota=C2=A0 =C2=A0 =C2=A0 20000 K=C2=
=A0</div><div>=C2=A0 =C2=A0 Creation=C2=A0 =C2=A0 Tue Nov 29 19:01:08 2005<=
/div><div>=C2=A0 =C2=A0 Copy=C2=A0 =C2=A0 =C2=A0 =C2=A0 Fri Jun=C2=A0 8 16:=
24:57 2012</div><div>=C2=A0 =C2=A0 Backup=C2=A0 =C2=A0 =C2=A0 Sat Mar=C2=A0=
 2 02:32:38 2019</div><div>=C2=A0 =C2=A0 Last Access Thu Mar=C2=A0 7 11:49:=
29 2019</div><div>=C2=A0 =C2=A0 Last Update Thu Apr=C2=A0 5 14:20:25 2018</=
div><div>=C2=A0 =C2=A0 266 accesses in the past day (i.e., vnode references=
)</div><div><br></div><div>=C2=A0 =C2=A0 RWrite: 537176384=C2=A0 =C2=A0 =C2=
=A0ROnly: 537176385=C2=A0 =C2=A0 =C2=A0Backup: 537176401=C2=A0</div><div>=
=C2=A0 =C2=A0 number of sites -&gt; 5</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0=
server <a href=3D"http://velma.psc.edu">velma.psc.edu</a> partition /vicepc=
a RW Site=C2=A0</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0server <a href=3D"http=
://daphne.psc.edu">daphne.psc.edu</a> partition /vicepdc RO Site=C2=A0</div=
><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0server <a href=3D"http://velma.psc.edu">ve=
lma.psc.edu</a> partition /vicepcb RO Site=C2=A0</div><div>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0server <a href=3D"http://scooby.psc.edu">scooby.psc.edu</a> pa=
rtition /vicepac RO Site=C2=A0</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0server =
<a href=3D"http://afs-vmc.psc.edu">afs-vmc.psc.edu</a> partition /vicepga R=
O Site=C2=A0 -- Not released</div><div>[root@afs-vmc 2019-March]# <b>vos re=
msite <a href=3D"http://velma.psc.edu">velma.psc.edu</a> vicepcb root.cell =
-localauth=C2=A0</b></div><div>Deleting the replication site for volume 537=
176384 ...Removed replication site <a href=3D"http://velma.psc.edu">velma.p=
sc.edu</a> /vicepcb for volume root.cell</div><div>[root@afs-vmc 2019-March=
]# <b>vos addsite <a href=3D"http://velma.psc.edu">velma.psc.edu</a> vicepc=
a root.cell -localauth=C2=A0</b></div><div>Added replication site <a href=
=3D"http://velma.psc.edu">velma.psc.edu</a> /vicepca for volume root.cell</=
div><div><br></div><div><b>STATE AFTER:=C2=A0</b></div><div>[root@afs-vmc 2=
019-March]# vos volinfo root.cell</div><div>vsu_ClientInit: Could not get a=
fs tokens, running unauthenticated.</div><div>root.cell=C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A053717=
6384 RW=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A049 K=C2=A0 On-line</div><div>=C2=
=A0 =C2=A0 <a href=3D"http://velma.psc.edu">velma.psc.edu</a> /vicepca=C2=
=A0</div><div>=C2=A0 =C2=A0 RWrite=C2=A0 537176384 ROnly=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 0 Backup=C2=A0 537176401=C2=A0</div><div>=C2=A0 =C2=A0 Ma=
xQuota=C2=A0 =C2=A0 =C2=A0 20000 K=C2=A0</div><div>=C2=A0 =C2=A0 Creation=
=C2=A0 =C2=A0 Tue Nov 29 19:01:08 2005</div><div>=C2=A0 =C2=A0 Copy=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 Fri Jun=C2=A0 8 16:24:57 2012</div><div>=C2=A0 =C2=A0 =
Backup=C2=A0 =C2=A0 =C2=A0 Sat Mar=C2=A0 2 02:32:38 2019</div><div>=C2=A0 =
=C2=A0 Last Access Thu Mar=C2=A0 7 11:49:29 2019</div><div>=C2=A0 =C2=A0 La=
st Update Thu Apr=C2=A0 5 14:20:25 2018</div><div>=C2=A0 =C2=A0 266 accesse=
s in the past day (i.e., vnode references)</div><div><br></div><div>=C2=A0 =
=C2=A0 RWrite: 537176384=C2=A0 =C2=A0 =C2=A0ROnly: 537176385=C2=A0 =C2=A0 =
=C2=A0Backup: 537176401=C2=A0</div><div>=C2=A0 =C2=A0 number of sites -&gt;=
 5</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0server <a href=3D"http://velma.psc.=
edu">velma.psc.edu</a> partition /vicepca RW Site=C2=A0</div><div>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0server <a href=3D"http://daphne.psc.edu">daphne.psc.edu=
</a> partition /vicepdc RO Site=C2=A0</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0=
server <a href=3D"http://scooby.psc.edu">scooby.psc.edu</a> partition /vice=
pac RO Site=C2=A0</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0server <a href=3D"ht=
tp://afs-vmc.psc.edu">afs-vmc.psc.edu</a> partition /vicepga RO Site=C2=A0 =
-- Not released</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0server <a href=3D"http=
://velma.psc.edu">velma.psc.edu</a> partition /vicepca RO Site=C2=A0 -- Not=
 released</div><div><br></div><div><br></div><div>[root@afs-vmc 2019-March]=
# <b>vos release root.cell -localauth</b></div><div>Failed to clone the vol=
ume 537176384</div><div>: Invalid cross-device link</div><div>Error in vos =
release command.</div><div>Clone volume is not in the same partition as the=
 read-write volume.</div><div><br></div><div><br></div><div><br></div></div=
></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail=
_attr">On Thu, Mar 7, 2019 at 11:39 AM Benjamin Kaduk &lt;<a href=3D"mailto=
:kaduk@mit.edu">kaduk@mit.edu</a>&gt; wrote:<br></div><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex">On Thu, Mar 07, 2019 at 11:29:23AM -0500, Susa=
n Litzinger wrote:<br>
&gt; In order to get our current installation in sync, I attempted to creat=
e<br>
&gt; another RO root.cell on velma in the same partition that the RW is on =
but I<br>
&gt; am unable to do that and get the error that Multiple ROs on a single s=
erver<br>
&gt; aren&#39;t allowed.=C2=A0 Will I cause problems if I remove the curren=
t RO (that is<br>
&gt; on the wrong partition) then create a new one in the correct partition=
?<br>
<br>
Should not cause problems.<br>
<br>
&gt; Then, if we move the RW root.cell to afs-vmc, the release should work?=
<br>
&gt; Here is the results of &#39;vos examine root.cell&#39; for our site:<b=
r>
<br>
Assuming you move it to afs-vmc&#39;s vicepga, that should work.<br>
<br>
-Ben<br>
<br>
&gt; [root@afs-vmc 2019-March]# vos examine root.cell<br>
&gt; vsu_ClientInit: Could not get afs tokens, running unauthenticated.<br>
&gt; root.cell=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0537176384 RW=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A049 K=C2=A0 On-line<br>
&gt;=C2=A0 =C2=A0 =C2=A0<a href=3D"http://velma.psc.edu" rel=3D"noreferrer"=
 target=3D"_blank">velma.psc.edu</a> /vicepca<br>
&gt;=C2=A0 =C2=A0 =C2=A0RWrite=C2=A0 537176384 ROnly=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 0 Backup=C2=A0 537176401<br>
&gt;=C2=A0 =C2=A0 =C2=A0MaxQuota=C2=A0 =C2=A0 =C2=A0 20000 K<br>
&gt;=C2=A0 =C2=A0 =C2=A0Creation=C2=A0 =C2=A0 Tue Nov 29 19:01:08 2005<br>
&gt;=C2=A0 =C2=A0 =C2=A0Copy=C2=A0 =C2=A0 =C2=A0 =C2=A0 Fri Jun=C2=A0 8 16:=
24:57 2012<br>
&gt;=C2=A0 =C2=A0 =C2=A0Backup=C2=A0 =C2=A0 =C2=A0 Sat Mar=C2=A0 2 02:32:38=
 2019<br>
&gt;=C2=A0 =C2=A0 =C2=A0Last Access Thu Mar=C2=A0 7 10:43:30 2019<br>
&gt;=C2=A0 =C2=A0 =C2=A0Last Update Thu Apr=C2=A0 5 14:20:25 2018<br>
&gt;=C2=A0 =C2=A0 =C2=A0239 accesses in the past day (i.e., vnode reference=
s)<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0RWrite: 537176384=C2=A0 =C2=A0 =C2=A0ROnly: 5371763=
85=C2=A0 =C2=A0 =C2=A0Backup: 537176401<br>
&gt;=C2=A0 =C2=A0 =C2=A0number of sites -&gt; 5<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 server <a href=3D"http://velma.psc.edu" rel=
=3D"noreferrer" target=3D"_blank">velma.psc.edu</a> partition /vicepca RW S=
ite<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 server <a href=3D"http://daphne.psc.edu" re=
l=3D"noreferrer" target=3D"_blank">daphne.psc.edu</a> partition /vicepdc RO=
 Site<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 server <a href=3D"http://velma.psc.edu" rel=
=3D"noreferrer" target=3D"_blank">velma.psc.edu</a> partition /vicepcb RO S=
ite<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 server <a href=3D"http://scooby.psc.edu" re=
l=3D"noreferrer" target=3D"_blank">scooby.psc.edu</a> partition /vicepac RO=
 Site<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 server <a href=3D"http://afs-vmc.psc.edu" r=
el=3D"noreferrer" target=3D"_blank">afs-vmc.psc.edu</a> partition /vicepga =
RO Site=C2=A0 -- Not released<br>
&gt; <br>
&gt; Thanks for the help -- Susan<br>
&gt; <br>
&gt; <br>
&gt; On Wed, Mar 6, 2019 at 6:11 PM Jeffrey Altman &lt;<a href=3D"mailto:ja=
ltman@auristor.com" target=3D"_blank">jaltman@auristor.com</a>&gt; wrote:<b=
r>
&gt; <br>
&gt; &gt; On 3/6/2019 3:56 PM, Susan Litzinger wrote:<br>
&gt; &gt; &gt; We are updating our very old AFS servers and chose to create=
 new,<br>
&gt; &gt; &gt; updated systems then migrate all the volumes over and eventu=
ally just<br>
&gt; &gt; &gt; turn the older ones off.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; We&#39;ve moved everything but the root.cell volumes.=C2=A0 =
We have one RW<br>
&gt; &gt; &gt; root.cell on an older server and would like to have a RW roo=
t.cell on a<br>
&gt; &gt; &gt; new server before turning the older one off.=C2=A0 My co-wor=
ker gave this a<br>
&gt; &gt; &gt; try and it allowed her to run &#39;vos addsite&#39; but did =
not allow her to<br>
&gt; &gt; &gt; &#39;vos release&#39; the new RW root.cell.=C2=A0 She got th=
is error:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; root@afs-vmc 2019-March]# vos addsite <a href=3D"http://afs-=
vmc.psc.edu" rel=3D"noreferrer" target=3D"_blank">afs-vmc.psc.edu</a><br>
&gt; &gt; &gt; &lt;<a href=3D"http://afs-vmc.psc.edu" rel=3D"noreferrer" ta=
rget=3D"_blank">http://afs-vmc.psc.edu</a>&gt; /vicepga<br>
&gt; &gt; &gt; root.cell -localauth<br>
&gt; &gt; &gt; Added replication site <a href=3D"http://afs-vmc.psc.edu" re=
l=3D"noreferrer" target=3D"_blank">afs-vmc.psc.edu</a> &lt;<a href=3D"http:=
//afs-vmc.psc.edu" rel=3D"noreferrer" target=3D"_blank">http://afs-vmc.psc.=
edu</a>&gt; /vicepga<br>
&gt; &gt; &gt; for volume root.cell<br>
&gt; &gt; &gt; [root@afs-vmc 2019-March]# vos release root.cell -localauth<=
br>
&gt; &gt; &gt; Failed to clone the volume 537176384<br>
&gt; &gt; &gt; : Invalid cross-device link<br>
&gt; &gt; &gt; Error in vos release command.<br>
&gt; &gt; &gt; Clone volume is not in the same partition as the read-write =
volume.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Susan,<br>
&gt; &gt;<br>
&gt; &gt; The problem with root.cell is on velma.=C2=A0 The RW and RO must =
be on the<br>
&gt; &gt; same partition.<br>
&gt; &gt;<br>
&gt; &gt; Jeffrey Altman<br>
&gt; &gt;<br>
&gt; &gt;<br>
</blockquote></div>

--000000000000237c4d058384081b--