> Hi, > > I have an IBM TS3310 (rebadged Quantum Scalar i500), however, I don't > think your problem is specific to the hardware. > > First, can you make sure that your drive numbering is correct? Is > "drive 0" in fact /dev/nst0? On my systems, sometimes they get mapped > differently on reboot because I'm not using permanent labels. > > So perhaps it is simply that mtx loads drive 0, but drive 0 is in > fact /dev/nst4 or something. > > The 'label' command does nothing more than write a little bit of data > to the tape, so you can execute all of the steps manually and see if > they work, e.g. pick a slot, pick a drive, load a tape from that slot > into that drive with mtx, then write a small bit of data using dd or > tar or whatever, then rewind, eject unload with mt and/or mtx. > > Regards, > Alex > > On Mon, 26 Apr 2010 12:27:25 -0400 > ekke85 <bacula-forum < at > backupcentral.com> wrote: > > Quote: > > > ekke85 wrote: > Quote: > Hi > > I hope someone can help me or point me in the right direction. I have a bran > new Quantum Scalar i500 with 5 drives and 125 slots. When ever I try to do > "label barcodes" it fails with timeout errors. Bacula is reading the barcodes > from the tape drive but is not labeling it. > > [snip details] > > -- > Alex Chekholko chekh < at > genomics.upenn.edu
Hi Alex Thanks, you were 100% spot on! I have defined udev rules for my drives and now it works like it should. Here is the udev rules in case someone else needs it: rand-rhbackup3 ]# cat /etc/udev/rules.d/local.rules #Autochanger BUS=="scsi", KERNEL=="sg3", ENV{ID_SERIAL}="1ADIC A0C0209217_LLA", NAME="%k", SYMLINK="changer" #Tape Drive 1 BUS=="scsi", KERNEL=="nst0", ENV{ID_SERIAL}="3500308c09f692094", NAME="%k", SYMLINK="Drive1" #Tape Drive 2 BUS=="scsi", KERNEL=="nst1", ENV{ID_SERIAL}="3500308c09f692098", NAME="%k", SYMLINK="Drive2" #Tape Drive 3 BUS=="scsi", KERNEL=="nst2", ENV{ID_SERIAL}="3500308c09f692000", NAME="%k", SYMLINK="Drive3" #Tape Drive 4 BUS=="scsi", KERNEL=="nst3", ENV{ID_SERIAL}="3500308c09f692090", NAME="%k", SYMLINK="Drive4" #Tape Drive 5 BUS=="scsi", KERNEL=="nst4", ENV{ID_SERIAL}="3500308c09f692004", NAME="%k", SYMLINK="Drive5" rand-rhbackup3 bacula]# [/code] +---------------------------------------------------------------------- |This was sent by ekk...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +---------------------------------------------------------------------- ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users