Re: [Bacula-users] Fwd: No tar for my tape drive!?!? SAS tape library help...
2008-10-31 15:10:40
>>Try
>>
>>dd if=/dev/sda of=/dev/nst0 bs=1M count=1000
Tried it.
>d if=/dev/sda of=/dev/nst0 bs=1M count=1000
dd: writing `/dev/nst0': Invalid argument
1+0 records in
0+0 records out
0 bytes (0 B) copied, 10.048 s, 0.0 kB/s
Not sure why /dev/nst0 was invalid. After I ran this I checked out dmesg and
syslog:
>tail /var/log/syslog
Oct 31 13:58:31 backup kernel: st0: Sense Key : Aborted Command [current]
Oct 31 13:58:31 backup kernel: st0: Add. Sense: Initiator response timeout
Oct 31 13:58:31 backup kernel: st0: Can't set default compression.
>dmesg | tail
st0: Sense Key : Aborted Command [current]
st0: Add. Sense: Initiator response timeout
st0: Can't set default compression.
Thanks for looking.
>>BTW, bacula does not use tar.
Oh. I was just following Bacula's help. From the docs:
http://www.bacula.org/en/rel-manual/Testing_Your_Tape_Drive.html#TapeTestingChapter
"Use tar to write to, then read from your drive:
mt -f /dev/nst0 rewind
tar cvf /dev/nst0 .
mt -f /dev/nst0 rewind"
I figured since I couldn't get this far it would be prudent to seek help first.
Thanks for your reply. :)
Michael
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|