The tape drive is OK. Some tests:
# mt -f /dev/nst0 rewind
# mt -f /dev/nst0 datcompression off
Compression off.
# mt -f /dev/nst0 setblk 10240
# tar cvf /dev/nst0 amanda-2.5.2-20070525.tar.gz
amanda-2.5.2-20070525.tar.gz
# mt -f /dev/nst0 rewind
# tar xvf /dev/nst0
amanda-2.5.2-20070525.tar.gz
# mkdir test
# cd test
# mt -f /dev/nst0 rewind
# tar xvf /dev/nst0 amanda-2.5.2-20070525.tar.gz
amanda-2.5.2-20070525.tar.gz
# ls
amanda-2.5.2-20070525.tar.gz
Using just tar, I could backup and restore to a new directory the
amanda-2.5.2-20070525.tar.gz file. Then I tried a little diferent tapetype
comand (using -b option), but the error message was:
# amtapetype -o -b 10240 -e 40g -f /dev/nst0 -t
"DELL_POWERVAULT_110T_DLT_VS_80"
Estimate phase 1...amtapetype: could not write any data in this pass:
Success
Any sugestions? Thanks!
Jon LaBadie wrote:
>
> On Tue, May 29, 2007 at 06:47:15AM -0700, abrantes wrote:
>>
>> I'm trying to configure Amanda in my system (actualy with ARCServe 9),
>> but
>> I'm having some dificulties with amtapetype. My system is:
>>
>> Hardware: Dell PowerEdge 1600SC
>> OS: SuSE Linux Enterprise 8 (32 bits)
>> Tape Device: Dell Power Vault 110T DLT VS 80
>> Amanda: 2.5.2-20070525
>>
>> When I use tapetype, I'm getting the follow error message:
>>
>> $ amtapetype -o -e 40g -f /dev/nst0 -t "DELL_POWERVAULT_110T_DLT_VS_80"
>> Estimate phase 1...amtapetype: could not write any data in this pass:
>> Invalid argument
>
> First thing to ask is can you do anything with your tape drive
> outside of amanda? Can you check status with mt, write to it
> with dd and/or tar, rewind it with mt, recover what you wrote?
>
>>
>> Amchek is OK:
>>
>> $ amcheck diario
> ...
>> not an amanda tape (Read 0 bytes)
>> (expecting a new tape)
>
> Even a failing tapedrive might give this info (read 0 bytes).
>
>
> --
> 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)
>
>
--
View this message in context:
http://www.nabble.com/tapetype-problem-tf3834022.html#a10861735
Sent from the Amanda - Users mailing list archive at Nabble.com.
|