Hi Again

This has baffled me.  The previous night's report at my remote site has stated 
that a backup was successful without errors!  Any ideas why backup has worked 
on Thursday night when all week (Monday to Wednesday) the tape drive had 
input/output errors?

Latest log here:-

08-Mar 21:30 Server-dir: RunBefore: Connecting to Director localhost:9101
08-Mar 21:30 Server-dir: RunBefore: 1000 OK: Server-dir Version: 1.36.2 (28 
February 2005)
08-Mar 21:30 Server-dir: RunBefore: Enter a period to cancel a command.
08-Mar 21:30 Server-dir: RunBefore: mount storage=DDS4
08-Mar 21:30 Server-dir: RunBefore: Using default Catalog name=MyCatalog 
DB=bacula
08-Mar 21:30 Server-dir: RunBefore: 3001 Mounted Volume: Thu-A
08-Mar 21:30 Server-dir: RunBefore: 3001 Device /dev/nst0 is already mounted 
with Volume "Thu-A"
08-Mar 21:30 Server-dir: RunBefore: exit

08-Mar 21:30 Server-dir: Start Backup JobId 902, 
Job=HaverhillJob.2007-03-08_21.30.00
08-Mar 21:30 Server-dir: Recycled current volume "Thu-A"
08-Mar 21:30 Server-sd: Recycled volume "Thu-A" on device "/dev/nst0", all 
previous data lost.
08-Mar 23:19 Server-dir: Volume used once. Marking Volume "Thu-A" as Used.
08-Mar 23:19 Server-dir: Bacula 1.36.2 (28Feb05): 08-Mar-2007 23:19:10
JobId: 902
Job: HaverhillJob.2007-03-08_21.30.00
Backup Level: Full
Client: Server-fd
FileSet: "HaverhillFiles" 2006-11-18 00:08:52
Pool: "HaverhillPool"
Storage: "DDS4"
Start time: 08-Mar-2007 21:30:02
End time: 08-Mar-2007 23:19:10
FD Files Written: 192,639
SD Files Written: 192,639
FD Bytes Written: 14,373,145,446
SD Bytes Written: 14,400,061,242
Rate: 2195.0 KB/s
Software Compression: 37.1 %
Volume name(s): Thu-A
Volume Session Id: 1
Volume Session Time: 1173355217
Last Volume Bytes: 14,422,023,619
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK
08-Mar 23:19 Server-dir: Begin pruning Jobs.
08-Mar 23:19 Server-dir: Pruned 1 Job for client Server-fd from catalog.
08-Mar 23:19 Server-dir: Begin pruning Files.
08-Mar 23:19 Server-dir: Pruned 1 Files from 1 Jobs for client Server-fd from 
catalog.
08-Mar 23:19 Server-dir: End auto prune.

08-Mar 23:19 Server-dir: RunAfter: Connecting to Director localhost:9101
08-Mar 23:19 Server-dir: RunAfter: 1000 OK: Server-dir Version: 1.36.2 (28 
February 2005)
08-Mar 23:19 Server-dir: RunAfter: Enter a period to cancel a command.
08-Mar 23:19 Server-dir: RunAfter: unmount storage=DDS4
08-Mar 23:19 Server-dir: RunAfter: Using default Catalog name=MyCatalog 
DB=bacula
08-Mar 23:20 Server-dir: RunAfter: 3002 Device /dev/nst0 unmounted.
08-Mar 23:20 Server-dir: RunAfter: exit

-- Regards
Alan To




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan To
Sent: 08 March 2007 12:07
To: [email protected]
Cc: HAWKER, Dan (external)
Subject: Re: [Bacula-users] DDS4 DAT Tape Drive Failure?


  Hi Dan, Hi All

It is slightly difficult to check [movement] as the server is on a separate 
site to where I am based.  Anyway I have just catalogued my scsi devices and 
yes, it is there/detected:
# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ADAPTEC  Model: AAR-2410SA RAID5 Rev: V1.0
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: WDC WD400JD-00LS Rev: 06.0
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 03 Lun: 00
  Vendor: HP       Model: C5683A           Rev: C111
  Type:   Sequential-Access                ANSI SCSI revision: 02

