Re: How does TAPESIZE in onconfig work?
Posted in 1997
Steven L Cooper wrote:
> My system has a SCSI 4GB DAT tape drive in it.
>
> Informix tech support told me to set the number to 400000 (FWIW).
>
> I was "testing" the ontape (level 0) program and it filled the first tape
> and asked for another! I was shocked that it took two tapes. On a guess I
> doubled the TAPESIZE option in the onconfig file...
> When I ran ontape again (level 0) it completed on ONE tape!!!
>
> My question is: What is the TAPESIZE number referring too?
> Steve
>
> my onconfig.ows now...
> TAPEDEV /dev/rStp0
> TAPEBLK 16
> TAPESIZE 800000>
> --
> Ignorance can be cured!
> scooper@thecompounders.com
Hello Steve,
The TAPESIZE tells ontape just about the amount of data to send to the TAPEDEV
before a new tape (or whatever device you have) is requested. The amount of
data your ontape produced was in the interval 400 to 800 MBytes, hence two
tapes in the first case - There was one '0' missing to make your tape size
4GBytes.
Best regards,
Peter