Tap drive

ammad shah mammadshah at hotmail.com
Thu Sep 11 22:32:18 CDT 2008


Gr8 work Scott,

Can i  know how much space left on tape drive ?.........

Thanks. for help



Subject: RE: Tap drive
Date: Thu, 11 Sep 2008 16:26:30 -0500
From: Scott_Purcell at Dell.com
To: mammadshah at hotmail.com; linux-poweredge at lists.us.dell.com










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 

_________________________________________________________________
See how Windows Mobile brings your life together—at home, work, or on the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20080911/18449596/attachment.htm 


More information about the Linux-PowerEdge mailing list