If it wasn't detected then I would not be able to do the mt command (I would 
get the error "No such device or address" instead) e.g. (I don't have a second 
tape drive so nst1 has nothing there):
# mt -f /dev/nst0 rewind
/dev/nst0: Input/output error
# mt -f /dev/nst1 rewind
/dev/nst1: No such device or address

What's next can I troubleshoot, prior to purchasing new hardware or going to 
the site?

-- Many Thanks
Alan To




From: HAWKER, Dan (external) [mailto:[EMAIL PROTECTED]
Sent: 08 March 2007 11:40
To: Alan To;[email protected]
Subject: RE: [Bacula-users] DDS4 DAT Tape Drive Failure?



I have been happily doing nightly full backups on one of my Linux Servers for a 
few months now.  However, since the beginning of this week I have been getting 
the following errors.  Has my Tape Drive failed?  Has a cable got broken?  
Could somebody give me a How-To in order to Troubleshoot my tape drive please?

07-Mar 21:32 Server-dir: RunBefore: 3901 open device failed: ERR=dev.c:289 
stored: unable to open device /dev/nst0: ERR=Input/output error 07-Mar 21:32 
Server-dir: RunBefore:
07-Mar 21:32 Server-dir: RunBefore: You have messages.
07-Mar 21:32 Server-dir: RunBefore: exit 07-Mar 21:32 Server-dir: Start Backup 
JobId 900, Job=HaverhillJob.2007-03-07_21.30.00
07-Mar 21:34 Server-fd: HaverhillJob.2007-03-07_21.30.00 Fatal error: 
job.c:1665 Bad response to Append Data command. Wanted 3000 OK data , got 3903 
Error append data
07-Mar 21:34 Server-sd: HaverhillJob.2007-03-07_21.30.00 Fatal error: 
device.c:317 Unable to open device /dev/nst0. ERR=dev.c:289 stored: unable to 
open device /dev/nst0: ERR=Input/output error

Here is part of my "dmesg" with my Tape Drive detected:-

scsi2 : Initio INI-A100U2W SCSI device driver; Revision: 1.02d
Vendor: HP Model: C5683A Rev: C111
Type: Sequential-Access ANSI SCSI revision: 02
st: Version 20040403, fixed bufsize 32768, s/g segs 256
Attached scsi tape st0 at scsi2, channel 0, id 3, lun 0
st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 1048575


Note that mt commands (such as mt -f /dev/nst0 rewind or mt -f /dev/st0 rewind) 
also give me input/output errors, when I turn Bacula off.


Hi Alan,

Sounds like its either dead or just unplugged. Done any moving around lately??? 
 What do you have in /proc/scsi/scsi ??? (# cat /proc/scsi/scsi)

It should list (depending upon your setup) the tape drive and maybe some 
SCSI/SATA/USB hard disks too, in fact anything that uses the generic SCSI 
kernel module.

If your tape drive isn't listed then the kernel knows nothing of it and it just 
ain't going to work (and hence why mt and bacula fail). If it is, then it could 
be something more difficult to pin down.

If it isn't listed, then you'll need to check the usual things (powered on or 
not, everything plugged in correctly, SCSI termination, etc, etc). Is there 
anything else plugged into the HBA that could have died??? Could the HBA be 
faulty or the drive??? Just try some usual checks, move the drive to another 
HBA to see if its OK or the HBA is dead, check its not been in-advertently 
powered off (cable unplugged, tripped over cable, etc, etc)...

And so on and so on...

HTH

Dan

--

Dan Hawker
Linux System Administrator
Astrium
http://www.astrium.eads.net

--
This email (including any attachments) may contain confidential and/or 
privileged information or information otherwise protected from disclosure.
If you are not the intended recipient, please notify the sender immediately, do 
not copy this message or any attachments and do not use it for any purpose or 
disclose its content to any person, but delete this message and any attachments 
from your system.
Astrium disclaims any and all liability if this email transmission was virus 
corrupted, altered or falsified.
---------------------------------------------------------------------
Astrium Limited, Registered in England and Wales No. 2449259
Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to