[OpenAFS] resurrecting dead server

Ted Creedon tcreedon@easystreet.net
Tue, 18 Jan 2011 11:42:22 -0800


--000325574d5663748c049a241931
Content-Type: text/plain; charset=ISO-8859-1

vos syncserv -server $S -partition a -dryrun -cell $C -localauth -verbose

ends up with "Aborted"
------------cut------------
7f9ebdaec000-7f9ebdaed000 rw-p 00000000 00:00 0
7fff833da000-7fff83425000 rw-p 00000000 00:00 0
[stack]
7fff83545000-7fff83546000 r-xp 00000000 00:00 0
[vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
Aborted



On Tue, Jan 18, 2011 at 11:26 AM, Ted Creedon <tcreedon@easystreet.net>wrote:

> I did a reinstall, kerberos, linux, everything
>
> Do I need to set up root.cell and root.afs prior to syncing /vicepa?
>
> ted
>
>
> On Sun, Jan 16, 2011 at 12:26 PM, Jason Edgecombe <jason@rampaginggeek.com
> > wrote:
>
>> I recommend a reinstall, then copy /usr/afs/etc from another server to
>> copy the KeyFile, CellServ, etc.
>>
>> Jason
>>
>> On 01/16/2011 01:48 PM, Ted Creedon wrote:
>>
>>> How about moving the /usr/afs directories from a known good server to the
>>> RW
>>> server and doing the same?
>>>
>>> ted
>>>
>>> On Sun, Jan 16, 2011 at 7:10 AM, Jason Edgecombe<jason@rampaginggeek.com
>>> >wrote:
>>>
>>>  On 01/15/2011 01:05 PM, Ted Creedon wrote:
>>>>
>>>>  my R/W server died but /vicepa and /vicepb were saved on their raid
>>>>> drives.
>>>>> this server also ran the krb5kdc...
>>>>>
>>>>> there are 2 other RO servers still OK but 2 out of 20 volumes are not
>>>>> up
>>>>> to
>>>>> date. both were running upclient etc
>>>>>
>>>>> the data on the RO servers is:
>>>>> /usr/afs/db:
>>>>> total 316
>>>>> drwx------ 2 root root   4096 May  5  2009 ./
>>>>> drwxr-xr-x 7 root root   4096 May  6  2009 ../
>>>>> -rw------- 1 root root   1088 May  2  2009 bdb.DB0
>>>>> -rw------- 1 root root     64 Jan  7 12:18 bdb.DBSYS1
>>>>> -rw------- 1 root root  68672 May  5  2009 prdb.DB0
>>>>> -rw------- 1 root root  68672 May  5  2009 prdb.DB0.bak
>>>>> -rw------- 1 root root     64 Jan  7 12:18 prdb.DBSYS1
>>>>> -rw------- 1 root root     64 May  5  2009 prdb.DBSYS1.bak
>>>>> -rw------- 1 root root 144448 Jan  7 12:18 vldb.DB0
>>>>> -rw------- 1 root root     64 Jan  7 13:50 vldb.DBSYS1
>>>>>
>>>>> /usr/afs/etc:
>>>>> total 80
>>>>> drwxr-xr-x 2 root root  4096 Jun 16  2010 ./
>>>>> drwxr-xr-x 7 root root  4096 May  6  2009 ../
>>>>> -rw-r--r-- 1 root root   162 Jan  7 12:17 CellServDB
>>>>> -rw------- 1 root root   100 May  6  2009 KeyFile
>>>>> -rw-r--r-- 1 root root    10 May  2  2009 NetRestrict
>>>>> -rw-r--r-- 1 root root    11 May  6  2009 ThisCell
>>>>> -rw-r--r-- 1 root root    39 Nov 15  2008 UserList
>>>>>
>>>>> /usr/afs/local:
>>>>> total 24
>>>>> drwx------ 2 root root 4096 Jan  7 13:53 ./
>>>>> drwxr-xr-x 7 root root 4096 May  6  2009 ../
>>>>> -rw-r--r-- 1 root root  313 Apr 30  2009 BosConfig
>>>>> -rw-r--r-- 1 root root   10 May  6  2009 NetRestrict
>>>>> -rw-r--r-- 1 root root    0 Jan  7 13:53 SALVAGE.fs
>>>>> srwxr-xr-x 1 root root    0 Jan  7 12:22 fssync.sock=
>>>>> -rw-r--r-- 1 root root    0 May  2  2009 salvage.lock
>>>>> -rw-r--r-- 1 root root   32 Jan  7 11:55 sysid
>>>>> -rw-r--r-- 1 root root   32 Jan  7 11:00 sysid.old
>>>>>
>>>>>
>>>>> what's the best way to proceed after I rekey
>>>>>
>>>>> PS I also have vos dump files but the 2 aforementiined volumes are not
>>>>> up
>>>>> to
>>>>> date.
>>>>>
>>>>> thanks
>>>>>
>>>>> tedc
>>>>>
>>>>>  I suggest connecting the raid drives to another server, possibly one
>>>>> of
>>>>>
>>>> your R/O servers. Mount the /vicepX partitions, restart the fileserver,
>>>> then
>>>> run "vos syncserv" and "vos syncvldb" to have the recovered volumes be
>>>> remapped to the different server.
>>>>
>>>
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>
>
>

--000325574d5663748c049a241931
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

vos syncserv -server $S -partition a -dryrun -cell $C -localauth -verbose<b=
r><br>ends up with &quot;Aborted&quot;<br>------------cut------------<br>7f=
9ebdaec000-7f9ebdaed000 rw-p 00000000 00:00 0 <br>7fff833da000-7fff83425000=
 rw-p 00000000 00:00 0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 [stack]<br>
7fff83545000-7fff83546000 r-xp 00000000 00:00 0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [vdso]<br>ffffffffff600000=
-ffffffffff601000 r-xp 00000000 00:00 0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 [vsyscall]<br>Aborted<br><br><br><br><div class=3D"gmail_qu=
ote">On Tue, Jan 18, 2011 at 11:26 AM, Ted Creedon <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:tcreedon@easystreet.net">tcreedon@easystreet.net</a>&gt;</s=
pan> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I did a reinstall=
, kerberos, linux, everything<br><br>Do I need to set up root.cell and root=
.afs prior to syncing /vicepa?<br>
<font color=3D"#888888"><br>ted</font><div><div></div><div class=3D"h5"><br=
><br><div class=3D"gmail_quote">On Sun, Jan 16, 2011 at 12:26 PM, Jason Edg=
ecombe <span dir=3D"ltr">&lt;<a href=3D"mailto:jason@rampaginggeek.com" tar=
get=3D"_blank">jason@rampaginggeek.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>I recommend =
a reinstall, then copy /usr/afs/etc from another server to copy the KeyFile=
, CellServ, etc.<br>


<br>
Jason<br>
<br>
On 01/16/2011 01:48 PM, Ted Creedon wrote:<br>
</div><div><div></div><div><blockquote class=3D"gmail_quote" style=3D"margi=
n: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-le=
ft: 1ex;">
How about moving the /usr/afs directories from a known good server to the R=
W<br>
server and doing the same?<br>
<br>
ted<br>
<br>
On Sun, Jan 16, 2011 at 7:10 AM, Jason Edgecombe&lt;<a href=3D"mailto:jason=
@rampaginggeek.com" target=3D"_blank">jason@rampaginggeek.com</a>&gt;wrote:=
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On 01/15/2011 01:05 PM, Ted Creedon wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
my R/W server died but /vicepa and /vicepb were saved on their raid<br>
drives.<br>
this server also ran the krb5kdc...<br>
<br>
there are 2 other RO servers still OK but 2 out of 20 volumes are not up<br=
>
to<br>
date. both were running upclient etc<br>
<br>
the data on the RO servers is:<br>
/usr/afs/db:<br>
total 316<br>
drwx------ 2 root root =A0 4096 May =A05 =A02009 ./<br>
drwxr-xr-x 7 root root =A0 4096 May =A06 =A02009 ../<br>
-rw------- 1 root root =A0 1088 May =A02 =A02009 bdb.DB0<br>
-rw------- 1 root root =A0 =A0 64 Jan =A07 12:18 bdb.DBSYS1<br>
-rw------- 1 root root =A068672 May =A05 =A02009 prdb.DB0<br>
-rw------- 1 root root =A068672 May =A05 =A02009 prdb.DB0.bak<br>
-rw------- 1 root root =A0 =A0 64 Jan =A07 12:18 prdb.DBSYS1<br>
-rw------- 1 root root =A0 =A0 64 May =A05 =A02009 prdb.DBSYS1.bak<br>
-rw------- 1 root root 144448 Jan =A07 12:18 vldb.DB0<br>
-rw------- 1 root root =A0 =A0 64 Jan =A07 13:50 vldb.DBSYS1<br>
<br>
/usr/afs/etc:<br>
total 80<br>
drwxr-xr-x 2 root root =A04096 Jun 16 =A02010 ./<br>
drwxr-xr-x 7 root root =A04096 May =A06 =A02009 ../<br>
-rw-r--r-- 1 root root =A0 162 Jan =A07 12:17 CellServDB<br>
-rw------- 1 root root =A0 100 May =A06 =A02009 KeyFile<br>
-rw-r--r-- 1 root root =A0 =A010 May =A02 =A02009 NetRestrict<br>
-rw-r--r-- 1 root root =A0 =A011 May =A06 =A02009 ThisCell<br>
-rw-r--r-- 1 root root =A0 =A039 Nov 15 =A02008 UserList<br>
<br>
/usr/afs/local:<br>
total 24<br>
drwx------ 2 root root 4096 Jan =A07 13:53 ./<br>
drwxr-xr-x 7 root root 4096 May =A06 =A02009 ../<br>
-rw-r--r-- 1 root root =A0313 Apr 30 =A02009 BosConfig<br>
-rw-r--r-- 1 root root =A0 10 May =A06 =A02009 NetRestrict<br>
-rw-r--r-- 1 root root =A0 =A00 Jan =A07 13:53 SALVAGE.fs<br>
srwxr-xr-x 1 root root =A0 =A00 Jan =A07 12:22 fssync.sock=3D<br>
-rw-r--r-- 1 root root =A0 =A00 May =A02 =A02009 salvage.lock<br>
-rw-r--r-- 1 root root =A0 32 Jan =A07 11:55 sysid<br>
-rw-r--r-- 1 root root =A0 32 Jan =A07 11:00 sysid.old<br>
<br>
<br>
what&#39;s the best way to proceed after I rekey<br>
<br>
PS I also have vos dump files but the 2 aforementiined volumes are not up<b=
r>
to<br>
date.<br>
<br>
thanks<br>
<br>
tedc<br>
<br>
 =A0I suggest connecting the raid drives to another server, possibly one of=
<br>
</blockquote>
your R/O servers. Mount the /vicepX partitions, restart the fileserver, the=
n<br>
run &quot;vos syncserv&quot; and &quot;vos syncvldb&quot; to have the recov=
ered volumes be<br>
remapped to the different server.<br>
</blockquote></blockquote>
<br></div></div><div><div></div><div>
_______________________________________________<br>
OpenAFS-info mailing list<br>
<a href=3D"mailto:OpenAFS-info@openafs.org" target=3D"_blank">OpenAFS-info@=
openafs.org</a><br>
<a href=3D"https://lists.openafs.org/mailman/listinfo/openafs-info" target=
=3D"_blank">https://lists.openafs.org/mailman/listinfo/openafs-info</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>

--000325574d5663748c049a241931--