From: John D. <dre...@gm...> - 2008-12-30 23:01:14
|
> I am currently using Debian Lenny and bacula 2.4.3-1. > > Before I was using I presume something like version 2.2X. > > On the earlier version, using a HP Ultrium 448 and LTO-2 tapes of 400GB, i > was able to write more than 150 GB to the tape. > After a reboot of the machine, probably also hitting a kernel update > (running earlier Debian Etch 2.6.18, after reboot etch 2.6.22) I was not > able to access the tape unit any more. > > After struggling for some time, decided to upgrade machine to lenny, and the > newer bacula version, finaly got me into business again.. > However, the max size of tape utilization is now 86,905,018,368 bytes. > See below the /etc/stinit.def file: > # A reel-to-reel tape with 6250/1600/800 bpi densities > manufacturer=HP model = "Ultrium 2-SCSI" { > can-bsr two-fms > scsi2logical=0 > mode1 blocksize=0 > } > And the current bacula-sd.conf device definition: > Device { > Name = TapeStorage > Media Type = LTO2 > Archive Device = /dev/st0 > Device Type = Tape > Alert Command = "sh -c 'sudo /usr/sbin/tapeinfo -f %c |grep > TapeAlert|cat'" > # Drive Index = 0 > AlwaysOpen = yes; > AutomaticMount = yes; # when device opened, read it > RemovableMedia = yes; > RandomAccess = no; > Requires Mount = no > AutoChanger = no > # Enable the Alert command only if you have the mtx package loaded > Maximum Spool Size = 60000000000 > #Spool Directory = /srv/bacula/spool > Spool Directory = /var/lib/bacula/spool > } > Does anyone has an idea how to fix my configuration, so I can use the full > tape capacity again? > Your configuration is fine. Well except for /dev/st0. You should not use that. Use /dev/nst0 instead. Your problem generally is either a bad SCSI driver or some bad SCSI hardware, bad tape drive or bad tapes. John |