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;bacula-users@lists.sourceforge.net
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to