Ask the Expert

Programmatically determining the device path

Is it possible to programmatically determine what the device path of a device in a SAN is for a host? Is it possible to definitely say that a tape device in a SAN is /dev/rmt0 on a host and if not, why not? Is this possible when the device is directly connected to the system?

Requires Free Membership to View

Yes, you can determine the device path for a device in a SAN exactly the same way that you do with direct attached devices on a SCSI bus. The SCSI driver level for the FC HBA takes care of this transparently.

For most tape devices -- they will be behind some kind of FC/SCSI router or bridge. Changes to the SAN configuration can screw this up, just as changes to the SCSI bus will screw things up.


Editor's note: Do you agree with this expert's response? If you have more to share, post it in one of our .bphAaR2qhqA^0@/searchstorage>discussion forums.

This was first published in August 2002

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: