Converting to FILE
2004-09-08 12:10:54
Greeting, particularly to Stephan W.
I'm in the process of trying to duplicate my old tape
setup with a VLD, (very large disk, a 200 gigger)
In going thru your howto, I get to the point of doing
the labeling and bomb out with illegal requests.
[amanda@coyote DailySet1]$ amlabel DailySet1 DailySet1-00 slot 00
amlabel: could not load slot "00": illegal request
The lines modified in amanda.conf are:
---------------
runtapes 10 # number of tapes to be used in a single run of amdump
#tpchanger "chg-scsi" # the tape-changer glue script
tpchanger "chg-disk"
#tapedev "0" # the no-rewind tape device to be used
tapedev "FILE:/amandatapes/DailySet1"
#changerfile "/usr/local/etc/amanda/DailySet1/chg-scsi.conf"
changerfile "/usr/local/etc/amanda/DailySet1/chg-disk.conf"
#tapetype DDS2 # what kind of tape it is (see tapetypes below)
tapetype HARD-DISK
----
and
----
define tapetype HARD-DISK {
comment "Dump onto hard disk"
length 6000 mbytes # specified in mbytes to get the exact size of 6GB
}
-----------------
Here is an ls -l of the /amandatapes/DailySet1 directory
[amanda@coyote DailySet1]$ ls -l
total 112
lrwxr-xr-x 1 amanda disk 6 Sep 8 11:44 data -> slot00
-rwxr-x--- 1 amanda disk 0 Sep 8 11:23 info
drwxr-x--- 2 amanda disk 4096 Sep 8 11:44 slot00
drwxr-x--- 2 amanda disk 4096 Sep 8 11:36 slot01
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot02
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot03
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot04
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot05
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot06
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot07
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot08
drwxr-x--- 2 amanda disk 4096 Sep 8 11:20 slot09
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot10
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot11
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot12
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot13
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot14
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot15
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot16
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot17
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot18
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot19
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot20
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot21
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot22
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot23
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot24
drwxr-x--- 2 amanda disk 4096 Sep 8 11:21 slot25
drwxr-x--- 2 amanda disk 4096 Sep 8 11:22 slot26
drwxr-x--- 2 amanda disk 4096 Sep 8 11:22 slot27
Here is the script to do the labeling:
-------------
#!/bin/sh
for n in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22
23 24 25 26 27
do
amlabel DailySet1 DailySet1-${n} slot ${n}
done
-------------
Where did I drop the ball here? That error message isn't
exactly helpfull. And while I do a lot of stuff with bash,
apparently I'm loseing my touch. What else is new...
And semi-trapped in this storm, looks like we'll get several
inches of rain, only the first 3 of which we really need.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.25% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Converting to FILE,
Gene Heskett <=
|
|
|