From: Kern S. <ke...@si...> - 2003-11-19 20:12:42
|
You are probably mounting blank tapes, so in checking for a label Bacula gets an error. On Tue, 2003-11-18 at 00:25, arvind subramanian wrote: > Hi, > I have been using bacula to autolabel tapes. I dont have barcode capability, but i am using a script which is provided in the manual where label barcodes is used to write labels after reading them from a file by the name volumes. I have been using this for some time. After shifting to Bacula-1.32b, i have been noticing errors generated by them. This line > block.c:619 Read error on device /dev/nst0. ERR=Input/output error. > keeps popping up whenever i try to label volumes. However there has been no noticable problem in restore or backup to these tapes. I just wanted to know what could be the problem and how i should tackle it. > Given below is the console commands that i supply to bacula and its results. > > *label barcodes > The defined Storage resources are: > 1: File > 2: VXADrive > 2 > Connecting to Storage daemon VXADrive at backup-server.ttpharma.com:9103 ... > /dev/sg0,unload,0,/dev/nst0 is /dev/nst0 > 3305 Issuing autochanger "unload" command. > Unloading Data Transfer Element into Storage Element 1...done > 3306 Issuing autochanger "list" command. > The following Volumes will be labeled: > Slot Volume > ============== > 1 usrdata17nov2003corp01 > 2 usrdata17nov2003corp02 > 3 usrdata17nov2003corp03 > 4 usrdata17nov2003corp04 > yo you want to continue? (y/n): > Defined Pools: > 1: VXA > 2: Default > 1elect the Pool (1-2): > Connecting to Storage daemon VXADrive at backup-server.ttpharma.com:9103 ... > Sending label command for Volume "usrdata17nov2003corp01" Slot 1 ... > 3301 Issuing autochanger "loaded" command. > 3303 Issuing autochanger "load slot 1" command. > 3304 Autochanger "load slot 1" status is OK. > block.c:619 Read error on device /dev/nst0. ERR=Input/output error. > 3000 OK label. Volume=usrdata17nov2003corp01 Device=/dev/nst0 > Catalog record for Volume "usrdata17nov2003corp01", Slot 1 successfully created. > Connecting to Storage daemon VXADrive at backup-server.ttpharma.com:9103 ... > Sending label command for Volume "usrdata17nov2003corp02" Slot 2 ... > 3301 Issuing autochanger "loaded" command. > /dev/sg0,unload,2,/dev/nst0 is /dev/nst0 > 3302 Issuing autochanger "unload" command. > Unloading Data Transfer Element into Storage Element 1...done > 3303 Issuing autochanger "load slot 2" command. > 3304 Autochanger "load slot 2" status is OK. > block.c:619 Read error on device /dev/nst0. ERR=Input/output error. > 3000 OK label. Volume=usrdata17nov2003corp02 Device=/dev/nst0 > Catalog record for Volume "usrdata17nov2003corp02", Slot 2 successfully created. > Connecting to Storage daemon VXADrive at backup-server.ttpharma.com:9103 ... > Sending label command for Volume "usrdata17nov2003corp03" Slot 3 ... > 3301 Issuing autochanger "loaded" command. > /dev/sg0,unload,3,/dev/nst0 is /dev/nst0 > 3302 Issuing autochanger "unload" command. > Unloading Data Transfer Element into Storage Element 2...done > 3303 Issuing autochanger "load slot 3" command. > 3304 Autochanger "load slot 3" status is OK. > block.c:619 Read error on device /dev/nst0. ERR=Input/output error. > 3000 OK label. Volume=usrdata17nov2003corp03 Device=/dev/nst0 > Catalog record for Volume "usrdata17nov2003corp03", Slot 3 successfully created. > Connecting to Storage daemon VXADrive at backup-server.ttpharma.com:9103 ... > Sending label command for Volume "usrdata17nov2003corp04" Slot 4 ... > 3301 Issuing autochanger "loaded" command. > 3302 Issuing autochanger "unload" command. > /dev/sg0,unload,4,/dev/nst0 is /dev/nst0 > Unloading Data Transfer Element into Storage Element 3...done > 3303 Issuing autochanger "load slot 4" command. > 3304 Autochanger "load slot 4" status is OK. > block.c:619 Read error on device /dev/nst0. ERR=Input/output error. > 3000 OK label. Volume=usrdata17nov2003corp04 Device=/dev/nst0 > Catalog record for Volume "usrdata17nov2003corp04", Slot 4 successfully created. > > If anyone knows what is wrong please let me know. > Thanks > Arvind. > > > > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your computer from > any Web browser or wireless device. Click here to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target_______________________________________________ > Bacula-users mailing list > Bac...@li... > https://lists.sourceforge.net/lists/listinfo/bacula-users |