Solaris11挂载光盘
将ISO写入光盘
cdrecord sol-11_1-repo-full.iso
弹出光盘
root@solaris:/media# eject cdrom
cdrom /dev/dsk/c7t0d0s2 ejected
Solaris10/11都是自动挂载光盘默认位置是
/cdrom
手动挂在如下
root@solaris:/media# eject cdrom #放光盘时弹出光驱,提示信息如下
cdrom /dev/dsk/c7t0d0s2 ejected #这个就是光驱的位置
root@solaris:/cdrom# iostat -En #这个命令能看出来本地挂在的所有硬盘光驱等等
c8t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 #这个是硬盘
Vendor: VMware Product: Virtual disk Revision: 1.0 Serial No:
Size: 42.95GB <42949672960 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 68 Predictive Failure Analysis: 0
c7t0d0 Soft Errors: 0 Hard Errors: 73 Transport Errors: 0 #这个是光驱,用vmware挂在的iso文件,光驱的名字是c7t0d0,上边跳出\
Vendor: NECVMWar Product: VMware IDE CDR10 Revision: 1.00 Serial No: :的是/dev/dsk/c7t0d0s2后边多了s2两个字符应该就是solaris的默认\
Size: 7.33GB <7331647488 bytes> :命名规则了
Media Error: 0 Device Not Ready: 73 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0
root@solaris:/cdrom# ls -l /dev/dsk/c7t0d0s2 #这个就是光驱的实际位置就像RHEL中的/dev/cdrom了
lrwxrwxrwx 1 root root 48 7月 8日 10:30 /dev/dsk/c7t0d0s2 -> ../../devices/pci@0,0/pci-ide@7,1/ide@1/sd@0,0:c
root@solaris:/cdrom# umount /dev/dsk/c7t0d0s2 #因为默认是自动挂在,所有需要线umount一下
root@solaris:/cdrom# mount -F hsfs /dev/dsk/c7t0d0s2 /mnt/ #进行手动挂挂载指定挂在点
推荐阅读:
Solaris 11(x86)安装后不能使用中文EUC的问题 http://www.linuxidc.com/Linux/2012-10/71786.htm
Solaris 10/11 (x86)下使用VNC – Xvnc http://www.linuxidc.com/Linux/2012-10/71787.htm
Oralce Solaris 11 源码安装Qt 4.8.3 http://www.linuxidc.com/Linux/2013-03/81440.htm
Solaris 11 安装 Zabbix Agent http://www.linuxidc.com/Linux/2013-07/87701.htm