Arno Lehmann wrote: > Hello, > > On 2/15/2007 12:00 PM, Erik P. Olsen wrote: >> I know this has been discussed in length before, but I have just seen a >> behaviour that can explain some of the problems with tapes being considered >> "full" when they are actually only partially filled. >> >> With my setup I have 4 scsi devices of which I normally only use two, the >> tape >> streamer and a scanner. I normally keep the tape streamer open to bacula >> because >> then I won't forget to mount the tape prior to the back-up cycle. Yesterday. >> however, I noticed when operating the scanner that the tape device suddenly >> started rewinding the tape apparently initiated by activity on the scanner. > > I suppose the rewinding was triggered by a SCSI bus rest. The more > devices you operate per SCSI bus, the higher the probabilty for that. > Scanners are quite often behaving bad and thus need a reset... for > example if the scanner goes into power save mode and the application > can't wake it up in time. > > Checking your systemlogs might reveal some information, but that depends > on your SCSI HBA driver IIRC.
I think I found it: Feb 14 17:29:55 epohost kernel: (scsi0:A:2:0): No or incomplete CDB sent to device. Feb 14 17:29:55 epohost kernel: scsi0: Issued Channel A Bus Reset. 1 SCBs aborted This was exactly at the time the tape rewound. > > In any case, if my assumption is correct this is one of the reasons why > you should not operate tape drives together with scanners on one bus. Yes, I realised that. I am working at separating the devices from the tape device. There is one old CD-burner that I can throw away. The scanner also has a USB interface to which I can conver as soon as I've ditched my old OS/2 system and the last device - a negative film scanner - is used so seldom that it doesn't matter. Thanks for your comments, -- Erik P. Olsen, Civilingeniør, MSc Solsortvej 30, DK-2000 Frederiksberg, Denmark Phone: +45 38346480, Fax: +45 32106480, Mobil: +45 40765300 > > Arno > >> Of >> course I should have remounted the tape - but forgot. Next morning - the >> back-up >> schedule is at 2 o'clock at night - the tape was ejected and claimed full by >> bacula and the job was waiting for the mounting of a new appendable volume. >> I >> changed the status of the ejected volume from full to append and remounted >> it >> and the back-up job ran to completion without further problems. >> >> So apparently an activity on another scsi device on the same cable may cause >> the >> tape device to rewind and thus get out of sync with bacula. I don't know if >> this >> is a problem which may be fixed by bacula but I doubt it. With this >> behaviour in >> mind I have started to unmount the tape when the back-up is completed and to >> mount it again shortly before start of next back-up cycle. >> > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users