2007/2/13, Magnus Ahl <[EMAIL PROTECTED]>: > > > Hi, > > I have an Dell 124T with Autochanger for 8 tapes. My > > configuration is as follows. So, a few questions: > > . Is the archive device incremental (/dev/nst0, /dev/nst1, ..) ? > > We use the exact same hardware, but with 16 tapes. /dev/nst0 works like a > charm. > > Just to be sure: you have detected the SCSI device in the OS? Initialy the > DELL PV 124T has a high enough SCSI id not to be detected automaticly at > startup by a few OS:es. We've manualy had to add to /etc/rc.d/rc.local: > > echo "scsi-add-single-device 0 0 6 1" > /proc/scsi/scsi > > on our CentOS 3.8 server. YMMMV, of course. > > > > . When using this configuration, I have in bconsole a message > > to label the tape but the tape is already labelled (by btape) > > and I cannot force a new label. So, how to label my eight tapes ? > > Our server came with blank tapes so there were no problem with labeling. How > about unmounting them from bacula, feed them to the drive manualy using mtx > and erasing them with "/bin/mt -f /dev/nst0 erase"? >
I have cut my configuration file and now, I have only : # An autochanger device with eigth drives # Autochanger { Name = Autochanger Device = Drive-1 Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" Changer Device = /dev/sg1 } Device { Name = Drive-1 # Drive Index = 0 Media Type = DLT-124T Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } I have set a label for each tape and now, it seems running like a charm :-) thanks, -- Jean-Max Reymond CKR Solutions Open Source Nice France http://www.ckr-solutions.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users