Amanda-Users

Re: Problems backing root partition with dump on CentOS

2005-10-27 15:12:02
Subject: Re: Problems backing root partition with dump on CentOS
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: cmarble AT odin.ac.hmc DOT edu
Date: Thu, 27 Oct 2005 20:57:16 +0200
Chris Marble wrote:

My /dev/root isn't a sym link but a normal device file.  No LVM in use
either.  I'm trying to figure out why amanda's backing up /dev/root instead
of simply /.  Here's the lines from disklist:
Sakai           /               comp-root       1
[...]

[10:00am] cmarble@sakai (/dev): ll sda1 sda2 sda root
brw-r-----  1 root disk 8, 2 Oct 26 04:34 root
[...]
sendsize.20051026000002.debug:sendsize[3765]: time 0.003: calculating for 
device '/dev/root' with 'ext3'
sendsize.20051026000002.debug:sendsize[3765]: time 0.003: running "/sbin/dump 0Ssf 
1048576 - /dev/root"
sendsize.20051026000002.debug:sendsize[3765]: time 0.028:   DUMP: Cannot open 
/dev/root
sendsize.20051027000002.debug:sendsize[3634]: time 0.007: calculating for 
device '/dev/root' with 'ext3'
sendsize.20051027000002.debug:sendsize[3634]: time 0.007: running "/sbin/dump 0Ssf 
1048576 - /dev/root"
sendbackup.20051027001751.debug:sendbackup: time 0.098: dumping device 
'/dev/root' with 'ext3'
sendbackup.20051027001751.debug:sendbackup: argument list: dump 0usf 1048576 - 
/dev/root
sendbackup.20051027001751.debug:sendbackup: time 0.104:  93:  normal(|):   
DUMP: Dumping /dev/root (an unlisted file system) to standard output

You see that amanda is asking for information on /dev/root rather than simply /

That is because dump needs the block disk device. Dump has builtin knowledge of ext3 (other dump programs have each their own knowledge
of a specific filesystem: ufsdump on solaris, xfsdump,...).

About the wrong permissions, I notice the same, but never had
problems before, because I use gnutar instead of dump as the backup
program.  Tar needs a directory ('/').


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************