Solaris系统环境添加新设备重新配置设备过程
一、 组网需求:
SUN服务器或者工作站
Solaris 操作系统
二、 组网图:
无
三、 配置步骤:
适用于Solaris 7以及8以上版本
1.reconfiguration boot 被调用
系统识别新添加的外围设备
更新设备树目录,添加新设备到/dev和/devices路径下
2.配置过程
2.1 生成 /reconfigure文件. 使系统在下一次启动时检查到新安装的设备
# touch /reconfigure
2.2关闭系统
# init 5
2.3 关闭电源和外部设备
2.4 安装外围设备,确认设备被正确添加,与其他设备没有地址冲突
2.5 给系统加电,系统引导到login状态
2.6 检查设备驱动是否被正确添加 ,prtconf or format
Note – If the /reconfigure file was not created before the system was
shut down, you can invoke a manual reconfiguration boot with the
PROM level command: boot -r.
3.Devfsadm用法
Solaris8以后版本系统使用,维护/devices和/dev目录结构
语法1:devfsadm -c device_class
device_class可选值:disk, tape, port, audio
# devfsadm -c disk
# devfsadm -c disk -c tape -c audio
语法2:devfsadm -i driver_name
仅添加使用指定驱动的设备
# devfsadm -i dad
# devfsadm -i sd
# devfsadm -i st
Solaris8以前版本
# drvconfig -i dad
# drvconfig -i sd
# disks
Disks命令在/dev/dsk和/dev/rdsk路径下生成/devices下磁盘设备文件的链接
# drvconfig -i st
# tapes
Tapes命令在/dev/rmt路径下生成/devices下磁带设备文件的链接
四、 配置关键点:
略
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作