LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   amanda backup problem (https://www.linuxquestions.org/questions/linux-newbie-8/amanda-backup-problem-381669/)

hueofwind 11-09-2005 11:53 PM

amanda backup problem
 
HI, following is the amanda backup email. Anyone who knows what's the problem with amanda?

These dumps were to tape chemistry-weekly.
*** A TAPE ERROR OCCURRED: [[writing file: Input/output error]].
Some dumps may have been left in the holding disk.
Run amflush to flush them to tape.
The next tape Amanda expects to use is: chemistry-weekly.

FAILURE AND STRANGE DUMP SUMMARY:
pv-chem-fi /usr lev 0 FAILED [out of tape]
pv-chem-fi /usr lev 0 FAILED ["data write: Broken pipe"]
pv-chem-fi /usr lev 0 FAILED [dump to tape failed]
webserver /usr lev 1 FAILED [no more holding disk space]
pv-chem-fi /home/pv-chem-file lev 2 FAILED [no more holding disk space]
webserver /home/webserver lev 1 FAILED [no more holding disk space]


STATISTICS:
Total Full Daily
-------- -------- --------
Estimate Time (hrs:min) 0:03
Run Time (hrs:min) 0:19
Dump Time (hrs:min) 0:09 0:09 0:00
Output Size (meg) 313.5 313.5 0.0
Original Size (meg) 487.0 487.0 0.0
Avg Compressed Size (%) 64.4 64.4 --
Filesystems Dumped 2 2 0
Avg Dump Rate (k/s) 606.7 606.7 --

Tape Time (hrs:min) 0:02 0:02 0:00
Tape Size (meg) 313.5 313.5 0.0
Tape Used (%) 0.8 0.8 0.0
Filesystems Taped 2 2 0
Avg Tp Write Rate (k/s) 2550.3 2550.3 --

USAGE BY TAPE:
Label Time Size % Nb
chemistry-weekly 0:02 313.5 0.8 2


FAILED AND STRANGE DUMP DETAILS:

/-- pv-chem-fi /usr lev 0 FAILED ["data write: Broken pipe"]
sendbackup: start [pv-chem-file:/usr level 0]
sendbackup: info BACKUP=/sbin/dump
sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/sbin/restore -f... -
sendbackup: info COMPRESS_SUFFIX=.gz
sendbackup: info end
| DUMP: Date of this level 0 dump: Sun Nov 6 12:13:32 2005
| DUMP: Dumping /dev/sda2 (/usr) to standard output
| DUMP: Label: /usr
| DUMP: Writing 10 Kilobyte records
| DUMP: mapping (Pass I) [regular files]
| DUMP: mapping (Pass II) [directories]
| DUMP: estimated 1321520 blocks.
| DUMP: Volume 1 started with block 1 at: Sun Nov 6 12:13:33 2005
| DUMP: dumping (Pass III) [directories]
| DUMP: dumping (Pass IV) [regular files]
| DUMP: 67.89% done at 2990 kB/s, finished in 0:02
\--------


NOTES:
planner: tapecycle (1) <= runspercycle (1)
planner: Last full dump of pv-chem-file:/ on tape chemistry-weekly overwritten on this run.
planner: Last full dump of pv-chem-file:/home/pv-chem-file on tape chemistry-weekly overwritten on this run.
planner: Last full dump of pv-chem-file:/usr on tape chemistry-weekly overwritten on this run.
planner: Last full dump of webserver:/ on tape chemistry-weekly overwritten on this run.
planner: Last full dump of webserver:/home/webserver on tape chemistry-weekly overwritten on this run.
planner: Last full dump of webserver:/usr on tape overwritten in 1 run.
planner: Incremental of pv-chem-file:/home/pv-chem-file bumped to level 2.
taper: tape chemistry-weekly kb 586336 fm 3 writing file: Input/output error


DUMP SUMMARY:
DUMPER STATS TAPER STATS
HOSTNAME DISK L ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s
-------------------------- --------------------------------- ------------
pv-chem-file / 0 237110 131228 55.3 2:43 804.8 0:522521.7
pv-chem-file --chem-file 2 FAILED ---------------------------------------
pv-chem-file /usr 0 FAILED ---------------------------------------
webserver / 0 261565 189752 72.5 6:06 518.4 1:142570.4
webserver -/webserver 1 FAILED ---------------------------------------
webserver /usr 1 FAILED ---------------------------------------

(brought to you by Amanda version 2.4.4p3)

sundialsvcs 11-10-2005 05:25 PM

Looks like a holding-disk filled up?

hueofwind 11-14-2005 10:55 PM

Quote:

Originally posted by sundialsvcs
Looks like a holding-disk filled up?
What do u mean? Can u explain it in more detail? How to solve this problem?

changlinn 11-22-2005 12:19 AM

your holding disk is the space where amanda uses tar to tar (like zip) the files to. If you don't have enough space in the holding disk for all your files to be copied (tar compresses, but modern files are pretty compressed bes tot etimate the full size of your files) then the backup will fail. To check where your holding disk is (it is usually just a folder) check the config files under your jobs directory, or check amanda.org for the where-a-bouts of the default holding disk.

hueofwind 11-24-2005 12:05 AM

holdingdisk hd1 {
comment "main holding disk"
directory "/usr/local/apps/amanda/dumps/" # where the holding disk is
use 500 Mb # how much space can we use on it
# a non-positive value means:
# use all space but that value
chunksize 1Gb # size of chunk if you want big dump to be
# dumped on multiple files on holding disks
# N Kb/Mb/Gb split images in chunks of size N
# The maximum value should be
# (MAX_FILE_SIZE - 1Mb)
# 0 same as INT_MAX bytes
}
#holdingdisk hd2 {
# directory "/dumps2/amanda"
# use 1000 Mb
# }
#holdingdisk hd3 {
# directory "/mnt/disk4"
# use 1000 Mb
# }

Above is holdingdisk description in my amanda.conf, what is the meaning of "use 500M", does it mean only 500M can be backuped by amanda?

Thanks!


All times are GMT -5. The time now is 01:27 PM.