LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-23-2008, 07:42 AM   #1
Registered: Jul 2007
Posts: 59

Rep: Reputation: 16
Backup to LTO 2 Device

I am trying out some backup scripts to device /dev/st0.
ITs a lto scsi drive. When I try and run
tar -czvf /dev/st0 test2 test2 , it backs up.
I try and do "/bin/mt -f /dev/st0 fsf 1"
Works fine. But when I do .
/bin/mt -f /dev/st0 fsf 2, I get I/O error.

Could you please help me with this.

Old 06-23-2008, 08:16 AM   #2
Registered: Aug 2002
Posts: 13,448

Rep: Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105
One needs to understand how tar works and how the tape drive functions.

tar -options file1 file2 will actually combine both files into one archive. So there is only one file on the tape drive. In addition /dev/st0 will rewind the tape upon completion of the current operation. If wanting to save several tar archives to tape you will want to use /dev/nst0.

See tar man pages for additional information.

Last edited by michaelk; 06-23-2008 at 08:17 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LTO compressed backup using tar in RH Linux ppanyam Red Hat 1 12-07-2007 04:14 AM
How to backup with LTO Ultrium 2 Astol Linux - General 1 09-05-2007 09:49 PM
Slow speeds while dumping backup files to LTO-3 tape device dafart Linux - Hardware 3 09-04-2007 11:35 AM
LTO Backup Speed ghight Linux - Enterprise 9 05-25-2007 02:45 PM
backup device yhus Linux - Hardware 1 09-22-2006 03:05 PM

All times are GMT -5. The time now is 07:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration