Vectorz Sigma
2008-08-05 19:04:39 UTC
I have an Ultrium LTO-4, and cannot get it to work with Amanda.
[***@localhost ~]$ amlabel WeeklySet1 Weekly-01
Reading label...
Can't open tape device /dev/nst0: Bad file descriptor
amlabel: Could not open device tape:/dev/nst0.
Here is pertinent section of my /etc/amanda/WeeklySet1/amanda.conf:
runtapes 1 # number of tapes to be used in a single run
of amdump
#tpchanger "chg-disk" # the tape-changer glue script
#tapedev "file://data/amanda/vtapes/DailySet1/slots"
#tpchanger "chg-manual" # the tape-changer glue script
tapedev "tape:/dev/nst0" # the no-rewind tape device to be used
#changerfile "/etc/amanda/DailySet1/changer"
#changerfile "/etc/amanda/DailySet1/changer-status"
#changerfile "/etc/amanda/WeeklySet1/changer.conf"
#changerdev "/dev/null"
#tapetype HARDDISK
#tapetype HP-DAT # what kind of tape it is (see tapetypes
below)
tapetype LTO-4
define tapetype LTO-4 {
comment "ULTRIUM LTO-4, compression off"
length 770048 mbytes
filemark 0 kbytes
speed 73040 kps
}
*** Note that the tapetype was derived from doing the amtapetype command.
Thanks in advance for your help.
[***@localhost ~]$ amlabel WeeklySet1 Weekly-01
Reading label...
Can't open tape device /dev/nst0: Bad file descriptor
amlabel: Could not open device tape:/dev/nst0.
Here is pertinent section of my /etc/amanda/WeeklySet1/amanda.conf:
runtapes 1 # number of tapes to be used in a single run
of amdump
#tpchanger "chg-disk" # the tape-changer glue script
#tapedev "file://data/amanda/vtapes/DailySet1/slots"
#tpchanger "chg-manual" # the tape-changer glue script
tapedev "tape:/dev/nst0" # the no-rewind tape device to be used
#changerfile "/etc/amanda/DailySet1/changer"
#changerfile "/etc/amanda/DailySet1/changer-status"
#changerfile "/etc/amanda/WeeklySet1/changer.conf"
#changerdev "/dev/null"
#tapetype HARDDISK
#tapetype HP-DAT # what kind of tape it is (see tapetypes
below)
tapetype LTO-4
define tapetype LTO-4 {
comment "ULTRIUM LTO-4, compression off"
length 770048 mbytes
filemark 0 kbytes
speed 73040 kps
}
*** Note that the tapetype was derived from doing the amtapetype command.
Thanks in advance for your help.