unsubscribe

2002-06-06 Thread wr






Re: Anyone with experience using a Sun Storedge L9 DLT array with Amanda?

2002-06-06 Thread Ted Coady

Quoting Craig Dewick ([EMAIL PROTECTED]):
 
 Ok, thanks for this tip. I'm going to try and secure the L9 array since
 it's virtually new and a perfect small backup solution.
 
 How are you using it with Amanda btw? Do you use 'chg-scsi', or are you
 controlling it with the 'mtx' utility using 'chg-zd-mtx' or similar?

  Hi...

  I have an L9 running on an E220R, using mtx-1.2.11 to control the
  robotics. (I assume later versions would work too.. I just haven't 
  had reason to upgrade..  :)   )

  As for the changer script...  the two mtx-based changer scripts that come
  with amanda 2.4.2p2 had some issues, but that went away when I grabbed
  a different (better?) script from
http://www.killfile.org/~tskirvin/software/mtx-changer/mtx-changer-1.1

  Hope this helps...

  Ted



disk offline - runtar as root

2002-06-06 Thread Jonathan Murray

It appears that the client isn't running runtar as root. Does anyone 
know how to force the client to run runtar as root?

Thanks,

Jonathan Murray

from report:

FAILURE AND STRANGE DUMP SUMMARY:
   borzoi /dev/dsk/dks0d2s7 lev 0 FAILED [disk /dev/dsk/dks0d2s7 
offline on borzoi?]
   borzoi /dev/dsk/dks0d1s0 lev 0 FAILED [disk /dev/dsk/dks0d1s0 
offline on borzoi?]



on client:

calculating for amname '/dev/dsk/dks0d2s7', dirname '/borzoi'
sendsize: getting size via gnutar for /dev/dsk/dks0d2s7 level 0
sendsize: missing exclude list file /usr/local/lib/amanda/exclude.gtar 
discarded
sendsize: spawning /usr/freeware/libexec/runtar in pipeline
sendsize: argument list: /usr/freeware/bin/tar --create --file /dev/null 
--directory /borzoi --one-file-system --listed-incremental 
/var/amanda/gnutar-lists/borzoi_dev_dsk_dks0d2s7_0.new --sparse 
--ignore-failed-read --totals .
runtar: error [must be invoked by root]





RE: disk offline - runtar as root

2002-06-06 Thread Spicer, Kevin

cd /usr/local/libexec
chown root:amanda runtar
chmod 4750 runtar

assuming runtar is in usr/local/libexec and that the amanda user is in the amanda 
group...

But... I suspect that you haven't got runtar in the right group (or the amanda user in 
the right group) as your message suggests runtar is generating the error.
When  try to invoke runtar on my system (as myself) I get
runtar: error [must be invoked by amanda]
I don't know whether this check is hardwired in at compile time - in which case you 
may need to recompile?

