Re: Can't open tape device /dev/nst0
2008-08-06 11:06:39
Doyle, thanks for the tip but I got errors when trying it without the "tape:" in the string. I forgot to mention that I'm using 2.6.0p1
This is the error:
# amlabel WeeklySet1 Weekly-01 Reading label... "/dev/nst0" uses deprecated device naming convention; using "tape:/dev/nst0" instead. Can't open tape device /dev/nst0: Bad file descriptor
amlabel: Could not open device /dev/nst0.
On Wed, Aug 6, 2008 at 7:22 AM, Doyle Collings <dcollings AT loganutah DOT org> wrote:
My tapedev entry that works is tapedev "/dev/nst0" not tapedev "tape:/dev/nst0"
I have used the follow tape specific entries in my amanda.conf:
tapedev "/dev/nst0" # Linux @ tuck, important: norewinding
tapetype LTO4 # what kind of tape it is (see tapetypes below)
labelstr "^FULLBACK-[0-9][0-9]*$" # label constraint regex: all tapes must match
#diskdir "/var/tmp/amanda" # where the holding disk is
#disksize 10000 MB # how much space can we use on it
infofile "/var/lib/amanda/fullback/curinfo" # database filename
logfile "/var/log/amanda/fullback/log" # log filename
indexdir "/var/lib/amanda/fullback/index"
define tapetype LTO4 {
comment "LTO4 Library"
length 802816 mbytes
filemark 0 kbytes
speed 93057 kps
}
|
|
|