欢迎来到天天文库
浏览记录
ID:40754668
大小:30.00 KB
页数:4页
时间:2019-08-07
《Solaris常见提问》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、网上收集了一些solaris的面试题,算是对solaris学习过程的一个总结1.网友bininbinin问:在solaris上换掉一个坏的镜像答:问:如何设置,solaris的网卡如何做到loadbalance答:问:新添加的网卡,如何在solaris主机上识别出来答:问:如何添加网络上面的storage,识别新的网络硬盘?答:问:如何在线扩文件系统答:HowtoreplaceafailedSCSIdiskmirroredwithSolsticeDiskSuite(commandlinemethod)WITH
2、OUTtakingSolarisdown:Thefollowingassumptionshavebeenmadeforthisexampleprocedure:A.Servername=bigserver.company.comB.OS=Solaris7or8C.DiskSuiteversions4.2or4.2.1D.The‘bad’diskishot-swappable.E.Metadevicenumbersandstatedatabasereplicasaretakenfromthoseusedonth
3、eactualsystem.F.Actualcommandlinesyntaxisshowninboldtext.1.Collectoutputfromthefollowing:#metastat#metastat-p#metadb-i2.Toidentifythedisktobereplaced:Examinethe"metadb-i"output.Youshouldseea"W"intheflagsfieldassociatedwithslice7ofthediskexperiencingwriteerr
4、ors.Anotherindicationistolookattheoutputfromthe“format”command.Nexttothedevicenamethetextstring“”willappearindicatingthatthedisklabelcannotbereadandthereforeitisverylikelythatthediskhasfailed.Forthisexample,wewillassumethefaileddiskdevicei
5、sc0t0d0.3.Deleteanymetadevicestatedatabasereplicasthatareonthe'bad'disk:#metadb-dc0t0d0s7#metadb-i(tomakesuretheyhavebeendeleted)4.Stateofthesubmirrors:The“metastat”commandoutputreportsthatallsubmirrorsonthebaddiskareataStateof“Needsmaintenance”.Thisindicat
6、esthatDiskSuitehasautomaticallydisabledthesubmirrors,sothereisnoneedto“metadetach”thesubmirrors.5.Physicallyreplacethefailedhot-swappabledisk.6.Partitionthenewdisk:Easiestwaytodothisistocopythepartitiontablefromtherootmirror(c0t1d0s2)tothenewdisk(c0t0d0s2)w
7、iththefollowingddcommand:#ddif=/dev/rdsk/c0t1d0s2of=/dev/rdsk/c0t0d0s2count=16Verifythepartitiontablewascopiedcorrectlyusingtheformatutility.Type"format",selectthecorrespondingdisknumberfromthediskselectionmenu,thentype"p",then"p"againtoviewthepartitiontabl
8、e.CompareandmakesurethepartitiontablesmatchEXACTLY.7.Recreatethemetadevicestatedatabasereplicasthatweredeletedinstep3fromc0t0d0s7:#metadb-a-f-c3/dev/dsk/c0t0d0s7#metadb-i(verifythecreation)8.Re-enablet
此文档下载收益归作者所有