Hello everyone:
I made the changes Jon LaBadie suggested on Friday. I also kicked
amtapetype and got the following for Dell PowerVault 124T:
# amtapetype -f /dev/nst0
Writing 2048 Mbyte compresseable data: 34 sec
Writing 2048 Mbyte uncompresseable data: 88 sec
WARNING: Tape drive has hardware compression enabled
Estimated time to write 2 * 1024 Mbyte: 88 sec = 0 h 1 min
wrote 5910198 32Kb blocks in 18074 files in 8350 seconds (short write)
wrote 5343303 32Kb blocks in 32781 files in 8346 seconds (short write)
define tapetype unknown-tapetype {
comment "just produced by tapetype prog (hardware compression on)"
length 206453 mbytes
filemark 1233 kbytes
speed 21568 kps
}
Now, there are two tapes currently in the unit but when I attempt the
following, I get a an error:
# su amanda -c "/usr/sbin/amtape DailySet1 show"
amtape: could not get changer info: cannot determine first slot
What else could be missing from my configuration?
Thanks,
/////////////////////////////////////
Ronald Vincent Vazquez
Christ Tabernacle Church Ministries
http://www.ctcministries.org/
(301) 540-9394 Home
(240) 401-9192 Cell
On Fri, Jun 16, 2006 at 03:23:22PM -0400, Ronald Vincent Vazquez wrote:
> Hello again:
>
> I started configuring amanda in little spurts as I take care of other
> issues. This is what I have so far:
>
> ##############################################
> => global.conf <=
> define tapetype PV124LTO2 {
> comment "Copied this from a website"
> length 203061 mbytes
> filemark 972 kbytes
> speed 2272 kps
> }
>
> ##############################################
> => amanda.conf <=
> dumpcycle 7
> runspercycle -1
Without a history of previous runs, I don't understand
how this will work. Maybe it does, I've not tried it.
If you are running amdump every day, use 7 or 0.
> tapecycle 7
Whoops. definitely not a good setting. You will be
overwriting on day 8, tape one, with the first set of full
dumps (on which the incrementals of day 2-7 are based).
An absolute minimum (though notrecommended any way no how!)
is runs/cycle + 1. A more reasonable minimum is twice that.
And I think that most sites work with higher multiples.
Those numbers for tapecycle also have to be increased based
on the number of tapes used per run (runtapes).
>
> dumpuser "amanda"
> printer "lp"
>
> tpchanger "chg-zd-mtx"
> tapedev "/dev/nst0"
Looks like a linux system. You should check out the stinit
capability which will initialize several more device names
and each can have specific properties, eg. compression on/off,
block size, ...
>
> runtapes 1
> labelstr "^EXAMPLE-[0-9][0-9]*$"
> tapetype PV124LTO2
>
> ctimeout 60
> dtimeout 3600
> etimeout 600
>
> netusage 2000
> inparallel 10
>
> dumporder "tttTTTTTTT"
> maxdumps 10
> bumpsize 10
> bumpmult 1.5
> bumpdays 1
>
> diskfile "/etc/amanda/DailySet1/disklist"
> infofile "/etc/amanda/DailySet1/curinfo"
> logdir "/etc/amanda/DailySet1"
I like the logs in a subdir rather than clutter up
the main config dir.
> indexdir "/etc/amanda/DailySet1/index"
> tapelist "tapelist"
> tapebufs 20
> reserve 100
Few sites want the reserve at 100. This means 100% of
the holding disk is reseved for only incrementals.
Speaking of which, no holding disk defined. Gonna be
tough feeding that new drive fast enough unless you
have the buffering of a holding disk.
> autoflush off
Without a holding disk, this doesn't matter, but I like
to have anything that didn't fit on to the tape automa-
tically flushed at the start of the next run.
> includefile "/etc/amanda/global.conf"
>
> ##############################################
> => changer.conf <=
I don't see changerfile defined. It should point at your changer.conf
file. Without the ".conf" specified for current chg-zd-mtx.
> changerdev=/dev/sg1
> firstslot=1
> lastslot=6
> cleanslot=-1
> autoclean=0
> havereader=0
> offline_before_unload=0
> OFFLINE_BEFORE_UNLOAD=0
> poll_drive_ready=10
> max_drive_wait=120
> unloadpause=20
> driveslot=0
>
> ##############################################
> # mtx -f /dev/sg1 inquiry
> Product Type: Medium Changer
> Vendor ID: 'DELL '
> Product ID: 'PV-124T '
> Revision: '0026'
> Attached Changer: No
>
> ##############################################
> What other settings should I configure? So far I am getting:
>
> # su amanda -c "/usr/sbin/amtape DailySet1 show"
> amtape: could not get changer info: line 324: /dev/null: Permission
> denied
>
>
> /////////////////////////////////////
> Ronald Vincent Vazquez
> Vice President of Technology Group
> Senior Unix Systems Administrator
> Senior Network Manager
> Christ Tabernacle Church Ministries
> http://www.ctcministries.org/
> (301) 540-9394 Home
> (240) 401-9192 Cell
>
>
>>> End of included message <<<
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|