【IT168 服务器学院】续上篇:
TheSCSIconfigurationfilehasbeenupdated.
Updatingsystemconfiguration…
Systemfileshavebeensuccessfullyupdates.
ConfiguringTapeDriver...(Stp)
EnterVendorIdentificationstringorpress<Return>tousedefault
Orenterqtoreturntomainmenu:
键人:HPTape
屏幕显示:
EnterSCSIversionthatdeviceisconformanttoorpress<Return>toused
efaultorenterqtoreturntomainmenu:
键入Enter
屏幕显示:
EnterResponseDataFormatthatdeviceusesorpress<Return>tousedefa
ultorenterqtoreturntomainmenu:
键入Enter
屏幕显示:
Thefollowingtapedrivetypesaresupported:
1.GenericSCSI-1/SCSI-2Tapedrive
2.EXABYTE8mmtapedrive(8200or8500)
3.IBMrebadgedEXABYTE8mmtapedrive(8200)
4.DATdrive(Compressingandnon-Compressing)
5.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:
Youmustcreateanewkerneltoeffectthedrivechangeyouspecified
Doyouwishtocreateanewkernelnow?(y/n)
键入y,屏幕显示:
Doyouwantthiskerneltobootbydefault?(y/n)
键入y,屏幕显示:
Doyouwantthekernelenvironmentrebuilt?(y/n)
键入y
安装完毕,重新引导系统,即可使用磁带机。
常用的磁带机读写命令
tartvf/dev/rct0
tarcvf/dev/rct0directory_nameorfilename
tarxvf/dev/rct0
cpio–icuvdmB
30.附加逻辑盘安装
ScoUnix不能自动识别附加逻辑盘,需要手动安装,有以下步骤:
(1)进入UNIX系统,在系统维护状态(单用户装态)下,键入命令
#mkdevhd
(2)屏幕显示
1)AddaharddisktoIDEcontroller
2)AddaharddisktoSCSIcontroller
3)AddaharddisktoIDAcontroller
(3)选择2
(4)屏幕显示:
EntertheprefixoftheSCSIhostadapterthatsupportsthis
DeviceOrpress<Return>forthedefault:‘slha’
Enterhforalistofhostadaptersorenterqtoquit:
输入amird,然后敲Enter
(5)屏幕显示:
Which‘amird’SCSIhostadaptersupportsthisdevice?
Select0-6,orenterqtoquit:
敲0
(6)屏幕显示:
TheHostAdapterparameterswillbeautomaticallyconfigured
WhatSCSIBusisthisdeviceattachedto?
Press<Return>tousethedefault:0
Select0-6,orhforhelp,orqtoquit:
敲0
(7)屏幕显示:
WhatistheTargetIDforthisdevice?
Select0-15,orhforhelp,orqtoquit:
敲0
(8)屏幕显示:
WhatistheLUNofthisdevice?
Press<Return>tousethedefault:0
Select0-7,orhforhelp,orqtoquit:
敲1
(9)屏幕显示:
YouareabouttoaddthefollowingSCSIdevice:
HostAdapterAdapter
TypeDeviceNumberIDLUNBUS
amirdsdsk0010
UpdateSCSIconfiguration?(y/n),键入y
(10)屏幕显示:
TheSCSIconfigurationfilehasbeenupdated.
Anewkernelmustbebuiltandrebootedbeforediskconfigurationcan
continue.Wouldyouliketorelinkatthistime?(y/n)
敲y,系统重新链接内核,并reboot。
(11)因为加一块逻辑盘需要’mkdevhd’两次,所以重复过程(1)-(9),
屏幕显示:Doyouwishtocontinue?(y/n),敲y
(12)屏幕显示:
(1)DisplayPartitionTable.
(2)UseEntireDiskforUnix
(3)UseRestofDiskforUnix
(4)CreateUnixPartition
(5)ActivatePartition
(6)DeletePartition
(7)CreatePartition
Enteryourchoiceorqtoquit:
选择2,此时系统激活第二块逻辑盘
(13)出现(1)PrintCurrentBadTrackTable
(2)ScanDisk
(3)AddEntriestoCurrentBadTablebyCylinder/Headnumber
(4)AddEntriestoCurrentBadTrackTablebysectornumber.
(5)DeleteEntriesIndividuallyfromcurrentBadTrackTable.
Enteryourchoiceorqtoquit.
敲回车。
(14)出现Badtrackshavebeenidentified
Enterthenumberofbadtrackstoallocatespacefor(orpress
<return>tousetherecommendedvalveof19)
敲回车。
(15)出pleaseenterswap-spaceallocation,orpress<return>togetthe
defaultallocationof490001Kblock;
敲回车(这个数值下面可调,它指的是内存的对换区的大小)
(16)出Pleaseenterboot-spaceallocation,orpress<return>togetthedefault
allocationof150001Kblock.
敲回车
(17)出Doyouwishtomakeanymanualadjustmentstothesizesornamesofthefi
lesystemsonswapareabeforetheyarecreateontheharddisk?(Y/N)
敲回车(提示是否要对上面参数进行调整)
(18)屏幕显示:
Doyouwishtomakeanymanualadjustmentstothesizeornameofthe
filesystemsorSwapareabeforetheyarecreateontheharddisk?(y/n)
输入:y并按Enter
(19)屏幕显示:
NameTypeNewFS#FirstBlockLastBlock
RootSwapRootScratchRecoverHd0aEAFSNONFSHTFSNOTUSEDNOTUSEDN
ONFSNONFSWholedisknononononononono01234567020000118000--206
239520643420199991179992062394--206434120643512072352
n[ame]Nameorrenameadivision
c[reate]Createanewfilesystemonthisdivision
t[ype]SelectorChangefilesystemtypeonnewfilesystem
p[revent]Preventanewfilesystemfrombeingcreatedonthis
division
s[tart]Startadivisiononadifferentblock
e[nd]Endadivisiononadifferentblock
r[estore]Restoretheoriginaldivisiontable
Enteryourchoicesorqtoquit:
根据提示按''e''设定分区的结尾的块值。
''n''给相应分区命名。
''r''恢复原分区。
分区划分满意后,按q并回车。
(20)屏幕显示:
I[nstall]InstallthedivisionSetUpshown
R[return]Returnthepreviousmenu
Pleaseenteryourchoice:
按i并回车
(21)屏幕显示:
rootfilesystemislargeenoughthatfsckwillrequireascratch
divisionof936blockstocleanit,Wouldyoulikeascratchdivisionto
beallocatedforyou?(y/n)
敲入y并回车
(22)屏幕显示:
Removethefloppydiskfromthedrive,thenPressanykey
取出软盘,按任意键,退出依系统提示重新链接内核并reboot,第二块逻辑盘就安装成功了。
31.设置显示卡和分辨率
以系统维护状态(单用户装态)下进入UNIX系统,在,键入命令‘scoadmin’,进入管理菜单。
(1)在管理菜单中选择‘VideoConfigurationManager’,进入‘显示设置管理’
(2)选择‘Addadapter’项,在显示卡驱动库中选中‘CirrusLogicGD5446’一项。
(3)用户如果是14’显示器,‘Monitor’选择’other14inch’一项。
(4)Resolution’可以设成‘VGA640*480256color60Hz’。
(5)重新连接内核。重新启动,显示卡设置完成。