[OpenAFS] resurrecting dead server
Ted Creedon
tcreedon@easystreet.net
Tue, 18 Jan 2011 11:56:27 -0800
--90e6ba4fc50cc9b52b049a244bbd
Content-Type: text/plain; charset=ISO-8859-1
Does that mean it works or not?
PS vicepa has
root.afs 536870912 RW 4 K On-line
root.afs.readonly 536870913 RO 4 K On-line
root.cell 536870915 RW 2634 K On-line
root.cell.readonly 536870916 RO 24 K On-line
do these need to be mounted before or after syncing?
Ted
On Tue, Jan 18, 2011 at 11:46 AM, Derrick Brashear <shadow@gmail.com> wrote:
> that's fixed post-1.6.0pre1. pre2 isn't out yet.
>
> On Tue, Jan 18, 2011 at 2:42 PM, Ted Creedon <tcreedon@easystreet.net>
> wrote:
> > 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
> >>
> >
> >
>
>
>
> --
> Derrick
>
--90e6ba4fc50cc9b52b049a244bbd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Does that mean it works or not?<br><br>PS vicepa has <br>root.afs=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 53687091=
2 RW=A0=A0=A0=A0=A0=A0=A0=A0=A0 4 K On-line<br>root.afs.readonly=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 536870913 RO=A0=A0=A0=A0=A0=A0=A0=
=A0=A0 4 K On-line<br>root.cell=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 536870915 RW=A0=A0=A0=A0=A0=A0 2634 K On-lin=
e<br>
root.cell.readonly=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 536870916 R=
O=A0=A0=A0=A0=A0=A0=A0=A0 24 K On-line<br><br>do these need to be mounted b=
efore or after syncing?<br><br>Ted<br><br><br><div class=3D"gmail_quote">On=
Tue, Jan 18, 2011 at 11:46 AM, Derrick Brashear <span dir=3D"ltr"><<a h=
ref=3D"mailto:shadow@gmail.com">shadow@gmail.com</a>></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;">that's fixed =
post-1.6.0pre1. pre2 isn't out yet.<br>
<div><div></div><div class=3D"h5"><br>
On Tue, Jan 18, 2011 at 2:42 PM, Ted Creedon <<a href=3D"mailto:tcreedon=
@easystreet.net">tcreedon@easystreet.net</a>> wrote:<br>
> vos syncserv -server $S -partition a -dryrun -cell $C -localauth -verb=
ose<br>
><br>
> ends up with "Aborted"<br>
> ------------cut------------<br>
> 7f9ebdaec000-7f9ebdaed000 rw-p 00000000 00:00 0<br>
> 7fff833da000-7fff83425000 rw-p 00000000 00:00 0<br>
> [stack]<br>
> 7fff83545000-7fff83546000 r-xp 00000000 00:00 0<br>
> [vdso]<br>
> ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0<br>
> [vsyscall]<br>
> Aborted<br>
><br>
><br>
><br>
> On Tue, Jan 18, 2011 at 11:26 AM, Ted Creedon <<a href=3D"mailto:tc=
reedon@easystreet.net">tcreedon@easystreet.net</a>><br>
> wrote:<br>
>><br>
>> I did a reinstall, kerberos, linux, everything<br>
>><br>
>> Do I need to set up root.cell and root.afs prior to syncing /vicep=
a?<br>
>><br>
>> ted<br>
>><br>
>> On Sun, Jan 16, 2011 at 12:26 PM, Jason Edgecombe<br>
>> <<a href=3D"mailto:jason@rampaginggeek.com">jason@rampaginggeek=
.com</a>> wrote:<br>
>>><br>
>>> I recommend a reinstall, then copy /usr/afs/etc from another s=
erver to<br>
>>> copy the KeyFile, CellServ, etc.<br>
>>><br>
>>> Jason<br>
>>><br>
>>> On 01/16/2011 01:48 PM, Ted Creedon wrote:<br>
>>>><br>
>>>> How about moving the /usr/afs directories from a known goo=
d server to<br>
>>>> the RW<br>
>>>> server and doing the same?<br>
>>>><br>
>>>> ted<br>
>>>><br>
>>>> On Sun, Jan 16, 2011 at 7:10 AM, Jason<br>
>>>> Edgecombe<<a href=3D"mailto:jason@rampaginggeek.com">ja=
son@rampaginggeek.com</a>>wrote:<br>
>>>><br>
>>>>> On 01/15/2011 01:05 PM, Ted Creedon wrote:<br>
>>>>><br>
>>>>>> my R/W server died but /vicepa and /vicepb were sa=
ved 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<br>
>>>>>> 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 b=
db.DB0<br>
>>>>>> -rw------- 1 root root =A0 =A0 64 Jan =A07 12:18 b=
db.DBSYS1<br>
>>>>>> -rw------- 1 root root =A068672 May =A05 =A02009 p=
rdb.DB0<br>
>>>>>> -rw------- 1 root root =A068672 May =A05 =A02009 p=
rdb.DB0.bak<br>
>>>>>> -rw------- 1 root root =A0 =A0 64 Jan =A07 12:18 p=
rdb.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 v=
ldb.DBSYS1<br>
>>>>>><br>
>>>>>> /usr/afs/etc:<br>
>>>>>> total 80<br>
>>>>>> drwxr-xr-x 2 root root =A04096 Jun 16 =A02010 ./<b=
r>
>>>>>> drwxr-xr-x 7 root root =A04096 May =A06 =A02009 ..=
/<br>
>>>>>> -rw-r--r-- 1 root root =A0 162 Jan =A07 12:17 Cell=
ServDB<br>
>>>>>> -rw------- 1 root root =A0 100 May =A06 =A02009 Ke=
yFile<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 Us=
erList<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 ../<b=
r>
>>>>>> -rw-r--r-- 1 root root =A0313 Apr 30 =A02009 BosCo=
nfig<br>
>>>>>> -rw-r--r-- 1 root root =A0 10 May =A06 =A02009 Net=
Restrict<br>
>>>>>> -rw-r--r-- 1 root root =A0 =A00 Jan =A07 13:53 SAL=
VAGE.fs<br>
>>>>>> srwxr-xr-x 1 root root =A0 =A00 Jan =A07 12:22 fss=
ync.sock=3D<br>
>>>>>> -rw-r--r-- 1 root root =A0 =A00 May =A02 =A02009 s=
alvage.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's the best way to proceed after I rekey<b=
r>
>>>>>><br>
>>>>>> PS I also have vos dump files but the 2 aforementi=
ined volumes are not<br>
>>>>>> up<br>
>>>>>> to<br>
>>>>>> date.<br>
>>>>>><br>
>>>>>> thanks<br>
>>>>>><br>
>>>>>> tedc<br>
>>>>>><br>
>>>>>> =A0I suggest connecting the raid drives to another=
server, possibly one<br>
>>>>>> of<br>
>>>>><br>
>>>>> your R/O servers. Mount the /vicepX partitions, restar=
t the fileserver,<br>
>>>>> then<br>
>>>>> run "vos syncserv" and "vos syncvldb&qu=
ot; to have the recovered volumes be<br>
>>>>> remapped to the different server.<br>
>>><br>
>>> _______________________________________________<br>
>>> OpenAFS-info mailing list<br>
>>> <a href=3D"mailto:OpenAFS-info@openafs.org">OpenAFS-info@opena=
fs.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>
>><br>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<font color=3D"#888888">Derrick<br>
</font></blockquote></div><br>
--90e6ba4fc50cc9b52b049a244bbd--