Re: Fwd: help for compiling amanda to support xfsdump in RH 7.3
Actually, I run amrecover on a client that has xfsrestore on it... after I run amrecover, sethost, setdate, setdisk, add files then when I run extract, I got the following message: EOF, check amidxtaped.debug file on backupserver.edu amrecover: Can't read file header extract_list_child returned non-zero status:1 continue [?/y/n]? So, any idea why it can't restore? Thanks, Zhen Liu --- On Wed, 16 Oct 2002 at 10:21am, Zhen Liu wrote Thanks so much for your advice...it seems to recognize the xfsdump and do the backup...however, when I try to test the xfsrestore using amrecover...it can not use the xfsrestore... So, my question is does amrecover support xfsrestore for the current amanda 2.4.3 version? or are there any ideas how to make amanda using xfsrestore? Where are you running amrecover? Obviously, it has to be on a system that has xfsrestore. It should work. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University Zhen Liu Via Webmail [EMAIL PROTECTED]
Fwd: Re: Fwd: help for compiling amanda to support xfsdump in RH 7.3
Hi, Haven't got a solution for this issue...help...!!! Any feedback would be really appreciated!!! Thanks a lot, Zhen Liu Via Webmail [EMAIL PROTECTED] -- Forwarded message --- From: Zhen Liu [EMAIL PROTECTED] To: Joshua Baker-LePain [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Thu, 10 Oct 2002 10:26:39 -0500 Hi, Joshua: Thanks for your quick response... Here is my ls -l /sbin/xfsdump: -rwxr-xr-x1 root root 259020 Apr 16 10:17 /sbin/xfsdump And when I compile the amanda client, my ./configure command are as follows: ./config --with-user=amanda --with-group=disk --with-amandahosts --with-config=daily --with-gnutar=/bin/tar --with-tape-server=ourbackupserver.edu --with-configdir=/etc/amanda --without-server --with-index-server=ourbackupserver.edu So, the output of ./configure is below: loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking cached system tuple... ok checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) gawk checking whether make sets ${MAKE}... (cached) yes checking for non-rewinding tape device... /dev/null checking for raw ftape device... /dev/null checking for Kerberos and Amanda kerberos4 bits... no checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for style of include used by make... GNU checking dependency style of gcc... (cached) gcc3 checking for object suffix... (cached) o checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking for executable suffix... (cached) no checking for ar... (cached) /usr/bin/ar checking for gawk... (cached) gawk checking for gawk command line variable assignment... (cached) yes with -v checking for bison... (cached) bison -y checking for cat... (cached) /bin/cat checking for compress... (cached) /usr/bin/compress checking for dd... (cached) /bin/dd checking for egrep... (cached) /bin/egrep checking for getconf... (cached) /usr/bin/getconf checking for gnuplot... (cached) /usr/bin/gnuplot checking for grep... (cached) /bin/grep checking for gtar... (cached) /bin/tar checking for smbclient... (cached) /usr/bin/smbclient checking for gzip... (cached) /bin/gzip checking for Mail... (cached) /usr/bin/Mail checking for mt... (cached) /bin/mt checking for chio... no checking for chs... no checking for mtx... (cached) /usr/sbin/mtx checking for lpr... (cached) /usr/bin/lpr checking which flag to use to select a printer... (cached) -P checking for pcat... no checking for perl5... (cached) /usr/bin/perl checking for sh... (cached) /bin/sh checking for ufsdump... (cached) /sbin/dump checking for ufsrestore... (cached) /sbin/restore checking whether /sbin/dump supports -E or -S for estimates... (cached) S checking for xfsdump... (cached) /sbin/xfsdump checking for xfsrestore... (cached) /sbin/xfsrestore checking for vxdump... no checking for vxrestore... no checking for vdump... no checking for vrestore... no checking for large file compilation CFLAGS... (cached) -D_FILE_OFFSET_BITS=64 checking for large file compilation LDFLAGS... (cached) checking for large file compilation LIBS... (cached) checking how to run the C preprocessor... (cached) gcc -E checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes checking how to recognise dependant libraries... (cached) pass_all checking command to parse /usr/bin/nm -B output... (cached) ok checking for dlfcn.h... (cached) yes checking for ranlib... (cached) ranlib checking for strip... (cached) strip checking for objdir... .libs checking for gcc option to produce PIC... (cached) -fPIC checking if gcc PIC flag -fPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.lo... (cached) yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes creating libtool checking whether gcc needs -traditional... (cached) no checking for working const... (cached) yes checking
Re: Fwd: help for compiling amanda to support xfsdump in RH 7.3
/amanda.8 creating man/amcheck.8 creating man/amcheckdb.8 creating man/amcleanup.8 creating man/amdump.8 creating man/amflush.8 creating man/amlabel.8 creating man/amoverview.8 creating man/amrecover.8 creating man/amrmtape.8 creating man/amtoc.8 creating man/amverify.8 creating man/Makefile creating man/amstatus.8 creating man/amreport.8 creating man/amgetconf.8 creating man/amverifyrun.8 creating docs/Makefile creating recover-src/Makefile creating restore-src/Makefile creating server-src/amcheckdb.sh creating server-src/amcleanup.sh creating server-src/amdump.sh creating server-src/amfreetapes.sh creating server-src/amoverview.pl creating server-src/amrmtape.sh creating server-src/amtoc.pl creating server-src/amverify.sh creating server-src/Makefile creating server-src/amstatus.pl creating server-src/amverifyrun.sh creating tape-src/Makefile creating config/Makefile creating Makefile creating config/config.h config/config.h is unchanged --- On Wed, 9 Oct 2002 at 3:37pm, Zhen Liu wrote I still haven't figured out this...I tried recompile the recent release amanda-2.4.3 on the box...I got the same disk /xfs offline message. So, how can I compile the amanda client to recognize and use the xfsdump program instead of run dump program? Post the entire output of ./configure. Also, how did you install xfsdump? How about 'ls -l /sbin/xfsudmp'? -- Joshua Baker-LePain Department of Biomedical Engineering Duke University Zhen Liu Via Webmail [EMAIL PROTECTED]
Fwd: Re: Fwd: help for compiling amanda to support xfsdump in RH 7.3
Zhen Liu Via Webmail [EMAIL PROTECTED] -- Forwarded message --- From: Zhen Liu [EMAIL PROTECTED] To: Joshua Baker-LePain [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Thu, 10 Oct 2002 10:26:39 -0500 Hi, Joshua: Thanks for your quick response...pls look at the following output and find out what is wrong with my compiling amanda to support xfsdump in Red Hat 7.3. Here is my ls -l /sbin/xfsdump: -rwxr-xr-x1 root root 259020 Apr 16 10:17 /sbin/xfsdump And when I compile the amanda client, my ./configure command are as follows: ./config --with-user=amanda --with-group=disk --with-amandahosts --with-config=daily --with-gnutar=/bin/tar --with-tape-server=ourbackupserver.edu --with-configdir=/etc/amanda --without-server --with-index-server=ourbackupserver.edu So, the output of ./configure is below: loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking cached system tuple... ok checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) gawk checking whether make sets ${MAKE}... (cached) yes checking for non-rewinding tape device... /dev/null checking for raw ftape device... /dev/null checking for Kerberos and Amanda kerberos4 bits... no checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for style of include used by make... GNU checking dependency style of gcc... (cached) gcc3 checking for object suffix... (cached) o checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking for executable suffix... (cached) no checking for ar... (cached) /usr/bin/ar checking for gawk... (cached) gawk checking for gawk command line variable assignment... (cached) yes with -v checking for bison... (cached) bison -y checking for cat... (cached) /bin/cat checking for compress... (cached) /usr/bin/compress checking for dd... (cached) /bin/dd checking for egrep... (cached) /bin/egrep checking for getconf... (cached) /usr/bin/getconf checking for gnuplot... (cached) /usr/bin/gnuplot checking for grep... (cached) /bin/grep checking for gtar... (cached) /bin/tar checking for smbclient... (cached) /usr/bin/smbclient checking for gzip... (cached) /bin/gzip checking for Mail... (cached) /usr/bin/Mail checking for mt... (cached) /bin/mt checking for chio... no checking for chs... no checking for mtx... (cached) /usr/sbin/mtx checking for lpr... (cached) /usr/bin/lpr checking which flag to use to select a printer... (cached) -P checking for pcat... no checking for perl5... (cached) /usr/bin/perl checking for sh... (cached) /bin/sh checking for ufsdump... (cached) /sbin/dump checking for ufsrestore... (cached) /sbin/restore checking whether /sbin/dump supports -E or -S for estimates... (cached) S checking for xfsdump... (cached) /sbin/xfsdump checking for xfsrestore... (cached) /sbin/xfsrestore checking for vxdump... no checking for vxrestore... no checking for vdump... no checking for vrestore... no checking for large file compilation CFLAGS... (cached) -D_FILE_OFFSET_BITS=64 checking for large file compilation LDFLAGS... (cached) checking for large file compilation LIBS... (cached) checking how to run the C preprocessor... (cached) gcc -E checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes checking how to recognise dependant libraries... (cached) pass_all checking command to parse /usr/bin/nm -B output... (cached) ok checking for dlfcn.h... (cached) yes checking for ranlib... (cached) ranlib checking for strip... (cached) strip checking for objdir... .libs checking for gcc option to produce PIC... (cached) -fPIC checking if gcc PIC flag -fPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.lo... (cached) yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes creating libtool checking whether gcc needs -traditional... (cached) no checking for working const... (cached) yes checking
Fwd: help for compiling amanda to support xfsdump in RH 7.3
Hi, I still haven't figured out this...I tried recompile the recent release amanda-2.4.3 on the box...I got the same disk /xfs offline message. So, how can I compile the amanda client to recognize and use the xfsdump program instead of run dump program? Any ideas will be really appreciated. Thanks, Zhen Liu Via Webmail [EMAIL PROTECTED] -- Forwarded message --- From: Zhen Liu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu, 22 Aug 2002 11:18:21 -0500 Hi, Any ideas for how to compile amanda client to support xfsdump for xfs filesystems on RH7.3 box...appreciate very much for your help... Thanks a lot Zhen Liu
Re: help for compiling amanda to support xfsdump in RH 7.3
Hi Joshua: I tried to recompile amanda client to support xfsdump...and followed the four steps you mentioned below...for some reason, it still can not backup xfs volume on that client...so, I am wondering that something must be wrong when I was doing the recompiling... Could you please give me a little more specific instructions about this? I really appreciate your help. Thanks a lot, Zhen Liu --- On Fri, 23 Aug 2002 at 10:30am, Zhen Liu wrote I first checked that I have xfsdump installed in the box, then I started to run ./configure, make, make check, make install...and configured the amanda client...it seems like amanda can not recognize the xfs... First check to make sure that ./configure finds xfsdump: checking for xfsdump... /sbin/xfsdump checking for xfsrestore... /sbin/xfsrestore configure: warning: *** xfsdump causes the setuid-root rundump program to be enabled configure: warning: *** to disable it, just #undef XFSDUMP in config/config.h I saw these when I was running ./configure... Second, make sure you're doing the 'make install' as root, or the bits that need to be setuid won't be. I was doing the 'make, make check, anda make install' as root... Third, are your XFS partitions in the fstab? I have the XFS paritions in the fstab... Fourth, make sure you're trying to use xfsdump on entire partitions only -- it won't work on subdirectories. I am trying to use xfsdump on entire partitions. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University Zhen Liu Via Webmail [EMAIL PROTECTED]
Re: amtape and tape changer problem
: pDeviceCapabilitiesPage == NULLChgExit in CheckMove, reason DeviceCapabilitiesPage == NULL [root@apple amanda]# --- Hi, On Thu, Mar 14, 2002 at 09:00:06AM -0500, Zhen Liu wrote: Hi, Thank you very much for your suggestion. Meanwhile, I got another problem...when I enter the command amtape daily show I got the following message: scanning all 7 slots in tape-changer rack: slot1: date X Label DailySet11 amtape: could not load slot DeviceCapabilitiesPage: == Null. Hmm, that is an indicator that the device for the robot is wrong. Can you send the debug output (/tmp/amanda) Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| --- Zhen Liu Via Webmail [EMAIL PROTECTED]
Fwd: dump timeout problem
Zhen Liu Via Webmail [EMAIL PROTECTED] -- Forwarded message --- From: Zhen Liu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Fri, 29 Mar 2002 09:09:14 -0500 Hi, Thanks for your suggestions, I did change the etimeout from 300 (5minutes by default) to 3600 (1 hour). Meanwhile, I changed the localhost to the FQDN...and my holding disk in amanda.conf to 2Mb... But I still got some kind of timeout issue...I tried to back up 5 file systems and got 3 of them failed... Can you please help? below are my log files: This is my /var/spool/mail message: From amanda Fri Mar 29 03:47:29 2002 Return-Path: [EMAIL PROTECTED] Received: (from amanda@localhost) by apple.iusb.edu (8.11.2/8.11.2) id g2T8lSM10987 for zliu; Fri, 29 Mar 2002 03:47:28 -0500 Date: Fri, 29 Mar 2002 03:47:28 -0500 From: Amanda user [EMAIL PROTECTED] Message-Id: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: DailyBackup AMANDA MAIL REPORT FOR March 29, 2002 These dumps were to tape DailySet11. The next 2 tapes Amanda expects to used are: a new tape, a new tape. FAILURE AND STRANGE DUMP SUMMARY: apple.iusb /scsi4-data lev 0 FAILED [data timeout] apple.iusb /scsi0-data lev 1 FAILED [data timeout] apple.iusb /apps lev 0 FAILED [data timeout] STATISTICS: Total Full Daily Estimate Time (hrs:min)0:13 Run Time (hrs:min) 2:42 Dump Time (hrs:min)0:18 0:00 0:18 Output Size (meg)1936.20.0 1936.2 Original Size (meg) 1936.20.0 1936.2 Avg Compressed Size (%) -- -- --(level:#disks .) Filesystems Dumped2 0 2 (1:2) Avg Dump Rate (k/s) 1840.6-- 1840.6 Tape Time (hrs:min)0:13 0:00 0:13 Tape Size (meg) 1936.30.0 1936.3 Tape Used (%) 4.80.04.8 (level:#disks .) Filesystems Taped 2 0 2 (1:2) Avg Tp Write Rate (k/s) 2524.5-- 2524.5 ^L FAILED AND STRANGE DUMP DETAILS: /-- apple.iusb /scsi4-data lev 0 FAILED [data timeout] sendbackup: start [apple.iusb.edu:/scsi4-data level 0] sendbackup: info BACKUP=/sbin/dump sendbackup: info RECOVER_CMD=/sbin/restore -f... - sendbackup: info end | DUMP: Date of this level 0 dump: Fri Mar 29 01:17:51 2002 | DUMP: Date of last level 0 dump: the epoch | DUMP: Dumping /dev/sda9 (/scsi4-data) to standard output | DUMP: Label: none | DUMP: mapping (Pass I) [regular files] | DUMP: mapping (Pass II) [directories] | DUMP: estimated 620986 tape blocks. | DUMP: Volume 1 started at: Fri Mar 29 01:18:27 2002 | DUMP: dumping (Pass III) [directories] | DUMP: dumping (Pass IV) [regular files] \ /-- apple.iusb /scsi0-data lev 1 FAILED [data timeout] sendbackup: start [apple.iusb.edu:/scsi0-data level 1] sendbackup: info BACKUP=/sbin/dump sendbackup: info RECOVER_CMD=/sbin/restore -f... - sendbackup: info end | DUMP: Date of this level 1 dump: Fri Mar 29 01:51:33 2002 | DUMP: Date of last level 0 dump: Thu Mar 28 13:26:41 2002 | DUMP: Dumping /dev/sda7 (/scsi0-data) to standard output | DUMP: Label: none | DUMP: mapping (Pass I) [regular files] | DUMP: mapping (Pass II) [directories] | DUMP: estimated 950437 tape blocks. | DUMP: Volume 1 started at: Fri Mar 29 01:52:17 2002 | DUMP: dumping (Pass III) [directories] | DUMP: dumping (Pass IV) [regular files] | DUMP: 66.01% done at 2091 KB/s, finished in 0:02 \ /-- apple.iusb /apps lev 0 FAILED [data timeout] sendbackup: start [apple.iusb.edu:/apps level 0] sendbackup: info BACKUP=/sbin/dump sendbackup: info RECOVER_CMD=/sbin/restore -f... - sendbackup: info end | DUMP: Date of this level 0 dump: Fri Mar 29 02:47:12 2002 | DUMP: Date of last level 0 dump: the epoch | DUMP: Dumping /dev/sda6 (/apps) to standard output | DUMP: Label: none | DUMP: mapping (Pass I) [regular files] | DUMP: mapping (Pass II) [directories] | DUMP: estimated 13642189 tape blocks. | DUMP: Volume 1 started at: Fri Mar 29 02:53:35 2002 | DUMP: dumping (Pass III) [directories] | DUMP: dumping (Pass IV) [regular files] | DUMP: 2.89% done at 1314 KB/s, finished in 2:47 | DUMP: 6.73% done at 1530 KB/s, finished in 2:18 | DUMP: 11.72% done at 1776 KB/s, finished in 1:52 | DUMP: 19.07% done at 2168 KB/s, finished in 1:24 \ ^L NOTES: planner: Last full dump of apple.iusb.edu:/apps on tape overwritten in 1 run. planner: Adding new disk apple.iusb.edu:/scsi4-data. taper: tape DailySet11 kb 1982752 fm 2 [OK] ^L DUMP SUMMARY: DUMPER STATSTAPER STATS HOSTNAME DISKL ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s -- - apple.iusb.e /apps 0 FAILED
level 1 differential backup config
Hi, I need set up amanda to do full backup and only level 1 differential backup. Anyone knows how to configure this...thanks a lot. Zhen Liu Via Webmail [EMAIL PROTECTED]
Fwd: dump timeout problem
Zhen Liu Via Webmail [EMAIL PROTECTED] -- Forwarded message --- From: Zhen Liu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Fri, 29 Mar 2002 09:09:14 -0500 Hi, Thanks for your suggestions, I did change the etimeout from 300 (5minutes by default) to 3600 (1 hour). Meanwhile, I changed the localhost to the FQDN...and my holding disk in amanda.conf to 2Mb... But I still got some kind of timeout issue...I tried to back up 5 file systems and got 3 of them failed... Can you please help? below are my log files: This is my /var/spool/mail message: From amanda Fri Mar 29 03:47:29 2002 Return-Path: [EMAIL PROTECTED] Received: (from amanda@localhost) by apple.iusb.edu (8.11.2/8.11.2) id g2T8lSM10987 for zliu; Fri, 29 Mar 2002 03:47:28 -0500 Date: Fri, 29 Mar 2002 03:47:28 -0500 From: Amanda user [EMAIL PROTECTED] Message-Id: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: DailyBackup AMANDA MAIL REPORT FOR March 29, 2002 These dumps were to tape DailySet11. The next 2 tapes Amanda expects to used are: a new tape, a new tape. FAILURE AND STRANGE DUMP SUMMARY: apple.iusb /scsi4-data lev 0 FAILED [data timeout] apple.iusb /scsi0-data lev 1 FAILED [data timeout] apple.iusb /apps lev 0 FAILED [data timeout] STATISTICS: Total Full Daily Estimate Time (hrs:min)0:13 Run Time (hrs:min) 2:42 Dump Time (hrs:min)0:18 0:00 0:18 Output Size (meg)1936.20.0 1936.2 Original Size (meg) 1936.20.0 1936.2 Avg Compressed Size (%) -- -- --(level:#disks .) Filesystems Dumped2 0 2 (1:2) Avg Dump Rate (k/s) 1840.6-- 1840.6 Tape Time (hrs:min)0:13 0:00 0:13 Tape Size (meg) 1936.30.0 1936.3 Tape Used (%) 4.80.04.8 (level:#disks .) Filesystems Taped 2 0 2 (1:2) Avg Tp Write Rate (k/s) 2524.5-- 2524.5 ^L FAILED AND STRANGE DUMP DETAILS: /-- apple.iusb /scsi4-data lev 0 FAILED [data timeout] sendbackup: start [apple.iusb.edu:/scsi4-data level 0] sendbackup: info BACKUP=/sbin/dump sendbackup: info RECOVER_CMD=/sbin/restore -f... - sendbackup: info end | DUMP: Date of this level 0 dump: Fri Mar 29 01:17:51 2002 | DUMP: Date of last level 0 dump: the epoch | DUMP: Dumping /dev/sda9 (/scsi4-data) to standard output | DUMP: Label: none | DUMP: mapping (Pass I) [regular files] | DUMP: mapping (Pass II) [directories] | DUMP: estimated 620986 tape blocks. | DUMP: Volume 1 started at: Fri Mar 29 01:18:27 2002 | DUMP: dumping (Pass III) [directories] | DUMP: dumping (Pass IV) [regular files] \ /-- apple.iusb /scsi0-data lev 1 FAILED [data timeout] sendbackup: start [apple.iusb.edu:/scsi0-data level 1] sendbackup: info BACKUP=/sbin/dump sendbackup: info RECOVER_CMD=/sbin/restore -f... - sendbackup: info end | DUMP: Date of this level 1 dump: Fri Mar 29 01:51:33 2002 | DUMP: Date of last level 0 dump: Thu Mar 28 13:26:41 2002 | DUMP: Dumping /dev/sda7 (/scsi0-data) to standard output | DUMP: Label: none | DUMP: mapping (Pass I) [regular files] | DUMP: mapping (Pass II) [directories] | DUMP: estimated 950437 tape blocks. | DUMP: Volume 1 started at: Fri Mar 29 01:52:17 2002 | DUMP: dumping (Pass III) [directories] | DUMP: dumping (Pass IV) [regular files] | DUMP: 66.01% done at 2091 KB/s, finished in 0:02 \ /-- apple.iusb /apps lev 0 FAILED [data timeout] sendbackup: start [apple.iusb.edu:/apps level 0] sendbackup: info BACKUP=/sbin/dump sendbackup: info RECOVER_CMD=/sbin/restore -f... - sendbackup: info end | DUMP: Date of this level 0 dump: Fri Mar 29 02:47:12 2002 | DUMP: Date of last level 0 dump: the epoch | DUMP: Dumping /dev/sda6 (/apps) to standard output | DUMP: Label: none | DUMP: mapping (Pass I) [regular files] | DUMP: mapping (Pass II) [directories] | DUMP: estimated 13642189 tape blocks. | DUMP: Volume 1 started at: Fri Mar 29 02:53:35 2002 | DUMP: dumping (Pass III) [directories] | DUMP: dumping (Pass IV) [regular files] | DUMP: 2.89% done at 1314 KB/s, finished in 2:47 | DUMP: 6.73% done at 1530 KB/s, finished in 2:18 | DUMP: 11.72% done at 1776 KB/s, finished in 1:52 | DUMP: 19.07% done at 2168 KB/s, finished in 1:24 \ ^L NOTES: planner: Last full dump of apple.iusb.edu:/apps on tape overwritten in 1 run. planner: Adding new disk apple.iusb.edu:/scsi4-data. taper: tape DailySet11 kb 1982752 fm 2 [OK] ^L DUMP SUMMARY: DUMPER STATSTAPER STATS HOSTNAME DISKL ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s -- - apple.iusb.e /apps 0 FAILED
Re: dump timeout problem
to planner with the estimate. You didn't post your sendsize*debug file, but we can see part of what happened from the corresponding amandad*debug: amandad: debug 1 pid 11580 ruid 33 euid 33 start time Fri Mar 22 09:07:01 2002 ... got packet: Amanda 2.4 REQ HANDLE 000-C03A0608 SEQ 1016806021 SECURITY USER amanda SERVICE sendsize OPTIONS maxdumps=1;hostname=localhost; GNUTAR /scsi9-data 0 1970:1:1:0:0:0 -1 exclude-list=/usr/lib/amanda/exclude.gtar ... amandad: pid 11580 finish time Fri Mar 22 10:29:09 2002 Note the start and end time. It took about one and a half hours to do this estimate. The default value for etimeout in amanda.conf allows five minutes per disk per client. You missed that by a lot :-). I don't know why GNU tar took so long to do the estimate. That's not an Amanda problem. However, you might check what version of GNU tar you're using. It needs to be either 1.12 plus the patches on the www.amanda.org web page, or else 1.13.19 or later (from alpha.gnu.org). If --version reports just 1.13, that's a *very*, *very* bad version. Or it could be that the particular data on the file system is just really bad for tar to deal with. For instance, if there are a bajillion files it can take tar a long time to process each one. If that's the case you may just have to increase etimeout a lot in amanda.conf. Zhen Liu John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED] Zhen Liu Via Webmail [EMAIL PROTECTED]
amtape and tape changer problem
Hi, Thank you very much for your suggestion. Meanwhile, I got another problem...when I enter the command amtape daily show I got the following message: scanning all 7 slots in tape-changer rack: slot1: date X Label DailySet11 amtape: could not load slot DeviceCapabilitiesPage: == Null. I am wondering something is wrong about my changer device...but I am not sure what is exactly wrong with it. So, any information or references? pls help!!! Zhen Liu --- It means that it is a unused tape ...if it had been previously used (meaning tape is referred to in the tapelist file) then there will be a reference to the tape. Look in your tapelist file and see if there is any reference to DailySet16 Don Zhen Liu wrote: Hi, I am working on amanda with the Adic Fastor autoloader...Dlt7000... on RH linux 7.1 os... When I run amcheck i got the following message: amcheck-server: slot0: date X label DailySet16 (first labelstr match) So, anyone knows anything wrong with this? why the date shows X instead of the actual date? pls help!!! Thanks, Zhen Liu Via Webmail [EMAIL PROTECTED] Zhen Liu Via Webmail [EMAIL PROTECTED]
Re: amtape and tape changer problem
: pDeviceCapabilitiesPage == NULLChgExit in CheckMove, reason DeviceCapabilitiesPage == NULL [root@apple amanda]# --- Hi, On Thu, Mar 14, 2002 at 09:00:06AM -0500, Zhen Liu wrote: Hi, Thank you very much for your suggestion. Meanwhile, I got another problem...when I enter the command amtape daily show I got the following message: scanning all 7 slots in tape-changer rack: slot1: date X Label DailySet11 amtape: could not load slot DeviceCapabilitiesPage: == Null. Hmm, that is an indicator that the device for the robot is wrong. Can you send the debug output (/tmp/amanda) Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| --- Zhen Liu Via Webmail [EMAIL PROTECTED]
Fwd: tape changer problem
Zhen Liu Via Webmail [EMAIL PROTECTED] -- Forwarded message --- From: Zhen Liu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon, 04 Mar 2002 12:03:21 -0500 Hi, I am working on the amanda backup project now, and I am a newbie for both amanda and linux... right now, I have some problem with our tape changer...SOS!!! HELP!!! The OS I am working on is Linux RH7.1, the tape changer we have is Adic Fastor, Quantum 7000 tape drive. I guess that something must be wrong with my configuration...when i run amcheck i get amcheck-server: could not get changer info: open: /dev/sg0: success -relevant part from /etc/amanda/daily/amanda.conf runtapes 2 tpchanger chg-scsi tapedev 0 changerfile etc/amanda/DailySet1/changer.conf changerdev dev/sg0 - /etc/amanda/DailySet1/changer.conf- number_configs 1 # eject 1 sleep60 cleanmax 1000 changerdev /dev/sg0 # # Next comes the data for drive 0 # config 0 drivenum 0 dev /dev/nst0 startuse 0 enduse 6 statfile /etc/amanda/DailySet1/st0-slot cleancart-1 cleanfile/etc/amanda/DailySet1/st0-clean usagecount /etc/amanda/DailySet1/st0-totaltime So, I am totally lost...Help? Thanks... Zhen Liu Via Webmail [EMAIL PROTECTED]
Fwd: help for tape changer problem
Zhen Liu Via Webmail [EMAIL PROTECTED] -- Forwarded message --- From: Zhen Liu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue, 05 Mar 2002 11:26:40 -0500 Zhen Liu Via Webmail [EMAIL PROTECTED] -- Forwarded message --- From: Zhen Liu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon, 04 Mar 2002 12:03:21 -0500 Hi, I am working on the amanda backup project now, and I am a newbie for both amanda and linux... right now, I have some problem with our tape changer...SOS!!! HELP!!! The OS I am working on is Linux RH7.1, the tape changer we have is Adic Fastor, Quantum 7000 tape drive. I guess that something must be wrong with my configuration...when i run amcheck i get amcheck-server: could not get changer info: open: /dev/sg0: success -relevant part from /etc/amanda/daily/amanda.conf runtapes 2 tpchanger chg-scsi tapedev 0 changerfile etc/amanda/DailySet1/changer.conf changerdev dev/sg0 - /etc/amanda/DailySet1/changer.conf- number_configs 1 # eject 1 sleep60 cleanmax 1000 changerdev /dev/sg0 # # Next comes the data for drive 0 # config 0 drivenum 0 dev /dev/nst0 startuse 0 enduse 6 statfile /etc/amanda/DailySet1/st0-slot cleancart-1 cleanfile/etc/amanda/DailySet1/st0-clean usagecount /etc/amanda/DailySet1/st0-totaltime So, I am totally lost...Help? Thanks... Zhen Liu Via Webmail [EMAIL PROTECTED]
help for tape changer problem
Zhen Liu Via Webmail [EMAIL PROTECTED] -- Forwarded message --- From: Zhen Liu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon, 04 Mar 2002 12:03:21 -0500 Hi, I am working on the amanda backup project now, and I am a newbie for both amanda and linux... right now, I have some problem with our tape changer...SOS!!! HELP!!! The OS I am working on is Linux RH7.1, the tape changer we have is Adic Fastor, Quantum 7000 tape drive. I guess that something must be wrong with my configuration...when i run amcheck i get amcheck-server: could not get changer info: open: /dev/sg0: success -relevant part from /etc/amanda/daily/amanda.conf runtapes 2 tpchanger chg-scsi tapedev 0 changerfile etc/amanda/DailySet1/changer.conf changerdev dev/sg0 - /etc/amanda/DailySet1/changer.conf- number_configs 1 # eject 1 sleep60 cleanmax 1000 changerdev /dev/sg0 # # Next comes the data for drive 0 # config 0 drivenum 0 dev /dev/nst0 startuse 0 enduse 6 statfile /etc/amanda/DailySet1/st0-slot cleancart-1 cleanfile/etc/amanda/DailySet1/st0-clean usagecount /etc/amanda/DailySet1/st0-totaltime So, I am totally lost...Help? Thanks... Zhen Liu Via Webmail [EMAIL PROTECTED]
tape changer problem
Hi, I am working on the amanda backup project now, and I am a newbie for both amanda and linux... right now, I have some problem with our tape changer...SOS!!! HELP!!! The OS I am working on is Linux RH7.1, the tape changer we have is Adic Fastor, Quantum 7000 tape drive. I guess that something must be wrong with my configuration...when i run amcheck i get amcheck-server: could not get changer info: open: /dev/sg0: success -relevant part from /etc/amanda/daily/amanda.conf runtapes 2 tpchanger chg-scsi tapedev 0 changerfile etc/amanda/DailySet1/changer.conf changerdev dev/sg0 - /etc/amanda/DailySet1/changer.conf- number_configs 1 # eject 1 sleep60 cleanmax 1000 changerdev /dev/sg0 # # Next comes the data for drive 0 # config 0 drivenum 0 dev /dev/nst0 startuse 0 enduse 6 statfile /etc/amanda/DailySet1/st0-slot cleancart-1 cleanfile/etc/amanda/DailySet1/st0-clean usagecount /etc/amanda/DailySet1/st0-totaltime So, I am totally lost...Help? Thanks... Zhen Liu Via Webmail [EMAIL PROTECTED]