[OpenAFS] Howto speedup the restore of a crashed fileserver
Mon, 1 Oct 2007 18:01:39 -0500
I ended up writing a script to use the commmand 'vos dump' to dump each
AFS volume to a local disk partition, then back up that partition with
standard backup utilities. The 'vos dump' command creates a file on the
local disk that contains the entire volume, including all of the ACLs.
Since you can have links in AFS to the same volume multiple times, it's a
lot safer to do volume-based backups rather than walking AFS.
I could get you a copy of my dump script if you're interested; I'd just
have to scrub out all of our site-specific information.
On Mon, Oct 01, 2007 at 10:14:39PM +0100, Jose Calhariz wrote:
> On Mon, Oct 01, 2007 at 03:41:16PM -0400, Derek Atkins wrote:
> > Jose Calhariz <email@example.com> writes:
> > > On Mon, Oct 01, 2007 at 11:25:03AM -0700, Russ Allbery wrote:
> > >> Jose Calhariz <firstname.lastname@example.org> writes:
> > >>=20
> > >> > I have lost a fileserver because of a corruption on the reiserfs=
> > >> > Something like 1000 volumes and 100GB of data were lost. The ba=
> > >> > were made using amanda with standard tar.
> > >>=20
> > >> > My problem is the recovering of the data to the surviving filesy=
> > >> > is taking too much time. Something like 7 hours to recover 7 GB=
> > >> > Will I need 100hours to recover from tar 100GB?
> > >>=20
> > >> What did you tar up? I can think of a lot of possibilities (the r=
> > >> filesystem, the contents of AFS archived with admin credentials, t=
> > >> of volume dumps), and the answer somewhat depends.
> > >
> > > I have tarballs with the contents of AFS using admin credentials.
> > Note that you'll have to manually repair the acls; tar doesn't save
> > them.
> It's on my todo list, to find a command to export and import AFS
> acls. So it can be collected by tar.
> > -derek
> Jos=E9 Calhariz
> P.S. [En_US] The sig below is from my random sig-generator, which stran=
> often seems to pick signatures which are apropriate to the message at
> P.S. [Pt_Pt] A assinatura em baixo =E9 do gerador aleat=F3rio de
> assinaturas, que estranhamente, escolhe com frequ=EAncia assinaturas qu=
> parecem apropriadas ao email!
> Infeliz o povo que precisa de herois.
> -- Bertold Brecht=20
Brian Sebby (email@example.com) | Unix and Operation Services
Phone: +1 630.252.9935 | Computing and Information Systems
Fax: +1 630.252.4601 | Argonne National Laboratory