当前位置: 技术问答>linux和unix
Solaris下挂载光驱的疑问,请前辈指点,万分感谢
来源: 互联网 发布时间:2016-11-29
本文导语: 我现在就是想挂载一个光驱到我的系统中,我尝试很多次,可是光驱就是不能使用,信息如下, $ su root Password: # ls -l /dev/sr0 lrwxrwxrwx 1 root root 12 2008 2月 1 /dev/sr0 -> dsk/c0t0d0s2 -------...
我现在就是想挂载一个光驱到我的系统中,我尝试很多次,可是光驱就是不能使用,信息如下,
$ su root
Password:
# ls -l /dev/sr0
lrwxrwxrwx 1 root root 12 2008 2月 1 /dev/sr0 -> dsk/c0t0d0s2
------------------------------
# eject cdrom
无此文件或目录
---------------------
# cd etc/init.d
# ./volmgt start
volume management starting.
# eject cdrom
cdrom: 无此文件或目录
# cd ../..
# eject cdrom
无此文件或目录
---------------------
# mount -F hsfs /dev/dsk/c0t0d0s2 /cdrom
mount: /dev/dsk/c0t0d0s2 没有这样的设备
---------------------
# ls -l /dev/ |grep sr
lrwxrwxrwx 1 root root 13 2008 2月 1 rsr0 -> rdsk/c0t0d0s2
lrwxrwxrwx 1 root root 12 2008 2月 1 sr0 -> dsk/c0t0d0s2
----------------------
# iostat -En
c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAP3367N SUN36G Revision: 0401 Serial No: 0426N0BF1F
Size: 36.42GB
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAP3367N SUN36G Revision: 0401 Serial No: 0426N0BF0B
Size: 36.42GB
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t2d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAP3367N SUN36G Revision: 0401 Serial No: 0426N0BEY6
Size: 36.42GB
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
主要的信息基本上都在了,不知道是什么原因导致的,也不知道后面怎么解决,也不确实到底是硬件或者线有了问题还是我那块没有作对,为此换了一个光驱,可是结果还是那样,请前辈指点一下啊!
$ su root
Password:
# ls -l /dev/sr0
lrwxrwxrwx 1 root root 12 2008 2月 1 /dev/sr0 -> dsk/c0t0d0s2
------------------------------
# eject cdrom
无此文件或目录
---------------------
# cd etc/init.d
# ./volmgt start
volume management starting.
# eject cdrom
cdrom: 无此文件或目录
# cd ../..
# eject cdrom
无此文件或目录
---------------------
# mount -F hsfs /dev/dsk/c0t0d0s2 /cdrom
mount: /dev/dsk/c0t0d0s2 没有这样的设备
---------------------
# ls -l /dev/ |grep sr
lrwxrwxrwx 1 root root 13 2008 2月 1 rsr0 -> rdsk/c0t0d0s2
lrwxrwxrwx 1 root root 12 2008 2月 1 sr0 -> dsk/c0t0d0s2
----------------------
# iostat -En
c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAP3367N SUN36G Revision: 0401 Serial No: 0426N0BF1F
Size: 36.42GB
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAP3367N SUN36G Revision: 0401 Serial No: 0426N0BF0B
Size: 36.42GB
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t2d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAP3367N SUN36G Revision: 0401 Serial No: 0426N0BEY6
Size: 36.42GB
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
主要的信息基本上都在了,不知道是什么原因导致的,也不知道后面怎么解决,也不确实到底是硬件或者线有了问题还是我那块没有作对,为此换了一个光驱,可是结果还是那样,请前辈指点一下啊!
|
从iostat的输出看,光驱没有认呀。先检查下硬件、连接吧。