On Monday 28 July 2014 11:52:28 Jean-Louis Martineau did opine And Gene did reply: > On 07/28/2014 11:23 AM, Stefan G. Weichinger wrote: > > Am 28.07.2014 17:02, schrieb Jean-Louis Martineau: > >>
> > > > SCSI 2 tape drive: > > File number=0, block number=64, partition=0. > > Tape block size 512 bytes. Density code 0x42 (LTO-2). > > Soft error count since last status=0 > > > > General status bits on (1010000): > > ONLINE IM_REP_EN > > > > ... LTO-2 ... > > > > What does that mean? > > The tape is in fixed 512 bytes block, this is bad. > it should be in variable block size. > > > Do I have to relabel tapes with amanda 3.3.5 or edit my tapetype? > > All tapes written with a blocksize smaller than 32K must be rewritten. > They probably needs to be erased before relabeling with a different > block size. > > Jean-Louis I've found on some of the smaller tape formats that I could afford and therefore play with, that this can be accomplished by issuing a rewind, and without doing anything else that would cause the drive to re-scan the tape, immediately write the new label block, a 32k block. The sequence is easy enough to do, so its at least worth a try. Do that, eject the tape, reinsert it so the drive recognizes it again, and then check the output of mt -f /dev/nst0 status If it works, its many hours less wear on the drive heads than a full format, something I have never actually done to any of several QIC's, Travan, or DDS-2 tapes I've used. The above Just Worked(TM) with all of them. There may be an mt command to change that block size, in that case do it, then write the header with amlabel before the drive re-reads the tape and over-rides your choice. This procedure will also enable turning off the drives compression so that amanda can know to a much more accurate level, the exact capacity of the tape. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS
