Amanda-Users

Re: backup lasts forever on large fs (fwd)

2003-11-15 04:57:00
Subject: Re: backup lasts forever on large fs (fwd)
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Zoltan Kato <kato AT inf.u-szeged DOT hu>
Date: Sat, 15 Nov 2003 10:55:48 +0100
Zoltan Kato wrote:
/home is not NFS mounted and the directories are not transient (they are
the actual home dirs of individual users). runtar is seduid root. I tryed
to run the gtar command from the log file manually as root, and found that
it ONLY works when I run it from /home:

root@rozi$ cd /home/
root@rozi$ /opt/sfw/bin/gtar --create --file /dev/null --directory /home
--one-file-system --listed-incremental
/usr/local/var/amanda/gnutar-lists/rozi.cab.u-szeged.hu_home_h0_0.new
--sparse --ignore-failed-read --totals --files-from
/tmp/amanda/sendsize._home__h0.20031113235902.include 2>&1|less


But then how is it possible that sendsize (or whatever other program) can
collect the filenames in
/tmp/amanda/sendsize._home__h0.20031113235902.include but gtar fails
unless started from /home (note that the --directory /home is present on
the command line which should cd to /home....). Any idea? How should I
specify the include/exclude directives in the disklist entries?

There must be something special about that /home partition.
Give us as much info as possible.
What version of gtar are you using?
What are the mount options of that filesystem?
How is this extremely large filesytem created (one large disk? volume manager? ...)

--
Paul @ Home