DAT磁带机安装(SCO UNIX 5.0.4)
点击次数:27 次 发布日期:2008-11-29 16:28:00 作者:源代码网
|
源代码网推荐
- 以ROOT登录,并确认系统在维护状态
- 通过三种方式进入硬件/核心管理。
桌面:SystemAdminisfration->Hardware/KernalManager
通过命令行,启动系统管理菜单并选择“Hardware/KernalManager
直接用命令行:MKDEVTAPE
- 选择第一项:“CONFIGURESCSITAPEDRIVER”
- 选择第一项:“InstallaScsiTapeDevice”
- 键入SCSI主适配器的字首,选择“h”列出所支持的适配器
- 键入主适配器号
- 如果中断和I/O地址正确,则对“CHANGETHESEPARAMETER?”提示符回答“N”,
如果不正确键入“Y”来修正。
- 键入设备所连接的SCSI总线
- 键入目标ID
- 键入驱动器的逻辑单元号
- 当提示后,更新SCSI配置
- 键入供应商提示串或用默认值
- 键入SCSI版本号,或用默认值
- 键入响应数据格式ResponseDataFormat
- 选择磁带机驱动类型
- 键入新的引导串,或键入“q”采用默认值
- 查看配置检查是否正确。重新连接核心并重新引导所用的磁带驱动器
例:以LH3安装SCO5.0.4为例:
安装磁带机:首先要确认硬件连接正确,在启动机器时,记住系统检测过程中提示的磁带机的SCSIID号(缺省值为3)。进入UNIX系统,在系统维护状态(单用户状态)下配置磁带机,键入命令:mkdevtape屏幕显示:
1.ConfigureaSCSIorEnhancedIDEtapedrive
2.Configureadifferenttypeoftapedrive
Selectanoptionorenterqtoquit:
选择1
屏幕显示:
SCSIorEnhancedIDETapeDriveConfigurationProgram
- InstallaSCSITapeDrive
- InstallanEnhancedIDETapeDrive
- RemoveaSCSITapeDrive
- RemoveanEnhancedIDEtapeDrive
- ChangedefaultTapeDrive
- ViewCurrentSCSIandEnhancedIDETapeDriveconfiguratio
Selectanoptionorenterqtoreturntomainmenu:
选择1
屏幕显示:
EntertheprefixoftheSCSIhostadapterthatsupportthisdeviceorPress<Return>forthedefault:‘amird"Enterhforalistofhostadaptersorenterqtoquit:
输入slha,然后回车
屏幕显示:
Which‘slha"SCSIhostadaptersupportthisdevice?Select0-4,orenterqtoquit:
输入0,回车
屏幕显示:
WhatSCSIBusisthisdeviceattachedto?
Press<Return>tousethedefault:0
Select0-n,orhforhelp,orqtoquit:
输入0,回车
屏幕显示:
WhatistheTargetIDforthisdevice?
Select0-15,orhforhelp,orqtoquit:
键入:3
屏幕显示:
WhatistheLUNofthisdevice?
Press<Return>tousethedefault:0
Select0-7,orhforhelp,orqtoquit:
输入0,回车
屏幕显示:
YouareabouttoaddthefollowingSCSIdevice:
Host
AdapterAdapter
TypeDeviceNumberIDLUNBUS
Aladstp0300
UpdateSCSIconfiguration?(y/n)
键入y
屏幕显示:
TheSCSIconfigurationfilehasbeenupdated.
Updatingsystemconfiguration…
Systemfileshavebeensuccessfullyupdates.
ConfiguringTapeDriver...(Stp)
EnterVendorIdentificationstringorpress<Return>tousedefault
Orenterqtoreturntomainmenu:
键人Enter
屏幕显示:
EnterSCSIversionthatdeviceisconformanttoorpress<Return>tousedefaultorenterqtoreturntomainmenu:
键入Enter
屏幕显示:
EnterResponseDataFormatthatdeviceusesorpress<Return>tousedefaultorenterqtoreturntomainmenu:
键入Enter
屏幕显示:
Thefollowingtapedrivetypesaresupported:
- GenericSCSI-1/SCSI-2Tapedrive
- EXABYTE8mmtapedrive(8200or8500)
- IBMrebadgedEXABYTE8mmtapedrive(8200)
- DATdrive(Compressingandnon-Compressing)
- QICCartridgetapedrive
Pleasechooseoneoftheabove,press<Return>fordefault,orenterqtomainmenu:
键入4
屏幕显示:
TapeDriverSuccessfullyConfigured
Defaultspecialdevicehavebeencreatedwiththefollowinglinks:
/dev/xct0linkedto/dev/xStp0
/dev/rct0linkedto/dev/rStp0and/dev/rmt/0b
/dev/nrct0linkedto/dev/nrStp0and/dev/rmt/0bn
In/etc/default/boot:
Nocurrentbootstring.
EnterNewString,“rm”toremovestring,orenterqtoleavecurrentstringasis:
键入:q,屏幕显示:
SCSIorEnhancedIDETapeDriveConfigurationProgram
1.InstallaSCSITapeDrive
2.InstallanEnhancedIDETapeDrive
3.RemoveaSCSITapeDrive
4.RemoveanEnhancedIDEtapeDrive
5.ChangedefaultTapeDrive
6.ViewCurrentSCSIandEnhancedIDETapeDriveconfiguration
Selectanoptionorenterqtoreturntomainmenu
键入q,屏幕显示:
TapeDriveConfigurationProgram
1.ConfigureaSCSIorEnhancedIDEtapedrive
2.Configureadifferenttypeoftapedrive
Selectanoptionorenterqtoquit:
键入q,屏幕显示:
YoumustcreateanewkerneltoeffectthedrivechangeyouspecifiedDoyouwishtocreateanewkernelnow?(y/n)
键入y,屏幕显示:
Doyouwantthiskerneltobootbydefault?(y/n)
键入y,屏幕显示:
Doyouwantthekernelenvironmentrebuilt?(y/n)
键入y
安装完毕,重新引导系统,即可使用磁带机。
常用的磁带机读写命令
tartvf/dev/rct0
tarcvf/dev/rct0directory_nameorfilename
tarxvf/dev/rct0
cpio–icuvdmB
源代码网供稿. |