`dump' command - tape size

1997-10-30 Thread Oliver Elphick
I am trying to use dump to write to DAT tape (60m long); I believe the
capacity of this is something around 2Gb.

dump seems to believe that the capacity is something like 45Mb and, contrary
to what the manual says, does not keep on writing to the end of the tape, but
asks for a new volume after only 45Mb.

I tried specifying block size and number of blocks:
   dump 0unfBb /dev/nst0 16000 64 /var
but this seemed to make matters worse rather than better.

Then I tried specifying density and length: the figures are obviously outside
any range contemplated:
   dump 0unfds /dev/nst0 10900932 197
and dump refused to accept the density figure, so i had to decrease the 
density and
increase the length until my input was accepted.

Should dump be able to detect the end of a DDS tape?  If so, should it not
use EOT as a marker rather than trying to calculate tape lengths when it is 
not asked to do so?
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: `dump' command - tape size

1997-10-30 Thread Philippe Troin

[sent only to debian-user, not cross-posted to debian-devel]

On Thu, 30 Oct 1997 01:30:58 GMT Oliver Elphick (olly@lfix.co.uk) 
wrote:

 I am trying to use dump to write to DAT tape (60m long); I believe the
 capacity of this is something around 2Gb.

Yes, about 2Gb.

 dump seems to believe that the capacity is something like 45Mb and, contrary
 to what the manual says, does not keep on writing to the end of the tape, but
 asks for a new volume after only 45Mb.
 
 I tried specifying block size and number of blocks:
dump 0unfBb /dev/nst0 16000 64 /var
 but this seemed to make matters worse rather than better.
 
 Then I tried specifying density and length: the figures are obviously outside
 any range contemplated:
dump 0unfds /dev/nst0 10900932 197
 and dump refused to accept the density figure, so i had to decrease the 
 density and
 increase the length until my input was accepted.
 
 Should dump be able to detect the end of a DDS tape?  If so, should it not
 use EOT as a marker rather than trying to calculate tape lengths when it is 
 not asked to do so?

Yes.
You probably want dump find itself the end of tape.
I personnaly use:
dump 0fubB $device 10 4194304
for a 90m 2GB tape without hw compression (which means it will always run to 
the end of tape whatever happens).

Phil.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: `dump' command - tape size

1997-10-30 Thread Steve Kostecke
 I am trying to use dump to write to DAT tape (60m long); I believe the
 capacity of this is something around 2Gb.
[snip]

I had a bit of difficulty getting dump to work with my T-4000s (4Gb TR-4).  
What worked for me was defining the tape size in 1K blocks (even though the 
tape block size is different):

dump 0ufB /dev/nst0 400 /

So, in your case, try

dump 0ufB /dev/nst0 200 /

-- 
   _ _  
Steve Kostecke| (_)_ __  _   ___  __
[EMAIL PROTECTED]| | | '_ \| | | \ \/ /
http://www.mindspring.com/~stk3   | | | | | | |_| |   
...the choice of a GNU generation |_|_|_| |_|\__,_/_/\_\



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: `dump' command - tape size

1997-10-30 Thread Nathan E Norman
On Thu, 30 Oct 1997, Oliver Elphick wrote:

: I am trying to use dump to write to DAT tape (60m long); I believe the
: capacity of this is something around 2Gb.
: 
: dump seems to believe that the capacity is something like 45Mb and, contrary
: to what the manual says, does not keep on writing to the end of the tape, but
: asks for a new volume after only 45Mb.
[ snip ]

The latest issue of Sys Admin (is that available in the UK??) had an
article about dump ... in it, the author stated that Linux dump is
buggy but can be made to work with the right options ...

I don't have the article in front of me (I'm at work), but if you send
me email I'll look up the article and send you the relevant bits, if you
can't find the periodical.

FWIW, I don't use dump on any Linux box (yet) ... my tape drives are on
BSDI boxes that I'm fighting hard to get rid of.  

: -- 
: Oliver Elphick[EMAIL PROTECTED]
: Isle of Wight  http://lfix.co.uk/oliver
: 
: PGP key from public servers; key ID 32B8FAA1

--
Nathan Norman
MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD  57104
Voice: (605) 334-4454 Fax: (605) 335-1173
email: [EMAIL PROTECTED] or  [EMAIL PROTECTED]
PGP Key ID: 0xA33B86E9 - Public key available at keyservers  
PGP Key fingerprint: CE03 10AF 3281 1858  9D32 C2AB 936D C472


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .