Solaris常见提问

Solaris常见提问

ID:40754668

大小:30.00 KB

页数:4页

时间:2019-08-07

Solaris常见提问_第1页
Solaris常见提问_第2页
Solaris常见提问_第3页
Solaris常见提问_第4页
资源描述:

《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

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。