ioscan:查看系统的硬件结构和属性
三层结构:1.物理设备
2.设备驱动程序
3.逻辑设备
设备类型:1.块设备文件-随机存取,如文件系统
2.字符设备文件-顺序存取,如未定义文件系统的逻辑卷(裸设备)
同一个物理设备可能同时存在快设备和字符设备文件,如物理磁盘,数据库中使用的裸设备,就是这里说说的逻辑卷的字符设备。
HP-UNIX的硬盘设备:
1./dev/dsk:磁盘整列LUN或单个磁盘对应的块设备文件
/dev/rdsk:磁盘整列LUN或单个磁盘对应的字符设备文件
2.磁盘分类:内置磁盘或单独的外置磁盘
SCSI磁盘阵列:AutoRaid
光纤磁盘阵列:FC60、VA系列
3.查看相关设备文件:
ioscan -funC disk list all disk devices and device files
Class I H/W Path Driver S/W State H/W Type Description
=================================================================================================
disk 40 0/3/1/0.2.56.0.0.0.0 sdisk CLAIMED DEVICE HP OPEN-V
/dev/dsk/c22t0d0 /dev/rdsk/c22t0d0
I:Instance,是按照设备加入顺序生成的,一旦生成就不可改变
硬件路径:H/W Path,Cell/SBA/LBA/Device/Function.Target
设备文件名称:/dev/dsk/c5t1d0:c5->I,t1->SCSI Target Address,d0->Logical Unit Number
4.创建设备文件
虽然系统启动时会自动运行insf,不过在线添加新硬件等操作后需要使用这个命令创建设备文件,
Create device files for any newly added auto-configurable devices:
# insf
Re-create missing device files for all existing auto-configurable devices:
# insf -e
Create or recreate device files for a specific auto-configurable device:
# insf –eH 0/0/1/0/0.3.0
HP-UNIX其他设备文件:
1./dev :包含所有的终端、moderm、lan、打印机等
2./dev/dsk :包含所有的块磁盘设备文件
3./dev/rdsk :包含所有的字符磁盘设备文件
4./dev/rmt :包含所有的磁带设备文件
-----------------------------------------------------------------
/dev下的设备文件:
tty*: 终端或调制解调器设备文件
查看机器型号:
model
查看操作系统型号:
uname -a
查看CPU字长等:
getconf
阅读(709) | 评论(0) | 转发(0) |