From: <lst...@kw...> - 2012-11-20 15:33:03
|
Zitat von Jacky Carimalo <jac...@un...>: > Le 20/11/2012 15:32, John Drescher a écrit : >> On Tue, Nov 20, 2012 at 9:30 AM, John Drescher <dre...@gm...> wrote: >>> On Tue, Nov 20, 2012 at 10:15 AM, Jacky Carimalo >>> <jac...@un...> wrote: >>>> I put Volume Use Duration = 36 months, >>>> but always having sometimes : >>>> >>>> Error: block.c:590 Write error at 88:2499 on device "OVL_LTO-3_Drive-2" >>>> (/dev/st0). ERR=Erreur d'entrée/sortie. >>>> Error: Error writing final EOF to tape. This Volume may not be readable. >>>> dev.c:1566 ioctl MTWEOF error on "OVL_LTO-3_Drive-2" (/dev/st0). >>>> ERR=Erreur >>>> d'entrée/sortie. >>>> >>> Look at your kernel logs / dmesg for scsi or tape errors. >> Also you should avoid /dev/st0 and use /dev/nst0 since /dev/st0 can >> cause corruption in your tapes. >> >> John > But I have no choice : > > bacula2-64:~/bacula/bin# lsscsi -g > [0:0:0:0] disk IFT A16F-R2221 347C /dev/sdb /dev/sg2 > [0:0:1:0] tape HP Ultrium 3-SCSI G24H /dev/st0 /dev/sg3 > [0:0:1:1] tape HP Ultrium 3-SCSI G24H /dev/st1 /dev/sg4 > [0:0:1:2] mediumx OVERLAND NEO Series 0604 /dev/sch0 /dev/sg5 > [0:0:1:3] process Over NEO VIA FCO 2.22 - /dev/sg6 > ... If it is Linux have a look in /dev/tape/by-id/ For example in our case: lrwxrwxrwx 1 root root 10 Nov 19 18:23 scsi-350014380032b4c68 -> ../../sg10 lrwxrwxrwx 1 root root 9 Nov 19 18:23 scsi-350014380032b4c69 -> ../../st0 lrwxrwxrwx 1 root root 10 Nov 19 18:23 scsi-350014380032b4c69-nst -> ../../nst0 so we choose /dev/tape/by-id/scsi-350014380032b4c69-nst which has also the advantage of not changing if devices are added/removed as it is the case with /dev/sgX. Regarding your problem with the device/bus reset you should carefully check cabeling and adapter firmware/driver. Regards Andreas |