Special Thanx to Dr. Thomas P. Blinn and Alan for their immediate responses on my query.
The header file holding the definitions for the SCSI Non Standard RAID Services commands and data structures is cam_nstd_raid.h and it can be found under the path /usr/include/io/cam.
Particularly the explanation given by Dr. Thomas was very informative and of much use to me.
Actually the user process communicates to the underlying RAID peripheral device driver via a set of User Library Routines, libstor.a.
There are 3 source files that seem to be used to build libstor.a library -
1. srvc_open.c
2. srvc_close.c
3. srvc_req.c
and a grep "include" on those three files gives this output:
srvc_close.c srvc_open.c srvc_req.c
srvc_open.c:#include <io/common/iotypes.h>
srvc_open.c:#include <fcntl.h>
srvc_open.c:#include <sys/stat.h>
srvc_open.c:#include <sys/types.h>
srvc_open.c:#include <ufs/dinode.h>
srvc_open.c:#include <io/common/devio.h>
srvc_open.c:#include <sys/errno.h>
srvc_open.c:#include <sys/ioctl.h>
srvc_open.c:#include <sys/buf.h>
srvc_open.c:#include <sys/user.h>
srvc_open.c:#include <sys/param.h>
srvc_open.c:#include <io/cam/cam_nstd_raid.h>
srvc_open.c:#include <io/common/srvc.h>
srvc_req.c:#include <io/common/iotypes.h>
srvc_req.c:#include <fcntl.h>
srvc_req.c:#include <sys/stat.h>
srvc_req.c:#include <sys/types.h>
srvc_req.c:#include <ufs/dinode.h>
srvc_req.c:#include <io/common/devio.h>
srvc_req.c:#include <sys/errno.h>
srvc_req.c:#include <sys/ioctl.h>
srvc_req.c:#include <sys/buf.h>
srvc_req.c:#include <sys/user.h>
srvc_req.c:#include <sys/param.h>
srvc_req.c:#include <io/cam/cam_nstd_raid.h>
srvc_req.c:#include <io/common/srvc.h>
-----Original Message-----
From: Jaya Sangeetha C [SMTP:Sangeetha.C_at_bflsoftware.com]
Sent: Tuesday, August 08, 2000 3:13 PM
To: 'tru64-unix-managers_at_ornl.gov'
Subject: Q regarding Tru64 Raid Driver...
Hi,
What is the header file that holds the definitions of raid services structures like nstd_raid and functions like rd_srvc_open(), rd_srvc_req() etc on Tru64.
Hope u get what I'm talking about.
Anyway let me explain it clearly.
User applications make use of these raid service functions to fetch the information regarding non-standard raid controllers and devices from the raid service driver ( especially making passthrough operations...).
I've written an application using these raid service functions and compiled the same using the library libstor.a which holds all these functions.
But the parameters passed to these functions have been internally defined in some header file which is really the cause of my query. So kindly let me know the name of this header file that has to be included and from where can I get the same ?
Thanks in advance,
Sangeetha.
P.S : my mail-id : sangeetha.c_at_bflsoftware.com
Received on Wed Aug 09 2000 - 08:42:09 NZST