AIX Workshop for UNIX Administrators_lvm.ppt_第1页
AIX Workshop for UNIX Administrators_lvm.ppt_第2页
AIX Workshop for UNIX Administrators_lvm.ppt_第3页
AIX Workshop for UNIX Administrators_lvm.ppt_第4页
AIX Workshop for UNIX Administrators_lvm.ppt_第5页
免费预览已结束,剩余39页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

AIXWorkshopforUNIXAdministrators LogicalVolumeManagement ComponentsofAIXStorage FilesDirectoriesFileSystemsLogicalStoragePhysicalStorageLogicalVolumeManager Quorum AIXCert Sys Admin Section6 2 2 VGDA VolumeGroupDescriptionAreaVGdefinationinformation veryimportantcontainsinfoaboutthevolumegroup thelogicalvolumesthatinsideonthevolumegroup andthedisksthatmakeupthevgEachmemberdiskhasatleastonecopy1diskVG 2VGDAsresideonthesamedisk2diskVG 3VGDAs onediskhas2copies anotherhave1copy3diskVG 3VGDAs eachdiskhas1copyAndsoon Youneedatleast51 VGDAtogettheVGonlinewhenquorumisswithedon thedefault Quorum cont VolumeGroup VGDA s VGDA s VGDA s VGDA s Loosedisk badluck Loosedisk 66 VGDAmissing badluck Loosedisk 33 VGDAmissing OK Looseany1disk OK AIXCert Sys Admin Section6 2 2 QuorumonORoff YoushouldconsideruseQuorumornot NormallyturnoffformirroredVGs thatmakesevenhalfofthedisksfailed theVGisstillonline AllmemberdiskmustaccessabletovaryonvgToswitchoffquorumchvg Qnvgname AIXCert Sys Admin Section6 5 VGSA volumeGroupStatusArea VGSA comprisedof127bytes whereeachbitrepresentsoneofthe1016 127x8 physicalpartitions pp thatresideoneachdiskusedinmirrioringasabit masktodeterminewhichPPshavebecomestale VolumeGrouplimits Normalvolumegroups mkvg Numberofdisks Max numberofpartitons disk 1 32512 2 16256 4 8128 8 4064 16 2032 32 1016 mkvg s2 t2 ydatavghdisk2 VolumeGrouplimits Bigvolumegroups mkvg B Numberofdisks Max numberofpartitons disk 1 2 4 130048 8 65024 16 32512 32 16256 64 8128 128 4064 2032 1016 LimitationofLVM LogicalVolumeManager LVMPartofAIXnofeenotoptionalactuallyverygoodManagesdisksandtheirattributesbycommandsthroughdatabaseofconfigurationthroughdevicedriversfeatureslikemirroring RAID allocation AIXCert Sys Admin Section6 WorkingwithLogicalVolumeManager rootvg RootVolumeGroup rootvgCreatedautomaticallywhileinstallingAIXPlacedwithinthisVGAIXfilesInitialpagingandotherLVsUsuallyonlythefirstdiskOrtwotoallowmirroringofrootvgOfteninternaldisksRecommendKeeptoasmallnumberofdisks seemksysblater volumegrouprootvg volumegroupB OtherVG OtherVolumeGroupsOtherVGcreatedbytheSystemAdmin NametypicallyrelatedtotheiruseOptionallyendingin vg VGhasoneormoredisksCanlateraddadisktoaVGCanremovediskfromVG ifempty volumegrouprootvg volumegroupB LVMExample DisowndisksreadytoconnectthemtoanothersystemvaryoffvgexportvgorsmittylvmActivatenewlyattacheddiskscfgmgr findsdisksimportvghdiskN anyoneofthedisksvaryonvg mountsfilesystems VolumeGroups PhysicalVolume LogicalVolume AIXCert Sys Admin Section6 4 LVMHow HowdoestheLVMwork UsesalittledatabaseoffactsaboutallknowdisksaboutcurrentlyconnecteddiskscalledtheODMPlusheaderinformationvolumegroupheadersphysicaldiskheaderlogicalvolumeheaderthisallowsexportvg importvg VolumeGroups PhysicalVolume LogicalVolume AIXCert Sys Admin Section5and6 1 LVMFeatures Striping LogicalVolumesstripingExcellentforI OperformanceIntroducetheriskfordatalostRecommend32K 64Kor128Kstripewidth 4to16timesI Osizemostdatabasesdo4Kor8KI O Striping Mirroring Yes youcancombineStripingandMirroringtogetherbyAIX4 3 3ProvidehighperformanceandhighavailabilityTradeoff eatCPUtimedifficulttoconfigdifficultformaintenanceUseH WRAID0 1instead e g 4 PSSAcard AddaLogicalVolumeLogicalvolumeNAME scratch VOLUMEGROUPnametestvg NumberofLOGICALPARTITIONS 64 PHYSICALVOLUMEnames hdisk1hdisk2hdisk3 LogicalvolumeTYPE jfs POSITIONonphysicalvolumemiddle RANGEofphysicalvolumesminimum MAXIMUMNUMBERofPHYSICALVOLUMES touseforallocationNumberofCOPIESofeachlogical2 partitionMirrorWriteConsistency yes Allocateeachlogicalpartitioncopyyes onaSEPARATEphysicalvolume RELOCATEthelogicalvolumeduringyes reorganization LogicalvolumeLABEL MAXIMUMNUMBERofLOGICALPARTITIONS 512 EnableBADBLOCKrelocation yes SCHEDULINGPOLICYforreading writingparallel logicalpartitioncopiesEnableWRITEVERIFY no FilecontainingALLOCATIONMAP StripeSize 64K CreateLV SMITpanel PTO YES Leaveothersastheirdefaults BasicDetails LVMCommand example1 FindunuseddiskslspvAddthemtoaVGorcreateaVGsmittylvm VG AddVGCheckunusedspaceinVGlsvgCreateaLVsmittylvm LV AddLVCreateaFilesystem JFS smittyjfs Addjfs standard whichVG VolumeGroups PhysicalVolume LogicalVolume LVMCommands example2 MovingLVsmigratepv truefornotstripedLVs migratepv llv02hdisk0hdisk6UsesmitlvmCanmigrateLVonadisktoanotherdiskCanemptywholedisk thenremoveit forsuspectdisks Cann tcrossVGboundaryDiskscanbeaddedandremovedfromaVGextendvgandreducevgUsesmitlvmisrecommended VolumeGroups PhysicalVolume LogicalVolume AIXCert Sys Admin Section6 3 5 6and6 4 2 3 LVMcommands example3 reorgvgthiswillmovephysicalpartitions PP aroundinanattempttogetPPsintherightplace VolumeGroups PhysicalVolume LogicalVolume LVMrootvggoodpractice Smallrootvg 1or2disks formksysbbackup MirrorrootvgforAIXdiskprotectionAdddiskhdisk1chvg QnrootvgForhd1tohd8andhd9varcopytheLVmklvcopyhd 1 2 3 4 5 6 7 8 9var 2hdisk1syncvg vrootvgbosboot ad dev hdisk bootlist mnormalhdisk0hdisk1Ormirrorvg srootvgorumirrorvgrootvghdisk1 VolumeGroups PhysicalVolume LogicalVolume LV2 LV1 LV2 LV1 AIXViewpointonSSARAID5disks SSAdiskscanbeusedJBODorRAID5andchangedlater LVMsoftwarewithinAIX DeviceDriver Adapter LV2 LV1 LV2 LV1 LV2 LV1 LV2 LV1 LV2 LV1 LV2 LV1 LV2 LV1 pdisk1 pdisk4 pdisk3 pdisk2 pdisk5 pdisk8 pdisk7 pdisk6 hdisk6 hdisk9 hdisk8 hdisk7 hdisk22 SSARAID5 UsesSSARAID5diskadapterLimit RAID5ondisksonsameloopononeadapterSequenceSetdiskaspossibleRAIDdisksCreateRAIDdiskfromtheseNowmultiplediskslooklikeonebigdisktoAIXUseasnormalPVConventionally 3 Por7 P SSADiskIdentification DifficulttoworkoutwhichdisksiswhichUse smittydevicesSSADisksSSALogicalDisksIdentifyanSSAdiskChooseadisksFlashdiskidentificationlightShowLogicaltoPhysicalSSADiskRelationshiphdiskX p

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论