Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

scsi(3) [plan9 man page]

SCSI(3) 						     Library Functions Manual							   SCSI(3)

NAME
scsi - SCSI command interface SYNOPSIS
bind #S /dev /dev/scsiid /dev/0/cmd /dev/0/data /dev/0/debug ... DESCRIPTION
The scsi interface is accessed through a two-level directory. The scsiid file contains the SCSI id of the host interface, typically 7, represented textually. Some implementations allow this to be changed by writing to the file; in many cases, the higher-order bits are hardware specific. Each SCSI target n (0<=n<=7) is associated with a subdirectory #S/n containing files cmd, data, and debug. The following steps may be used to execute a SCSI command: The command block is written to the cmd file. The data file is either written or read depending on the direction of the transfer. (A command that involves no data transfer is executed with a zero-length write.) The cmd file is read to retrieve the status of the command, returned as a 4-byte big-endian integer. Writing an ASCII to the debug file causes tracing information to be written to /dev/klog; writing a turns the tracing off. SEE ALSO
wren(3) SOURCE
/sys/src/9/port/devscsi.c /sys/src/9/*/scsi.c SCSI(3)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Stupid Question?

I have a SparcStation 10 and it came with an external CD Rom Drive. I am trying to install Solaris 2.6 Server on this machine from the Cd Rom. At the OK> prompt I type "boot cdrom - browser" and I get an error: scsi device not found:error = -1 or something to that effect. Does anyone have any... (9 Replies)
Discussion started by: jskillet
9 Replies

2. UNIX for Dummies Questions & Answers

still cant get the solaris cdrom!!

ok here is what i do and get: # mount /dev/sd6a /cdrom mount /dev/sd6a write-protected ok so what do i do its a external cdrom and its on scsi number 6. its a SparcSTATION 2. we're trying to put red hat sparc 6.2 on it but it wont boot. i am about to take the hard drives out and install it a... (8 Replies)
Discussion started by: wixifer
8 Replies

3. UNIX for Advanced & Expert Users

scsi sda device not mounting !!

I have a small scsi memory disk device that my computer claims is a /dev/sda mount type.. and I have mounted it in the past.. but I just recently reinstalled my whole system to check out a couple of things on my database. including the scsi device and now I can't get it to mount.. i tried to mount... (20 Replies)
Discussion started by: moxxx68
20 Replies

4. Solaris

mounting an external scsi tape drive

hi- I just installed a quad gigaswift ethernet scsi card to my sunblade 150. I checked with the docs, and got all of the required drivers on the box. Now, I'm trying to mount an external scsi tape drive with no luck. I set the scsi address on the external drive to 0. Here's what I'm coming... (9 Replies)
Discussion started by: ECBROWN
9 Replies

5. AIX

Spliting PCI-X Dual Channel Ultra320 SCSI Adapter

I have 1 PCI-X Dual Channel Ultra320 SCSI Adapter card for my p570 server. I would like to split the 2 channels for the usage of 2 tape drives in different LPARs. Is that possible? For example, I have 2 LPARs running in p570 server, LPAR-A configured the Ultra320 card as pci7 in slot... (11 Replies)
Discussion started by: kwliew999
11 Replies

6. AIX

Help growing iscsi lun

Hi, I have an iSCSI LUN of 200GB. I increased it to 250GB and when I try to increase the size of the vg, I'm getting an error that none of the volumes have increased in size. How can I get the OS to see the additional 50GB? ---------- Post updated at 03:22 PM ---------- Previous update... (9 Replies)
Discussion started by: bbbngowc
9 Replies

7. Solaris

Solaris 10 SCSI card question

I have 2 solaris boxes and trying to connect to D1000 to do clustering. I put the U cable to see the disks from both side, but I can't see any of the disks when I use format command. How can I verify that differential card is installed and configured correctly? Thanks in advance. (12 Replies)
Discussion started by: mokkan
12 Replies

8. Solaris

probe-scsi-all hangs - not returning anything

HI I have a V240 server and the probe-scsi-all on the Ok prompt is taking forever. I have tried powercycling the server multiple times. also tried set-defaults and reset-all.. COuld anyone tell the solution to this.. I have run out of options now. Following is the only thing... (8 Replies)
Discussion started by: ningy
8 Replies

9. Solaris

Sun E220R + HP (SCSI) LTO Ultrium Tape Drive

Hi all, this time I'd need a help from an advanced Solaris system admin :rolleyes: I attached a HP StorageWorks Ultrium 215 Tape Drives - Overview - c00059530 - HP Business Support Center to my Sun E220R and it got recognized immediately (probe-scsi-all). Now the operating system boot process... (8 Replies)
Discussion started by: pseudocoder
8 Replies

10. AIX

How to configure iSCSI TOE w/ load balancing?

Sorry guys but let me start off by saying I am an AIX noob! I am running AIX 6.1 and recently purchased two iSCSI TOE cards. The plan is to connect these two cards to a Dell EqualLogic SAN and that has two volumes configured for logs and data. The point of the two cards is to do load balancing... (21 Replies)
Discussion started by: cbrinker
21 Replies

11. AIX

Unable to remove VIOS disk

Hello, I am unable to remove the disk, whenever i remove the disk using rmdev -dl hdisk2 or rmdev -Rdl hdisk2 the disk appears back when i run cfgmgr but unable to create any volume group on it # mkvg -y foovg hdisk2 0516-008 /usr/sbin/mkvg: LVM system call returned an unknown ... (20 Replies)
Discussion started by: filosophizer
20 Replies

12. Solaris

Unable to send SCSI commands to USB Drive

I am connecting a USB mass storage removeable drive to Solaris 10 x86 machine. The device is detected and i am able to perform standard read and write functions. But i want to use a code to send IOCTL based SCSI commands to the same device to read and write the data. Which i am unable to do so.... (17 Replies)
Discussion started by: danish2012
17 Replies

13. AIX

How to put vscsi in available state?

Hello Friends, My question/problem is that I noticed 2 servers in my environment vscsi is showing up as defined (not available) or is defined and not showing the path to both vscsi's when ruining lspath command. I am new to AIX admin, work alone, and work in an small environment. My question is,... (12 Replies)
Discussion started by: Adnans2k
12 Replies

14. AIX

Receiving: 4B436A3D 0313233216 T H fscsi0 LINK ERROR

Hey All, I'm receiving the following error off of a Power5 9133-55A after I write 2-5 files to the LUN: 4B436A3D 0313233216 T H fscsi0 LINK ERROR I can create the filesystem, volume groups etc etc. All goes well until there is sustained activity to the LUN then the above error... (23 Replies)
Discussion started by: Devyn
23 Replies

15. AIX

ISCSI poor performance 1.5MB/s fresh install AIX7.1

Hi Everyone, I have been struggling for few days with iSCSI and thought I could get some help on the forum... fresh install of AIX7.1 TL4 on Power 710, The rootvg relies on 3 SAS disks in RAID 0, 32GB Memory The lpar Profile is using all of the managed system's resources. I have connected... (11 Replies)
Discussion started by: frenchy59
11 Replies