Amanda-Users

Re: making xfs dump work

2006-07-13 16:02:35
Subject: Re: making xfs dump work
From: "Julian C. Dunn" <lists AT aquezada DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 13 Jul 2006 15:57:27 -0400 (EDT)
On Thu, 13 Jul 2006, Jean-Francois Malouin wrote:

* Julian C. Dunn <lists AT aquezada DOT com> [20060713 15:44]:
I've got a Linux workstation which uses xfs as one of its volumes
(/dev/md2), but which I can't back up using Amanda because Amanda appears
to call /sbin/dump on it, which under Linux blows up (/sbin/dump is ext2/3
only).

How do I make Amanda call the "right" dump program (xfsdump rather than
/sbin/dump)?

Install xfsprogs.
(at least on Debian that where you'll find xfsdump/xfsrestore).
I think you will have to recompile Amanda though but I might be mistaken.

I have /usr/sbin/xfsdump already but Amanda doesn't seem to know how to call it, even though sendsize is aware that it's an XFS filesystem:

sendsize[11720]: time 2.976: getting size via dump for md2 level 0
sendsize[11720]: time 2.977: calculating for device '/dev/md2' with 'xfs'
sendsize[11720]: time 2.977: running "/sbin/dump 0Ssf 1048576 - /dev/md2"
sendsize[11720]: time 2.979: running /usr/lib64/amanda/killpgrp
sendsize[11713]: time 2.979: waiting for any estimate child: 1 running
sendsize[11720]: time 3.010: /dev/md2: Bad magic number in super-block while opening filesystem
sendsize[11720]: time 3.011:   DUMP: The ENTIRE dump is aborted.
sendsize[11720]: time 3.011: .....


- Julian

[ Julian C. Dunn <jdunn AT aquezada DOT com>  *  "You can throw confetti,   ]
[ WWW: www.aquezada.com/staff/julian   *  but you're still going     ]
[ PGP: 91B3 7A9D 683C 7C16 715F        *  through the motions, baby" ]
[      442C 6065 D533 FDC2 05B9        *                - Aimee Mann ]

<Prev in Thread] Current Thread [Next in Thread>