Operating System - HP-UX
1823062 Members
3146 Online
109645 Solutions
New Discussion юеВ

How to access a SCSI device?

 
SOLVED
Go to solution
Reggie Chang
Frequent Advisor

How to access a SCSI device?

Hello,

We've got SCSI ports on our HP 9000 C360 workstations. Although it came with a CDROM
and I can access it fine, now I would to try the
SCSI ports.

I tried /dev/rscsi/****** but they are not valid
operands of the mount command.

What's the right way to do it?

Best regards,


Reggie


6 REPLIES 6
Sanjay_6
Honored Contributor

Re: How to access a SCSI device?

Hi Reggie,

what are you trying to do by accessing the SCSI ports. If you are trying to access a disk connected to the scsi channel, do a ioscan -fn to find out the device file associated with the disk and use it to access the disk. Or go thtrough SAM --> Disk and filesystem menu.

Hope this helps.

Regds
harry d brown jr
Honored Contributor

Re: How to access a SCSI device?

Reggie,

As Sanjay said, an "ioscan -fn" will list all of your devices. If you don't have a scsi disk, there won't be any device file set up. Disk drives show up under /dev/rdsk (raw character) and /dev/dsk (block), tape drives show up under /dev/rmt. Cd's show up also under the disk directories.

attached is a text listing of an ioscan showing a few scsi devices.

live free or die
harry
Live Free or Die
Reggie Chang
Frequent Advisor

Re: How to access a SCSI device?

Thanks for the responses.

Maybe I should describe more about my question.

1. If I would like to hook up a external device (a CD burner to be used to read files from CD) through a SCSI port, I guess I should
plug the device in the SCSI port, turn on the power and then reboot the hp. Is the process correct?

2. After the proper process, is mounting necessary?

I'll attach the output of ioscan -fn from my machine. I only have mount points c0t6d0 and c1t2d0 for hard disk and internal CD ROM in /dev/dsk and /dev/rdsk. Is that OK?

Best regards,

Reggie
Sanjay_6
Honored Contributor
Solution

Re: How to access a SCSI device?

Hi Reggie,

If you have an external SCSI CDROM compatible with the external interface, you can proceed like this.

Power down the system --> Set the SCSI id of the external SCSI CDROM to a unique id (should not clash with any other internal or external SCSI device on that channel) and then power everything up. You should be able to see the device in your ioscan output. Yu should be able to access the CDROM just the way you access the internal cdrom. If you face any problem, post your ioscan -fn output for us to look at.

Hope this helps.

Regds
Reggie Chang
Frequent Advisor

Re: How to access a SCSI device?

Sanjay,

Thank you for the info.

My colleague took back the CD writer which was intend to test read files on a CD ROM. I feel that your instruction will work, but I don't have the chance to try it.

Best regards,

Reggie
Sanjay_6
Honored Contributor

Re: How to access a SCSI device?

Hi Reggie,

There is always a next time.

Regards
Sanjay