On 8/6/2010 2:32 PM, Win Htin wrote: > Hi folks, > > I am trying to setup a new IBM TS3200 library running on CentOS 5.5 64 > bit. The Bacula version is 5.0.2 and the tape drives are LTO4s. I have > successfully setup a couple of other exact type libraries in the past > and had no issues albeit running older Bacula 2.4.X version. I went > through exact same steps I have kept as my documentation and it is > stumping me at the last stage where I cannot label the new tapes. I > noticed in the older version mtx-changer did not read mtx-changer.conf > file. I tried to compare the two and adjusted as necessary but still > no go. Any ideas? TIA. > > ## Error message from bconsole: > *label barcodes Storage=TS3200_1_DRV1 Pool=Scratch Slots=1 > Connecting to Storage daemon TS3200_1_DRV1 at baculaserver:9103 ... > 3306 Issuing autochanger "slots" command. > Device "LTO4_1" has 47 slots. > Connecting to Storage daemon TS3200_1_DRV1 at baculaserver:9103 ... > 3306 Issuing autochanger "list" command. > The following Volumes will be labeled: > Slot Volume > ============== > 1 000001 > Do you want to label these Volumes? (yes|no): yes > Connecting to Storage daemon TS3200_1_DRV1 at baculaserver:9103 ... > Sending label command for Volume "000001" Slot 1 ... > 3301 Issuing autochanger "loaded? drive 0" command. > 3302 Autochanger "loaded? drive 0", result: nothing loaded. > 3304 Issuing autochanger "load slot 1, drive 0" command. > 3992 Bad autochanger "load slot 1, drive 0": ERR=Child died from > signal 15: Termination. > Results=Program killed by Bacula (timeout) > > Label command failed for Volume 000001. > > > ## mtx.log shows: > 20100806-14:14:30 Parms: /dev/sg22 loaded 1 /dev/nst0 0 > 20100806-14:14:30 Doing mtx -f /dev/sg22 0 -- to find what is loaded > 20100806-14:14:30 Parms: /dev/sg22 load 1 /dev/nst0 0 > 20100806-14:14:30 Doing mtx -f /dev/sg22 load 1 0 > 20100806-14:15:16 The return value for load is 0 > 20100806-14:15:16 Device /dev/nst0 - not ready, retrying... > 20100806-14:15:17 Device /dev/nst0 - not ready, retrying... > 20100806-14:15:18 Device /dev/nst0 - not ready, retrying...
mtx-changer is a starting point. Sometimes it requires customization. See http://www.freebsddiary.org/tape-library.php for how I customized my copy. -- Dan Langille - http://langille.org/ ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users