dad - driver for IDE disk devices
dad@ target,lun:partition
This driver handles the ide disk drives on SPARC platforms. The type of disk drive is determined using the ATA IDE identify device command and by reading the volume label stored on the drive. The dad device driver supports the Solaris SPARC VTOC and the EFI/GPT disk volume labels.
The block-files access the disk using the system's normal buffering mechanism and are read and written without regard to physical disk records. There is also a "raw" interface that provides for direct transmission between the disk and the user's read or write buffer. A single read or write call usually results in one I/O operation; raw I/O is therefore considerably more efficient when many bytes are transmitted. The names of the block files are found in /dev/dsk. Raw file names are found in /dev/rdsk.
I/O requests to the raw device must be aligned on a 512-byte (DEV_BSIZE) boundary and must have a length that is a multiple of 512 bytes. Requests that do not meet the restrictions cause the driver to return an EINVAL error. I/O requests to the block device have no alignment or length restrictions.
Each device maintains I/O statistics both for the device and for each partition allocated on that device. For each device/partition, the driver accumulates reads, writes, bytes read, and bytes written. The driver also takes hi-resolution time stamps at queue entry and exit points, which facilitates monitoring the residence time and cumulative residence-length product for each queue.
Each device also has error statistics associated with it. These must include counters for hard errors, soft errors and transport errors. Other data may be implemented as required.
/dev/dsk/cntndnsn
/dev/rdsk/cntndnsn
where:
cn
tn
dn
sn
The target ide numbers are assigned as:
0
1
2
3
Refer to dkio(7I).
EACCES
EBUSY
EFAULT
EINVAL
EIO
ENOTTY
ENXIO
EROFS
format(1M), mount(1M), lseek(2), read(2), write(2), driver.conf(4), vfstab(4), dkio(7I)
Command:<number>, Error:<number>, Status:<number>
offline
disk ok
disk not responding to selection
i/o to invalid geometry
incomplete read/write - retrying/giving up
no bp for disk label
no memory for disk label
ATA transport failed: reason 'nnnn': {retrying|giving}
no mem for property
transport rejected (<n>)
Device Fault
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |