Hi, Gene,
on Samstag, 11. September 2004 at 19:41 you wrote to amanda-users:
GH> [amanda@coyote amanda]$ amcheck Daily
GH> Amanda Tape Server Host Check
GH> -----------------------------
GH> Holding disk /dumps: 19840616 KB disk space available, using 19328616
GH> KB
GH> amcheck-server: slot 11: date 20040911 label Dailys-11 (active tape)
GH> amcheck-server: slot 12: date X label Dailys-12 (new tape)
GH> NOTE: skipping tape-writable test
GH> Tape Dailys-12 label ok
GH> Server check took 0.215 seconds
GH> Amanda Backup Client Hosts Check
GH> --------------------------------
GH> Client check: 2 hosts checked in 10.246 seconds, 0 problems found
GH> (brought to you by Amanda 2.4.5b1-20040831)
GH> Although it strikes me that the response time should be much faster
GH> than 10+ seconds on a 100baseT circuit.
1 sec here.
GH> Amverify doesn't seem to want to work yet though, returning errors
GH> such as this:
GH> [amanda@coyote amanda]$ amverify Daily slot 11
GH> Tape changer is chg-disk...
GH> 11 slots...
GH> Verify summary to root AT coyote.coyote DOT den
GH> Defects file is /tmp/amanda/amverify.27810/defects
GH> amverify Daily
GH> Sat Sep 11 12:52:41 EDT 2004
GH> Loading slot slot...
GH> ** Error loading slot slot
GH> amtape: could not load slot 0: illegal request
Tried this, should be
amverify Daily 11
Runs fine here with this syntax, the "slot" should just be entered as
the number, not as "slot number".
GH> I'm going to leave amverify along till I hear from somebody, and reset
data to ->>slot09 and run amcheck to see if it skips the slot10 and
GH> slot11's that have been written. If that works, then I'll point it
GH> at slot01 & let amcheck advance it to slot02. Except that didn't
GH> work:
GH> -------------
GH> amanda@coyote Daily]$ echo 01 >chg-disk-access
GH> [amanda@coyote Daily]$ echo 01 >chg-disk-slot
GH> [amanda@coyote Daily]$ echo 30 >chg-disk-clean
GH> [amanda@coyote Daily]$ rm -f /amandatapes/Dailys/data
GH> [amanda@coyote Daily]$ ln
GH> -s /amandatapes/Dailys/slot01 /amandatapes/Dailys/data
GH> [amanda@coyote Daily]$ amcheck Daily
GH> Amanda Tape Server Host Check
GH> -----------------------------
GH> Holding disk /dumps: 19839864 KB disk space available, using 19327864
GH> KB
GH> amcheck-server: slot 01: date 20040909 label Dailys-01 (active tape)
GH> ERROR: /amandatapes/Dailys//data/: No such file or directory
GH> ERROR: /amandatapes/Dailys//data/: No such file or directory
GH> amcheck-server: slot 2: rewinding tape: Input/output error
GH> -----------------------
Why don't you just use amtape to position the changer and choose tapes?
Why not just name the slot-dirs slot1, slot2, slot3, as described in
the HOWTO, this is how JC designed chg-disk ?
This worked out for quite a few people so far.
If you NEED this, let's look at the code.
--
best regards,
Stefan
Stefan G. Weichinger
mailto:monitor AT oops.co DOT at
|