This command gives an immediate response....

[EMAIL PROTECTED]:~# mt -f /dev/st0 stat
SCSI 2 tape drive:
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (50000):
 DR_OPEN IM_REP_EN


-dP

-----Original Message-----
From: John Drescher [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 27, 2007 3:52 PM
To: Petcher, Daniel; [email protected]
Subject: Re: [Bacula-users] Two problems talking to Dell PowerVault 124T (
LTO3)

> That sounds reasonable. Let me probe around to find which device 
> number the tape responds to. It appears on different numbers because I 
> have a huge removable SCSI volume that enumerates earlier than the 
> tape drive and changer in the /dev/sg(x) list if it happens to be 
> mounted today. If I left it mounted all the time, the stupid desktop 
> motherboard would try to boot from this storage volume.
>
> This error message takes about a minute to appear (/dev/nst0 behaves 
> the same way):
> [EMAIL PROTECTED]:~# mtx -f /dev/st0 inquiry cannot open SCSI device 
> '/dev/st0' - Input/output error
>
mtx is only for the changer resource and not the tape drive. Although they
are part of one unit they are completely different devices. Use the mt
command to find the tape drive.

 mt -f /dev/nst0 stat

John

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to