LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-23-2008, 06:42 AM   #1
mplike
Member
 
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.

Cheers,
 
Old 06-23-2008, 07:16 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
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 07:17 AM.
 
  


Reply


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 03:14 AM
How to backup with LTO Ultrium 2 Astol Linux - General 1 09-05-2007 08:49 PM
Slow speeds while dumping backup files to LTO-3 tape device dafart Linux - Hardware 3 09-04-2007 10:35 AM
LTO Backup Speed ghight Linux - Enterprise 9 05-25-2007 01:45 PM
backup device yhus Linux - Hardware 1 09-22-2006 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:35 PM.

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