>Date: Thu, 18 Jan 2001 15:22:02 -0500
>From: Hurf Sheldon <[EMAIL PROTECTED]>

>Our present setup is  Amanda-2.4.2-19990920 on an HPUX 10.2 system
>backing up
>a heterogeneous environment of NT, Irix, FreeBSD and HPUX systems to
>an Overland 4000LX 15tape/1drive DLT. We are backing up the NT systems
>via Samba.

>Changes needed: 
>1: Move the drive to a PC based system - right now we have a FreeBSD
>4.2-Stable
>system on a dual 266mhz P-II ASUS P2B-D mother board and an Adaptec
>2930CU SCSI adapter.

OK; I'm using FreeBSD 4.2-STABLE as of 13 Dec 2000.  The box doesn't
have much in the way of CPU, but has 3 SCSI host adapters (one for the
OS, one for holding disks, and one for the tape & changer).  I'm running
amanda 2.4.2 (as released... well, mostly) on it.

>...

>Related questions:
>1: When we move the Overland to the FreeBSD PC and run amlabel, we get 
>errors in the system log file and the DLT goes out to lunch - we setup
>an HP SureStore 2300 6 tape DDS as a test and saw some similar errors
>but 
>after the tapes were labeled they subsided: 
>(ch0:ahc0:0:0:1): MOVE MEDIUM. CDB: a5 20 0 0 0 3 0 1 0 0 0 0 
>(ch0:ahc0:0:0:1): ILLEGAL REQUEST asc:3b,d
>(ch0:ahc0:0:0:1): Medium destination element full
>ch: warning: could not map element source address 0d to a valid element
>type
>(sa0:ahc0:0:0:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM
>command to clear this state.

Hmm... what changer script are you using?  What happens if you issue
"chio" commands directly (as a user who has "write" access to /dev/ch0)?

(The commands I would use for startes would be "chio info" and "chio
params".)

>2: We can't directly access the NAS disks - how would we give dump
>instructions
>to a system that has it mounted via NFS or SMB? I thought Amanda used
>tar
>on Unix but a dump request to an Irix system with the NAS mounted failed 
>"disk /remote/nas01/2 offline on nimble".

Ummm... you need to use tar, not dump.  tar can read an NFS-mounted
filesystem; dump cannot.

>3: How can we configure amanda to do only level 0 or only incremental
>backups?
>We'd like to (say) run level 0 over the weekend to one tape set and
>incrementals to
>another, with an eye to adding a second tape machine and do level 0 to
>one and
>incrementals to the other.

Set up a separate configuration for that.  I do something like this, in
that I run the "usual" backups Monday - Saturday, and then on Sunday, I
run a different configuration that does record-no level 0 backups of
everything; the media from this are sent off-site for 2 weeks.  Much of
the information is set up to be shared between the configurations (by a
combination of "include" directives & symlinks).

I can send more details if that's not enough (but I thought I had a fair
amount of detail in a message a week ago or so).

>3a: To use a second 15 tape magazine, is there a way to setup
>amanda.conf to count
>all 30 tapes sequentially? The problem seems to be that Amanda thinks
>there is 
>30 slots if there are 30 tapes, so the chio routines fail. We'd like to
>have it stop 
>the tapers, ask for the next magazine and start at slot 1 again.

Sounds as if you'd need to use a custom changer script to do that,
though my knowledge of the details of the stock ones is pretty limited.
Starting with an existing script that comes close can be helpful.

Cheers,
david
-- 
David Wolfskill      [EMAIL PROTECTED]   UNIX System Administrator
Desk: 650/577-7158   TIE: 8/499-7158   Cell: 650/759-0823

I need help: http://www.whistle.com/employment/employ-engg.html#K030391

Reply via email to