Amanda-Users

Re: Problem with amrecover

2003-03-19 18:52:50
Subject: Re: Problem with amrecover
From: bao <bao AT gibbons DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 19 Mar 2003 14:18:21 -0800
As a followup to my previous mail.

I have repeatedly tried amrecover with different disks in my config. The small disk (with original 760 MB, after backup ~380 MB) seems to let me recover. The bigger disk (original ~ 18 GB, after backup ~9 MB) always hangs or reboots the server itself. No compression is used, just tar, in the config.

Does amanda impose a limit on disk size???
If so, I guess I have to split the disk into small chunks, which is completely undesirable.

bao wrote:
Hi list,

I'm experiencing the same problem.

My linux dist. is RH 8.0 kernel 2.4.18-19.8.0.
tar 1.13.25-8.

amdump was ok. amverify OK.
But when I ran amrecover, everything went fine until the extract step.
amanda seems to freeze.

Here's the result of amidxtaped and amrecover, respectively:
------------------------------------------------------------

amidxtaped: debug 1 pid 1552 ruid 501 euid 501: start at Wed Mar 19 10:52:38 2003
amidxtaped: version 2.4.4
amidxtaped: time 0.000: > SECURITY USER root
amidxtaped: time 0.000: bsd security: remote host snook user root local user general
amidxtaped: time 0.000: amandahosts security check passed
amidxtaped: time 0.000: > CONFIG=WeeklySet
amidxtaped: time 0.000: > LABEL=WeeklySet1
amidxtaped: time 0.000: > FSF=2
amidxtaped: time 0.000: > HEADER
amidxtaped: time 0.000: > DEVICE=file:/Backup/general/WeeklySet1
amidxtaped: time 0.000: > HOST=^snook$
amidxtaped: time 0.000: > DISK=^/Shared$
amidxtaped: time 0.000: > DATESTAMP=20030319
amidxtaped: time 0.000: > END
amidxtaped: time 0.001: amrestore_nargs=0
amidxtaped: time 0.001: Ready to execv amrestore with:
path = /Backup/usr/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-p"
argv[2] = "-h"
argv[3] = "file:/Backup/general/WeeklySet1"
argv[4] = "^snook$"
argv[5] = "^/Shared$"
argv[6] = "20030319"
amrestore:   0: skipping start of tape: date 20030319 label WeeklySet1
amrestore:   1: skipping snook._Mail.20030319.0
amrestore:   2: restoring snook._Shared.20030319.0
Error 32 (Broken pipe) offset -835747840+32768, wrote 0
amrestore: pipe reader has quit in middle of file.
amidxtaped: time 209.145: amrestore terminated normally with status: 2
amidxtaped: time 209.146: rewinding tape ...
amidxtaped: time 209.146: done
amidxtaped: time 209.146: pid 1552 finish time Wed Mar 19 10:56:07 2003

-------------

amrecover: debug 1 pid 1526 ruid 0 euid 0: start at Wed Mar 19 10:49:14 2003
amrecover: stream_client_privileged: connected to xx.xx.xx.xx.10082
amrecover: stream_client_privileged: our side is 0.0.0.0.928
guess_disk: 11: "/tmp/amanda"
guess_disk: 0: 1: "/": "rootfs"
guess_disk: local_disk = 1, fsname = "rootfs"
guess_disk: 1: 1: "/": "/dev/root"
guess_disk: 1: 5: "/proc": "/proc"
guess_disk: 1: 13: "/proc/bus/usb": "usbdevfs"
guess_disk: 1: 5: "/boot": "/dev/hda1"
guess_disk: 1: 8: "/dev/pts": "none"
guess_disk: 1: 8: "/dev/shm": "none"
guess_disk: 1: 7: "/Backup": "/dev/hdb"
guess_disk: 1: 1: "/": "/dev/hda2"
guess_disk: 1: 5: "/proc": "none"
guess_disk: 1: 13: "/proc/bus/usb": "usbdevfs"
guess_disk: 1: 5: "/boot": "/dev/hda1"
guess_disk: 1: 8: "/dev/pts": "none"
guess_disk: 1: 8: "/dev/shm": "none"
guess_disk: 1: 7: "/Backup": "/dev/hdb"
guess_disk: 1: 1: "/": "LABEL=/"
guess_disk: 1: 5: "/boot": "LABEL=/boot"
guess_disk: 1: 8: "/dev/pts": "none"
guess_disk: 1: 5: "/proc": "none"
guess_disk: 1: 8: "/dev/shm": "none"
guess_disk: 1: 4: "swap": "/dev/hda3"
guess_disk: 1: 11: "/mnt/floppy": "/dev/fd0"
guess_disk: 1: 7: "/Backup": "/dev/hdb"
guess_disk: 1: 10: "/mnt/cdrom": "/dev/cdrom"
add_dir_list_item: Adding "2003-03-19" "0" "WeeklySet1" "2" "/."
...
add_dir_list_item: Adding "2003-03-19" "0" "WeeklySet1" "2" "/bao/"
add_dir_list_item: Adding "2003-03-19" "0" "WeeklySet1" "2" "/boot.out"
...
amrecover: stream_client_privileged: connected to xx.xx.xx.xx.10083
amrecover: stream_client_privileged: our side is 0.0.0.0.620
amrecover: try_socksize: receive buffer size is 65536
Exec'ing /bin/gtar with arguments:
    tar
    -xpGvf
    -
    ./bao/gsv42w32.exe
    ./bao/gs704w32.exe
    ./bao/WinPcap.exe
    ./bao/ipchains
    ./bao/imtool.c



Pleae tell me what's happened with amanda



<Prev in Thread] Current Thread [Next in Thread>