RE: tape

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You need to specify the "no rewind" device... /dev/nst0

You will need to seek to the end of the tape before writing new data to the tape.  Look at the "st" and "mt" man pages.

I don't know any way to know how much free space is on a tape; it's complicated due to compression since you don't really care how much tape is left, but how much data will fit on that tape.... which depends on how well the data will compress.


-----Original Message-----
From:	redhat-list-bounces@xxxxxxxxxx on behalf of ammad shah
Sent:	Thu 9/11/2008 4:23 PM
To:	redhat-list@xxxxxxxxxx
Cc:	
Subject:	tape

Dear all,
 
i am trying to backup on tape drive (lto3), but when i save it , it always overwrite on previous files. even though i am writing every time a new file. 
 
#tar -cvf /dev/st0  backup-01-09.tar.gz
#tar -tvf /dev/st0
backup-01-09.tar.gz
#tar -czvf /dev/st0 backup-02-09.tar.gz
#tar -tvf /dev/st0
backup-02-09.tar.gz
 
Why ? 
 
and how do i know space left on tape drive before backup.  i am using single cartridge IBM LTO 3 tape drive.
 
thanks.
_________________________________________________________________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux