Tap drive
Scott_Purcell at Dell.com
Scott_Purcell at Dell.com
Thu Sep 11 16:26:30 CDT 2008
The name used to access a tape device affects its behavior -- /dev/stx
causes a rewind after each job. Use /dev/nstx to stop the tape in place
after a job is complete.
So, try this:
Write the first job to tape (rewinding upon completion):
# tar -czvf /dev/st0 backup-01-09.tar.gz
Verify the first job (stopping in place afterwards):
# tar -tvf /dev/nst0
Write the second job(rewinding upon completion):
# tar -czvf /dev/st0 backup-02-09.tar.gz
Verify both jobs (stopping in place to allow another job to be added if
desired):
# tar -tvf /dev/nst0
# tar -tvf /dev/nst0
Hope that helps!
Scott
________________________________
From: linux-poweredge-bounces at dell.com
[mailto:linux-poweredge-bounces at dell.com] On Behalf Of ammad shah
Sent: Thursday, September 11, 2008 3:22 PM
To: linux-poweredge-Lists
Subject: Tap drive
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.
________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows
Live. See Now
<http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20080911/05bf18a9/attachment.htm
More information about the Linux-PowerEdge
mailing list