Online Book Reader

Home Category

UNIX System Administration Handbook - Evi Nemeth [126]

By Root 2927 0
(level:#disks ...)

Filesystems Dumped 18 8 10 (1:8 2:2)

Avg Dump Rate (k/s) 105.3 124.5 43.4

Avg Tp Write Rate (k/s) 1254.2 1251.8 1276.9

NOTES:

planner: Adding new disk zamboni:c0t0d0s7.

driver: WARNING: /dumps/amanda: 8550400 KB requested, but only 1035113

KB available.

planner: Forcing full dump of squishy:c0t0d0s0 as directed.

planner: Request to fuzz timed out.

planner: Incremental of ocean:sd0h bumped to level 2.

...

driver: going into degraded mode because of tape error.

...

One common problem is for Amanda to be unable to write backups onto a tape. This problem can occur when there isn’t a valid tape in the drive or when some kind of tape error occurs during writing (as in the example with host fuzz above). In either case, Amanda still spools the backups to the holding disk. To write these buffered dumps to tape, insert the proper tape in the drive and run amflush.

To diagnose other problems, you can investigate either the log files on the server or the debug files on the client. The location of log files on the server is specified in the amanda.conf file. The debug files are located in each client’s /tmp/amanda directory, that is, if you compiled Amanda with --with-debugging (the default).

Amanda generates the email report from the log file. For example, here’s the log file (amdump.n) from which the email above was derived.

SETTING UP FOR ESTIMATES...

dumper: pid 18199 executable dumper version 2.4.1p1, using port 791

...

driver: started dumpersetup_estimates: ocean:sd0d: command 0, options:

last_level 1 next_level0 6 level_days 16

getting estimates 0 (20023) 1 (2735) -1 (-1)

...

zamboni:c0t0d0s0 lev 1 skipped due to skip-incr flag

planner: SKIPPED zamboni c0t0d0s0 1 [skip-incr]

...

GETTING ESTIMATES...

got result for host ocean disk sd0a: 0 -> 53797K, 1 -> 1797K, -1 -> -1K

got result for host ocean disk sd0d: 0 -> 19695K, 1 -> 2696K, -1 -> -1K

...

ANALYZING ESTIMATES...

...

pondering ocean:sd0d... next_level0 6 last_level 1 (not due for a full dump,

picking an incr level)

...

Here is the other log file, log.19990901.0, that corresponds to the original email:

START planner date 19990901

START driver date 19990901

INFO planner Adding new disk depot:dsk/d1.

SUCCESS planner zamboni c0t0d0s0 1 [skipped: skip-incr]

WARNING driver WARNING: /dumps/amanda: 8550400 KB requested, but only

1035113 KB available.

...

START taper datestamp 19990901 label Podunk-481 tape 0

FAIL planner fuzz sd1a 0 [no estimate or historical data]

...

STATS driver startup time 2019.456

SUCCESS dumper ocean sd0a 0 [sec 418.311 kb 25088 kps 59.97 orig-kb 58087 ]

SUCCESS dumper ocean sd0d 1 [sec 15.867 kb 800 kps 50.42 orig-kb 2719 ]

...

SUCCESS taper ocean sd0a 0 [sec 53.366 kb 25088 kps 474.612 {wr: writes 2

rdwait 0.000 wrwait 0.032 filemark 38.332 }]

SUCCESS taper ocean sd0d 1 [sec 6.345 kb 800 kps 133.3 {wr: writes 1 rdwait

1.470 wrwait 0.356 filemark 2.637 }]

...

STRANGE dumper ocean sd0h 1 [sec 82.435 kb 33.4 kps 0.4 orig-kb 155.0 ]

sendbackup: start [ocean:sd0h level 1 datestamp 19990901]

| DUMP: Date of this level 1 dump: Wed Sep 01 23:47:54 1999

| DUMP: Date of last level 0 dump: Mon Aug 30 23:43:23 1999

| DUMP: Dumping /dev/rsd0h (/amanda) to standard output

| DUMP: mapping (Pass I) [regular files]

| DUMP: mapping (Pass II) [directories]

? DUMP: (This should not happen) bread from /dev/rsd0h [block 64]:

count=8192, got=-1

| DUMP: estimated 38 blocks (19KB) on 0.00 tape(s).

| DUMP: dumping (Pass III) [directories]

| DUMP: dumping (Pass IV) [regular files]

| DUMP: level 1 dump on Wed Sep 01 23:47:54 1999

| DUMP: 310 blocks (155KB) on 1 volume

| DUMP: DUMP IS DONE

sendbackup: size 158720

sendbackup: end

...

Each SUCCESS dumper line means that a dump was written to the holding disk, and each SUCCESS taper line means a dump was written to tape. A STRANGE dumper means that Amanda saw error output while running dump. When dump errors occur, Amanda saves the output in this log file (it puts a “?” in front of the offending lines) and also includes it in the

Return Main Page Previous Page Next Page

®Online Book Reader