Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jun 2006 12:12:38 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        Nick <nick@skif.itcom.net.ua>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Question in occasion of SCSI devices (the tape store)
Message-ID:  <448957A6.8030200@dial.pipex.com>
In-Reply-To: <631137238.20060609102825@skif.itcom.net.ua>
References:  <986949843.20060608121530@skif.itcom.net.ua>	<44882109.50507@dial.pipex.com>	<4810525656.20060608162052@skif.itcom.net.ua>	<4488290C.4060801@dial.pipex.com>	<478980468.20060608170201@skif.itcom.net.ua>	<448831D3.1060006@dial.pipex.com> <631137238.20060609102825@skif.itcom.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Nick wrote:

>thanks for help Alex I found the best way for me to write info to the
>tape.
>
>Can You answered on the last question How can I see free size on the
>tape or size what I filled?
>  
>
My experience is that you can't really do either.  If anyone know 
better, I'd be glad to know!

If the tape is positioned at the end of data then you can issue an "mt 
-f /dev/nsa0 status" command but I have no idea how to interpret the 
result in terms of how much space is used or left.

Using dump, I write full backups to one tape which then gets put away.  
I just judge from how big the filesystems are how many will fit on one 
tape.  The if I do incrementals, they all go on one tape.  If the tape 
does run out, dump will just ask for a new one.

If you use a system like bacula, then it may keep track of how much data 
you have written, but with a compressing tape drive (which most are) you 
don't know exactly how that corresponds to how much data was written to 
tape because you can't accurately predict the compression ratio.  An 
estimate of 1.5:1 works OK for mixed filesystems, but if you having 
nothing but jpegs and mp3s (which are compressed already) then you may 
get 1:1.  For a database full of text you might get 2:1.

Not much help.  Sorry.

--Alex





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?448957A6.8030200>