Bacula backup write error

Posted on 2006-03-30
Last Modified: 2012-05-05
Hi Guys,

I am trying to implement bacula backup and i am having very big problems.I am having 10 client for my backup server it will run backup 4 or 5 client fine and then my volume status is changing to full because of the following error

30-Mar 15:38 backup01-sd: NightlySave1.2006-03-30_15.21.00 Error: block.c:552 Write error at 5:6714 on device

/dev/nst0. ERR=Input/output error.
30-Mar 15:38 backup01-sd: NightlySave1.2006-03-30_15.21.00 Error: Error writing final EOF to tape. This tape may

not be readable.
dev.c:1213 ioctl MTWEOF error on /dev/nst0. ERR=Input/output error.

can some one help me why my backup is not completting and the solution for this problem

i am running dell power vault 114T tape drive with debian sarge kernel version 2.4.27
Question by:gg234
    LVL 16

    Expert Comment

    Ok, this is a changer, right?  Is it bombing right when one tape would be full?  

    I think what's happening is that the bacula daemon doesn't have rights to send the hardware command to the changer to make it change the tape.  The dirty way to fix this is to have the bacula daemon run as root, but a better way would be to create a user for the daemon and give it the rights it needs.  

    I'm sure you've been here:

    here's another good one:

    Good Luck, Travis
    LVL 22

    Accepted Solution

    Check for a firmware update for the tape drive.
    Most of the time Dell uses ADIC libraries and IBM drives, and IBM drives work best with IBM tapes. Try using an IBM tape.
    Try retentioning the tapes.
    Also will not hurt to try loading a cleaning tape.
    Configure it so that the same bus is not used for both tape and disk.
    LVL 16

    Assisted Solution

    davidmichel's points were good.  One thing I've run into is sometimes the latest firmware updates can be the problem if the support files in projects like Bacula haven't been updated yet.  Make sure your firmware is not too new for Bacula support.

    LVL 10

    Author Comment

    this is not auto charger and i am using DLT tapes and my kernel is giving following errors

    kernel: st0: Error with sense data: Current st09:00: sense key Unit Attention  
     kernel: Additional sense indicates Not ready to ready change,medium may have changed  
     kernel: st0: Error with sense data: Current st09:00: sense key Not Ready  
     kernel: Additional sense indicates Logical unit is in process of becoming ready  
     kernel: st0: Error with sense data: Current st09:00: sense key Not Ready  
    LVL 16

    Expert Comment

    hmm, 114t comes up as a changer when i look at dell.  you sure?  if it has the robot arm in it you need to load the autochanger stuff for bacula.

    - travis
    LVL 22

    Expert Comment

    Unit Attention is usually just a normal informational type message. Any time a drive is powered on, a tape is loaded, a tape is ejected a Unit Attention will happen. It is a problem when the SCSI bus is hung and a Unit Attention is sent to reset the bus and regain communication with the device.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Having issues meeting security compliance criteria because of those pesky USB drives? Then I can help you! This article will explain how to disable USB Mass Storage devices in Windows Server 2008 R2.
    Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
    This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
    This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now