日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

Sun Enterprise Server 配置外部 SCSI 磁帶機(jī)( 五 )



When attaching the external drive, make sure the server has been shut down and powered off. Also, when connecting, ensure that the tape device is not powered up. If the tape device is to be the only external device, simply attach the cable to the connector. Since it is the last device on the bus, make sure it is properly terminated. Then confirm that the device has power, turn the device on, and then turn on the server.

If other devices are already attached to the external connector, the situation gets more complicated. It is advisable that you consult the Sun Enterprise Server Owner"s Guide for more detailed installation information. In any case, if you are unfamiliar with SCSI devices, bus length, bus termination, and so on, it is recommended that you read the section that discusses the external SCSI port to gain a better understanding of the requirements for attaching external devices.



Reconfiguration Reboot
Turn on the power to the tape drive and then the server. If you have set the auto-boot? parameter to false, as described above, the system will come up to the ok prompt.

Enter the boot command to perform a reconfiguration reboot, as in the following example:

ok boot -r
If the auto-boot? parameter was not set to false and the server continues to boot into the Solaris OS, log in as root and then create a file named reconfigure in the root directory.

# touch /reconfigure
Reboot the server. The system will check for the existence of the reconfigure file and perform a reconfiguration boot if it exists.

Watch for any boot messages that would indicate a problem with the st.conf file. If problems are found, make note of any line numbers displayed. If errors occur, edit the st.conf file again and perform the reconfiguration reboot again.

The reconfiguration reboot will create the necessary device entries in the /devices and /dev directories.


Testing the Drive
Once the tape device entries have been created successfully, test the tape drive with the mt command. Make sure a tape has been inserted in the drive and run the following command:

# mt -f /dev/rmt/0 status
If other tape devices have been configured in the past, you may have to replace the 0 with a 1, 2, and so on, until you find the number associated with your new drive.

Again continuing with the example of the WangDAT drive, a successful response to the mt command will look something like this:

WangDAT 4mm DAT tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0

Notice that the text displayed on the first line, before "tape drive," should match the second quoted field of the device configuration line in the st.conf file. Also, note that the specific sense key returned is usually not an issue.

mt may return a message similar to the following:

/dev/rmt/0: No such device or address
This means you should try substituting the 0 with 1, 2, and so on, as mentioned previously. Any other message may indicate a problem with the configuration in the st.conf file. Edit the st.conf file and reboot until the mt command returns the proper status.

When the mt command returns the proper status, the tape drive is correctly configured and ready for use.

For more information, consult the man pages on the mt command.

-----------------------------------------------------------------------------------------
注:“當(dāng)添加一個(gè)外部 SCSI 磁帶機(jī)時(shí),必須修改 Solaris OS 配置文件 /kernel/drv/st.conf ”

這句話不是必須的,SUN對(duì)磁帶機(jī)兼容還是很好的,不修改這個(gè)文件一般都可以識(shí)別到磁帶機(jī) 。對(duì)于這個(gè)文件的修改,不是參考這個(gè)安裝指南,而是參照磁帶機(jī)的安裝手冊(cè) 。

HP的DDS磁帶機(jī)上面也帶跳線,需要開蓋才能找到,對(duì)于SGI、IBM、SUN等機(jī)器有不同的跳線辦法,實(shí)際使用中,不做跳線修改也能識(shí)別 。

推薦閱讀