HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Hardware Newsgroups > Storage > SCSI

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 12-12-2007, 09:53 PM
lx282828@gmail.com
 
Posts: n/a
Default SOS - SCSI Mode Sense page

Hi,

It would be appreciated if some one could help me on this.

I found a strange issue with NetBackup. It seems NetBackup uses SCSI
Mode Sense page 1D to determin if a tape library has a barcode reader
or not. Is it a right action? I ask it because I don't see page 1D
contains barcode reader information.

What about SCSI Inquiry? Can an application running on a host use
SCSI Inquiry to determin if a tape library has a barcode reader or
not?

BJ
--
Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
  #2  
Old 12-13-2007, 12:41 AM
Cydrome Leader
 
Posts: n/a
Default Re: SOS - SCSI Mode Sense page

lx282828@gmail.com wrote:
> Hi,
>
> It would be appreciated if some one could help me on this.
>
> I found a strange issue with NetBackup. It seems NetBackup uses SCSI
> Mode Sense page 1D to determin if a tape library has a barcode reader
> or not. Is it a right action? I ask it because I don't see page 1D
> contains barcode reader information.


netbackup is sort of the standard of backup software, mostly because it
actually works.

> What about SCSI Inquiry? Can an application running on a host use
> SCSI Inquiry to determin if a tape library has a barcode reader or
> not?


What is the problem you're having with netbackup?
Reply With Quote
  #3  
Old 12-13-2007, 05:04 PM
lx282828@gmail.com
 
Posts: n/a
Default Re: SOS - SCSI Mode Sense page

On Dec 12, 6:41 pm, Cydrome Leader <prese...@MUNGEpanix.com> wrote:
> lx282...@gmail.com wrote:
> > Hi,

>
> > It would be appreciated if some one could help me on this.

>
> > I found a strange issue with NetBackup. It seems NetBackup uses SCSI
> > Mode Sense page 1D to determin if a tape library has a barcode reader
> > or not. Is it a right action? I ask it because I don't see page 1D
> > contains barcode reader information.

>
> netbackup is sort of the standard of backup software, mostly because it
> actually works.
>
> > What about SCSI Inquiry? Can an application running on a host use
> > SCSI Inquiry to determin if a tape library has a barcode reader or
> > not?

>
> What is the problem you're having with netbackup?


Thanks for your response.

I probably shouldn't link what I'm not sure to NetBackup. The right
question perhaps is how a tape library report it has a barcode reader
to a backup application? Does it use SCSI Inquiry command or some
other commands?

BJ
--
Reply With Quote
  #4  
Old 12-14-2007, 12:10 PM
Michael Baeuerle
 
Posts: n/a
Default Re: SOS - SCSI Mode Sense page

lx282828@gmail.com wrote:
>
> I probably shouldn't link what I'm not sure to NetBackup. The right
> question perhaps is how a tape library report it has a barcode reader
> to a backup application? Does it use SCSI Inquiry command or some
> other commands?


If the library contains a SPC4/SMC3 compliant media changer, like this:

First the INQUIRY command reports in the "Peripheral Device Type" field
of the standard response that this logical unit is a medium changer
(08h).

Now a MODE SENSE command can be send to read the Device Capabilities
Page (1Fh). If the VTRP (Volume Tag Reader Present) bit is set, there is
Volume Tag hardware implemented. MODE SENSE is an optional command. If
it is not implemented, it is IMHO allowed to assume that no Volume Tags
are supported (see below).

If the VTRP bit is set, a READ ELEMENT STATUS command can be send with
the VOLTAG bit set. The element status pages in the response should
contain the bits PVOLTAG [and maybe AVOLTAG] indicating that Volume Tags
are supported. READ ELEMENT STATUS is a mandatory command but it is not
allowed to set the VOLTAG bit if Volume Tags are not supported
(therefore if MODE SENSE is not implemented, this bit must be cleared).

Note:
Because Volume Tags can be implemented using different methods, it is
not possible to detect whether a media changer uses a barcode reader or
something else to provide Volume Tag support.


Micha
Reply With Quote
  #5  
Old 12-14-2007, 06:03 PM
lx282828@gmail.com
 
Posts: n/a
Default Re: SOS - SCSI Mode Sense page

On Dec 14, 6:10 am, Michael Baeuerle <michael.baeue...@stz-e.de>
wrote:
> lx282...@gmail.com wrote:
>
> > I probably shouldn't link what I'm not sure to NetBackup. The right
> > question perhaps is how a tape library report it has a barcode reader
> > to a backup application? Does it use SCSI Inquiry command or some
> > other commands?

>
> If the library contains a SPC4/SMC3 compliant media changer, like this:
>
> First the INQUIRY command reports in the "Peripheral Device Type" field
> of the standard response that this logical unit is a medium changer
> (08h).
>
> Now a MODE SENSE command can be send to read the Device Capabilities
> Page (1Fh). If the VTRP (Volume Tag Reader Present) bit is set, there is
> Volume Tag hardware implemented. MODE SENSE is an optional command. If
> it is not implemented, it is IMHO allowed to assume that no Volume Tags
> are supported (see below).
>
> If the VTRP bit is set, a READ ELEMENT STATUS command can be send with
> the VOLTAG bit set. The element status pages in the response should
> contain the bits PVOLTAG [and maybe AVOLTAG] indicating that Volume Tags
> are supported. READ ELEMENT STATUS is a mandatory command but it is not
> allowed to set the VOLTAG bit if Volume Tags are not supported
> (therefore if MODE SENSE is not implemented, this bit must be cleared).
>
> Note:
> Because Volume Tags can be implemented using different methods, it is
> not possible to detect whether a media changer uses a barcode reader or
> something else to provide Volume Tag support.
>
> Micha


Thanks Micha, It helps a lot!

Best regards,

BJ
--
Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mixed SCSI, IDE -- system partition and page file(s) saltbeet Windows Vista Installation 3 11-09-2007 10:36 PM
Strange top & bottom margin in Page Layout mode Another Brian Microsoft Office 6 09-14-2007 05:13 AM
How to create key in \HKLM\HARDWARE\DEVICEMAP\Scsi\Scsi Port2\ScsiBus 0 ?? sp Windows XP 2 07-29-2007 01:21 AM
Will SCSI HD with OS work with refurbished Dell 670 with SCSI HD and no OS? E. E. Herbert Dell 3 07-09-2007 08:17 PM
"Delayed Write Failed" ... Scsi-Sata Conflict Or Malfunctioning Scsi Drive? sl@hotmail.com SCSI 6 03-30-2007 02:38 AM


All times are GMT. The time now is 08:56 PM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger