Hello, I have been trying to get Amanda to work for me for the past few months, and continue to succeed up until the time comes to back up actual data onto real tapes. I have the Amanda server configured, a couple of clients set up, disk list entries made, etc. and all works well when testing. I was able to back up the /var/log directories of three systems successfully, but whenever I try to back up any data of any consequence, the report I receive states that the dump failed:
FAILURE DUMP SUMMARY: amandaclient.domain.local /var/lib/postgresql/backup lev 1 FAILED [too many taper retries] amandaclient.domain.local /var/lib/postgresql/backup lev 1: partial taper: No space left on device I have a hard time believing that this is the case, since the directory in question is only 225 megabytes in size, and I am trying to back it up onto an 80 gigabyte HP DAT-160 cartridge. As such, I checked some log files to see if I could find more information. /var/spool/amanda/lib/amanda/<config>/log.20100511032639.0: SUCCESS chunker amandaclient.domain.local /var/lib/postgresql/backup 20100511032639 1 [sec 13.158 kb 85136 kps 6472.2] INFO chunker pid-done 11402 START taper datestamp 20100511032639 label <config>-2 tape 1 PARTPARTIAL taper <config>-2 1 amandaclient.domain.local /var/lib/postgresql/backup 20100511032639 1/1 1 [sec 0.016246 kb 384 kps 23636.587468] "No space left on device" INFO taper tape <config>-2 kb 0 fm 1 [OK] PARTIAL taper amandaclient.domain.local /var/lib/postgresql/backup 20100511032639 1 1 [sec 0.016246 kb 384 kps 23636.587468] "No space left on device" WARNING driver Out of tapes; going into degraded mode. WARNING driver Taper protocol error WARNING driver going into degraded mode because of taper component error. FAIL driver amandaclient.domain.local /var/lib/postgresql/backup 20100511032639 1 [too many taper retries] Running dmesg on the Amanda server give a bit more information, though nothing that I personally find useful: [2373787.012504] taper[11331]: segfault at 7ff184000a98 ip 0000000000404b1a sp 00007fff8ac81270 error 5 in taper[400000+c000] [2373787.012572] BUG: Bad page map in process taper pte:480810000b pmd:261970067 [2373787.012576] addr:00007ff184000000 vm_flags:00200073 anon_vma:ffff880018c8fac0 mapping:(null) index:7ff184000 [2373787.012581] Pid: 11331, comm: taper Not tainted 2.6.31-gentoo-r10 #1 [2373787.012584] Call Trace: [2373787.012594] [<ffffffff812789b9>] ? string+0x3f/0xa2 [2373787.012601] [<ffffffff810b91c6>] print_bad_pte+0x208/0x221 [2373787.012605] [<ffffffff810b9211>] vm_normal_page+0x32/0x4a [2373787.012609] [<ffffffff810b9f4e>] unmap_vmas+0x3ed/0x8a7 [2373787.012613] [<ffffffff810be681>] exit_mmap+0xa9/0x12c [2373787.012618] [<ffffffff8103f655>] mmput+0x33/0xb6 [2373787.012623] [<ffffffff810431e5>] exit_mm+0x108/0x113 [2373787.012626] [<ffffffff81044bfd>] do_exit+0x1b7/0x722 [2373787.012631] [<ffffffff8104d9de>] ? __dequeue_signal+0x103/0x130 [2373787.012635] [<ffffffff810451da>] do_group_exit+0x72/0x9f [2373787.012639] [<ffffffff8104f733>] get_signal_to_deliver+0x303/0x324 [2373787.012645] [<ffffffff8100af90>] do_notify_resume+0x90/0x73b [2373787.012650] [<ffffffff810acb1d>] ? lru_cache_add_lru+0x26/0x28 [2373787.012655] [<ffffffff8102a47b>] ? bad_area_access_error+0x42/0x4a [2373787.012660] [<ffffffff815c59e3>] ? do_page_fault+0x221/0x2c3 [2373787.012665] [<ffffffff8100c51a>] retint_signal+0x3d/0x83 [2373787.012667] Disabling lock debugging due to kernel taint mt reports that the tape device (/dev/nst0) is at block 1, so I can't imagine that it is actually full. This occurs on every tape I try. amdevcheck always reports SUCCESS before I run amdump. I can't seem to find much information about problems similar to this on the web. I found a few hits that were several years old, suggesting upgrading tar, recompiling Amanda, and of course the standard hardware diagnostics (RAM, hard disk, etc), all of which I have done as applied. If anyone can please assist me in tracking down and correcting this problem, I would very much appreciate it. I just had an issue with some lost data, and I'd really like to get these tape backups working so I can sleep again. Some other useful information: Amanda 2.6.1_p2 (also used 2.6.0_p2 with the same effect) Gentoo Linux, Kernel 2.6.31-r10 (also used 2.6.31-r6 with same effect. Will be upgrading to 2.6.32-r7 shortly) tar (GNU tar) 1.20 HP DAT 160 USB Tape Drive (tapes are HP DAT 160 Data Cartridge C8011A) I can make my amanda.conf, etc. files available if necessary; this message seems long enough already without them. Dustin C. Hatch Director of Information Systems Supertechs 13153 State Line Rd. Kansas City, MO 64145 (816) 559-3620 http://www.gosupertechs.com/
smime.p7s
Description: S/MIME cryptographic signature
