Bacula-users

Re: [Bacula-users] Bacula tapes marked FULL too early - VolBytes too low

2012-11-20 10:37:03
Subject: Re: [Bacula-users] Bacula tapes marked FULL too early - VolBytes too low
From: lst_hoe02 AT kwsoft DOT de
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 20 Nov 2012 16:32:51 +0100
Zitat von Jacky Carimalo <jacky.carimalo AT univ-nantes DOT fr>:

> Le 20/11/2012 15:32, John Drescher a écrit :
>> On Tue, Nov 20, 2012 at 9:30 AM, John Drescher <drescherjm AT gmail DOT com> 
>> wrote:
>>> On Tue, Nov 20, 2012 at 10:15 AM, Jacky Carimalo
>>> <jacky.carimalo AT univ-nantes DOT fr> 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


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>