-Original Message-
From: Jonathan Murray [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2002 15:25
To: Jonathan Murray
Cc: [EMAIL PROTECTED]
Subject: disk offline - runtar as root


It appears that the client isn't running runtar as root. Does anyone 
know how to force the client to run runtar as root?

Thanks,

Jonathan Murray

from report:

FAILURE AND STRANGE DUMP SUMMARY:
   borzoi /dev/dsk/dks0d2s7 lev 0 FAILED [disk /dev/dsk/dks0d2s7 
offline on borzoi?]
   borzoi /dev/dsk/dks0d1s0 lev 0 FAILED [disk /dev/dsk/dks0d1s0 
offline on borzoi?]



on client:

calculating for amname '/dev/dsk/dks0d2s7', dirname '/borzoi'
sendsize: getting size via gnutar for /dev/dsk/dks0d2s7 level 0
sendsize: missing exclude list file /usr/local/lib/amanda/exclude.gtar 
discarded
sendsize: spawning /usr/freeware/libexec/runtar in pipeline
sendsize: argument list: /usr/freeware/bin/tar --create --file /dev/null 
--directory /borzoi --one-file-system --listed-incremental 
/var/amanda/gnutar-lists/borzoi_dev_dsk_dks0d2s7_0.new --sparse 
--ignore-failed-read --totals .
runtar: error [must be invoked by root]




Re: divided backup (breaking up is hard to do?)

2002-06-06 Thread Robert L. Becker Jr.

No answers back, but I think I've stumbled on the solution and post it
here for the next poor soul who makes the same mistake. Noticed from
another recent post that clients can generate a sendsize.*.debug. Looked
for this on my client that failed to estimate, and found that the
automatically generated 'arguments' line specified the --exclude-from
option and that the estimate failed with message that this option's
argument was a directory. Sure enough, --exclude-from needs the name of a
file that specifies other files for exclusion; what I gave it (via
exclude list in my disklist entry) was the top directory of the subtree
to be omitted. I'm pretty sure that the fix is to use exclude instead of
exclude list (which I had hastily cribbed from one of the examples that
shipped in disklist). I'll make this change for tonight, and will post
again only if it fails and I need more ideas.

The side question I posed wrt successful recovery of gnutar'd stuff only
on the original host is still open. I suspect there are clues in the
arrangement of the gnutar-lists, but the answer is not clear to me yet.

Robert L. Becker, Jr.
Col, USAF, MC
Department of Cellular Pathology
Armed Forces Institute of Pathology
Washington, DC 20306-6000
301-319-0300


On Tue, 4 Jun 2002, Robert L. Becker Jr. wrote:


 I have a partition on one client that exceeds a tape (as I realized after
 first L0 attempt failed) and is too large for my holding disk. I have
 specified smaller parts (with appropriate 'exclude list') for gnutar to
 handle. Amcheck reports no problem for the client. The L0 attempt for all
 of the partition subparts ran last night. It appeared that one of the
 subparts taped ok. The other two (those with 'exclude' set) were flagged
 as No Estimate in the amstatus output during amdump's run, and failed.
 Here are the disklist entries:

 # optimas:/reed split up into manageable chunks (wrt holding disk, tape size)
 optimas3.cpt.afip.org /reed/becker/duplicates_pol_thickness/dense comp-user-tar
 optimas3.cpt.afip.org /reed/becker/duplicates_pol_thickness {
   comp-user-tar
   exclude list dense
 }
 optimas3.cpt.afip.org /reed {
   comp-user-tar
   exclude list becker/duplicates_pol_thickness
 }


[...snip...]



 [As a side question, the test recovery worked for putting the data back
 onto optimas3, but it failed when I tried putting the data on another
 host, i.e. the Amanda server, raleigh. Here is the amrecover session
 targeting raleigh:

 raleigh 116# /usr/local/amanda/sbin/amrecover Daily
 AMRECOVER Version 2.4.2p2. Contacting server on raleigh ...
 220 raleigh AMANDA index server (2.4.2p2) ready.
 200 Access OK
 Setting restore date to today (2002-06-04)
 200 Working date set to 2002-06-04.
 200 Config set to Daily.
 501 No index records for host: raleigh. Invalid?
 Trying raleigh.cpt.afip.org ...
 200 Dump host set to raleigh.cpt.afip.org.
 $CWD '/tmp/recover_reed' is on disk '/dev/root' mounted at '/'.
 200 Disk set to /dev/root.
 Invalid directory - /tmp/recover_reed
 amrecover sethost optimas3
 501 No index records for host: optimas3. Invalid?
 Trying optimas3.cpt.afip.org ...
 200 Dump host set to optimas3.cpt.afip.org.
 amrecover setdisk /reed/becker/duplicates_pol_thickness/dense
 200 Disk set to /reed/becker/duplicates_pol_thickness/dense.
 amrecover add m109[5-6]*
 Added dir /m1095p1230 at date 2002-06-04
 Added dir /m1096p1230 at date 2002-06-04
 amrecover list
 TAPE Daily002 LEVEL 0 DATE 2002-06-04
 /m1096p1230
 /m1095p1230
 amrecover extract

 Extracting files using tape drive /dev/rmt/tps1d4nrsv on host raleigh.
 The following tapes are needed: Daily002

 Restoring files into directory /tmp/recover_reed
 Continue? [Y/n]: y

 Load tape Daily002 now
 Continue? [Y/n]: y
 :f
 tar: ./m1096p1230: Not found in archive
 tar: ./m1095p1230: Not found in archive
 tar: Error exit delayed from previous errors
 extract_list - child returned non-zero status: 2
 Continue? [Y/n]: amrecover n
 Invalid command - parse error
 amrecover
 amrecover exit

 I suspect the problem is due to a mismatch between relative vs absolute
 paths used in the recovery. Whatever the problem, I don't know how to
 untangle it. Can someone point the way? Thanks.






Dump configuration on amanda

2002-06-06 Thread Meryem Raqai Chaoui


Hi,
I have errors using dump and apparently, it' because I'm doing a dump on 
an active filesystem. I would like to know if there is a way to configure 
amanda to execute dump -I ??
Thanks in advance
Meryem






amrecover reserved port and stream_client.diff patch file

2002-06-06 Thread Jason Upton

I have compiled amanda 2.4.2p2 with the --with-port-range option and am 
getting the amrecover: did not get a reserved port message.  Amanda 
has been backing up fine as far as I can tell, but I wanted to test the 
restore capabilities before I actually needed them and found that I have 
this problem.

So I searched the yahoo groups archive for amanda-users and found a 
patch located at www.amanda.org/patches.html (real location of patch 
file is http://www.amanda.org/patches/2.4.2p2/stream_client.diff) and 
tried to apply it, but it appears the patch was generated against a 
different version of common-src/stream.c than what I have downloaded 
with the 2.4.2p2 tar file release.

Here is what I see when applying the patch:
# patch -p0  stream_client.diff
patching file common-src/stream.c
Hunk #1 succeeded at 145 (offset 2 lines).
Hunk #2 succeeded at 159 with fuzz 1 (offset 3 lines).
Hunk #3 succeeded at 180 (offset 3 lines).
Hunk #4 succeeded at 198 (offset 3 lines).
Hunk #5 succeeded at 213 (offset 3 lines).
Hunk #6 succeeded at 263 (offset 3 lines).
Hunk #7 succeeded at 275 (offset 3 lines).
Hunk #8 FAILED at 285.
Hunk #9 succeeded at 307 (offset 5 lines).
1 out of 9 hunks FAILED -- saving rejects to file common-src/stream.c.rej
patching file common-src/stream.h
patching file recover-src/amrecover.c
Hunk #1 succeeded at 513 (offset -11 lines).
patching file recover-src/extract_list.c

I checked the patch file and see that stream.c was diff'd with version 
1.10.2.8:
diff -u -r1.10.2.8
--- common-src/stream.c 2001/06/18 22:23:19 1.10.2.8
+++ common-src/stream.c 2001/07.30 19:13:19

My amanda 2.4.2p2 tar ball has the 1.10.2.7 version of common-src/stream.c:
$Id: stream.c,v 1.10.2.7 2001/02/28 00:53:15 jrjackson Exp $

Is this why the patch is failing?  If so, how do I patch my 1.10.2.7 to 
be 1.10.2.8 before I apply the stream_client.diff patch?

Thanks for any help,
Jason Upton
[EMAIL PROTECTED]





Re: amrecover: can't recover some files

2002-06-06 Thread Robert L. Becker Jr.

I've seen similar error msg (short block, can't read header) on first
attempt to recover from tapes just-written and left in my Exabyte 8900
tape drive. Problem disappeared after a) I explicitly rewound the tape
and/or (I'm not sure which) b) the tape automatically rewound after the
first amrecover error.

I assume (since the taping device must be specified non-rewinding) that
amrecover hiccuped because it didn't automatically rewind before
trying to read, and so started off at EOT. I hope that's the correct
explanation...

Robert L. Becker, Jr.
Col, USAF, MC
Department of Cellular Pathology
Armed Forces Institute of Pathology
Washington, DC 20306-6000
301-319-0300


On Thu, 6 Jun 2002, Fabien SEISEN wrote:


 Hi,

 i use amanda 2.4.2p2 (2.4.2p2-4 on Debian woody).
 When i try to recover a file:

 amrecover cd toto/
 amrecover add tata.html
 amrecover extract

 i got:
 EOF, check amidxtaped.debug file on localhost.
 amrecover: short block 0 bytes
 UNKNOWN file
 amrecover: Can't read file header
 extract_list - child returned non-zero status: 1

 and i could'nt find the file amidxtaped.debug.

 It append at least with one file (not all files :)

 but if i do:
 amrecover add toto
 amrecover extract

 it successfully restore directory toto with tata.html inside

 --
 Fabien Seisen [EMAIL PROTECTED] dakol@opn
 GnuPG ID 1024D/112189D8






unsubscribe

2002-06-06 Thread Kablan BOGNINI

 
 

___
Do You Yahoo!? -- Une adresse yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



unsubscribe

2002-06-06 Thread Linda Potesta




*   Linda Potesta  *
*  [EMAIL PROTECTED]  #
*Phone (734)936-6002   *
*Cell  (734)323-7745   *







RE: amrestore problems

2002-06-06 Thread Bort, Paul

Maybe /dev/ait2 != /dev/nst0 ? 

 amrestore: could not open tape /dev/ait2: Permission denied
snip
 
 $ ls -l /dev/nst0
 
 crw-rw1 root disk   9, 128 Aug 30  2001 /dev/nst0
 
 I can read for the tape with dd:
 
 $ mt -f /dev/ait2 fsf 1; dd if=/dev/ait2 bs=32k count=1
 
 AMANDA: FILE 20020606 zambezi /boot lev 1 comp N program /bin/gtar
 To restore, position tape at start of file and run:
 dd if=tape bs=32k skip=1 | /bin/gtar -f... -
 
 etc, all the way thru the tape.
 



Amcheck error with smbclient

2002-06-06 Thread adi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm having trouble trying to get a windows client backed up. First i have a 
setup like this. The amanda server is Marvin. The PC to be backup is called 
Win2k. The machine running smbclient is Aries.

Disklist on Marvin:- 
aries  //Win2k's IP/C$comp-user-tar

/etc/amandapass on Aries:-
//Win2k's IP/C$ username%password

Output from running amcheck on Marvin:-
Amanda Backup Client Hosts Check
- 
ERROR: aries: [PC SHARE //Win2k's IP/C$ access error: host down or invalid 
password?]
Client check: 1 host checked in 0.837 seconds, 1 problem found

Output from amadad.debug on Aries:-
amandad: debug 1 pid 32285 ruid 34 euid 34 start time Fri Jun  7 03:51:14 2002
amandad: version 2.4.1p1
amandad: build: VERSION=Amanda-2.4.1p1
amandad:BUILT_DATE=Mon Jun 12 23:14:52 MDT 2000
amandad:BUILT_MACH=Linux rover 2.2.15pre15 #1 Thu Mar 23 02:22:27 MST 
2000 i686 unknown
amandad:CC=gcc
amandad: paths: bindir=/usr/sbin sbindir=/usr/sbin
amandad:libexecdir=/usr/lib/amanda mandir=/usr/share/man
amandad:CONFIG_DIR=/etc/amanda DEV_PREFIX=/dev/
amandad:RDEV_PREFIX=/dev/ DUMP=/sbin/dump
amandad:RESTORE=/sbin/restore SAMBA_CLIENT=/usr/bin/smbclient
amandad:GNUTAR=/bin/tar COMPRESS_PATH=/bin/gzip
amandad:UNCOMPRESS_PATH=/bin/gzip MAILER=/usr/bin/Mail
amandad:listed_incr_dir=/var/lib/amanda/gnutar-lists
amandad: defs:  DEFAULT_SERVER=localhost DEFAULT_CONFIG=DailySet1
amandad:DEFAULT_TAPE_SERVER=localhost
amandad:DEFAULT_TAPE_DEVICE=/dev/null HAVE_MMAP HAVE_SYSVSHM
amandad:LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE BSD_SECURITY
amandad:USE_AMANDAHOSTS CLIENT_LOGIN=backup FORCE_USERID HAVE_GZIP
amandad:COMPRESS_SUFFIX=.gz COMPRESS_FAST_OPT=--fast
amandad:COMPRESS_BEST_OPT=--best UNCOMPRESS_OPT=-dc
got packet:
- 
Amanda 2.4 REQ HANDLE 000-20AD0708 SEQ 1023393074
SECURITY USER amanda
SERVICE selfcheck
OPTIONS ;
GNUTAR //Win2k's IP/C$ 0 OPTIONS 
|;bsd-auth;compress-fast;index;exclude-list=/usr/local/lib/amanda/exclude.gtar;
- 

sending ack:
- 
Amanda 2.4 ACK HANDLE 000-20AD0708 SEQ 1023393074
- 
bsd security: remote host marvin amanda local user backup
amandahosts security check passed
amandad: running service /usr/lib/amanda/selfcheck
added interface ip=192.168.1.4 bcast=192.168.1.255 nmask=255.255.255.0
session request to Win2k's IP failed (Called name not present)
session request to 203 failed (Called name not present)
session setup failed: ERRDOS - ERRnoaccess (Access denied.)
amandad: sending REP packet:
- 
Amanda 2.4 REP HANDLE 000-20AD0708 SEQ 1023393074
OPTIONS ;
running /usr/bin/smbclient Win2k's IP\\C$  -E -U backup -c quit
ERROR [PC SHARE //Win2k's IP/C$ access error: host down or invalid password?]
OK /usr/lib/amanda/runtar executable
OK /bin/tar executable
OK /var/lib/amanda/amandates read/writable
OK /var/lib/amanda/gnutar-lists/. read/writable
OK /usr/bin/smbclient executable
OK [/etc/amandapass is readable, but not by all]
OK /bin/gzip executable
OK /dev/null read/writable
OK /tmp has more than 64 KB available.
OK /tmp/amanda has more than 64 KB available.
OK /var/lib has more than 64 KB available.
- 

amandad: got ack:
- 

I must have missed something or is it my setup is wrong. I don't have 
smbclient on the Marvin but i do have smbclient on Aries. I tried runing 
smbclient by hand it works.

/usr/bin/smbclient Win2k's IP\\C$  -E -U backup -c quit
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8/8hRInIYkBVpGqURAry+AJ9RUfRu1ZCRVD11w4oF+2cwu8pePwCfale5
ZTZLA0XLSuXSguxrYzKs99s=
=8VxJ
-END PGP SIGNATURE-