您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 销售管理 > Sun-T4-1配置RAID方法
案例设备:SUNT4-1备注:T3,T4系列是一样的案例目标:按照用户需求,4块300GB硬盘做2个RAID1案例解决步骤:一、在OBP下创建卷1.在创建之前要设置auto-boot?为falseoksetenvauto-boot?falseauto-boot?=falseokreset-all2、进入到disk目录okshow-disks........okprobe-scsi-all/pci@400/pci@2/pci@0/pci@f/pci@0/usb@0,2/hub@2/hub@3/storage@2Unit0RemovableReadOnlydeviceAMIVirtualCDROM1.00/pci@400/pci@2/pci@0/pci@4/scsi@0okselect/pci@400/pci@2/pci@0/pci@4/scsi@03、查看是否创建了卷okshow-volumesNovolumestoshow4、使用create命令创建卷show-childrenListsallconnectedphysicaldrivesandlogicalvolumes.show-volumesListsallconnectedlogicalvolumesindetail.create-raid0-volumeCreatesaRAID0volume(minimumtwotargets).create-raid1-volumeCreatesaRAID1volume(exactlytwotargets).create-raid1e-volumeCreatesaRAID1evolume(minimumthreetargets).delete-volumeDeletesaRAIDvolume.activate-volumeRe-activateaRAIDvolumeafterthemotherboardhasbeenreplaced.oka9create-raid1-volume(使用a9两块硬盘做raid1)Volumehasbeencreatedokcbcreate-raid1-volume(使用cb两块硬盘做raid1)Volumehasbeencreated两个卷已经建好5、查看建立的卷okshow-volumesVolume0Target380TypeRAID1(Mirroring)Namevoldisk2WWID0c4550c2e3a2bd1cOptimalEnabledVolumeNotConsistentOperationsPending2Members583983104Blocks,298GBDisk1PrimaryOptimalTargetcHITACHIH106030SDSUN300GA2B0PhyNum1Disk0SecondaryOptimalTargetbHITACHIH106030SDSUN300GA2B0PhyNum3Volume1Target381TypeRAID1(Mirroring)Namevoldisk1WWID0686b54dd6602dc1OptimalEnabledVolumeNotConsistentBackgroundInitInProgress2Members583983104Blocks,298GBDisk3PrimaryOptimalTargetaHITACHIH106030SDSUN300GA2B0PhyNum2Disk2SecondaryOptimalTarget9HITACHIH106030SDSUN300GA2B0PhyNum06、退出设备目录okunselect-dev7、把我们第一步的参数改回来auto-boot?为true,reset系统案例延伸二、在OBP下删除卷1、在创建之前要设置auto-boot?为falsefcode-debug?为trueoksetenvauto-boot?falseauto-boot?=falseokreset-all2、进入到disk目录okshow-disks。。。。。okselect/pci@400/pci@2/pci@0/pci@4/scsi@03、查看建立的卷okshow-volumesVolume0Target380TypeRAID1(Mirroring)Namevoldisk2WWID0c4550c2e3a2bd1cOptimalEnabledVolumeNotConsistentOperationsPending2Members583983104Blocks,298GBDisk1PrimaryOptimalTargetcHITACHIH106030SDSUN300GA2B0PhyNum1Disk0SecondaryOptimalTargetbHITACHIH106030SDSUN300GA2B0PhyNum3Volume1Target381TypeRAID1(Mirroring)Namevoldisk1WWID0686b54dd6602dc1OptimalEnabledVolumeNotConsistentBackgroundInitInProgress2Members583983104Blocks,298GBDisk3PrimaryOptimalTargetaHITACHIH106030SDSUN300GA2B0PhyNum2Disk2SecondaryOptimalTarget9HITACHIH106030SDSUN300GA2B0PhyNum04、删除卷ok0delete-volumeThevolumeanditsdatawillbedeletedAreyousure(yes/no)?[no]yesVolume0hasbeendeleted5、查看是否删除okshow-volumes6、退出设备目录okunselect-dev7、把我们第一步的参数改回来。auto-boot?为true,reset系统三、注意事项1、在创建RAID前,auto-boot?一定要设置成false2、创建RAID卷完成后,需要使用系统盘引导单用户,定义硬盘类型okbootcdrom-s#formatSearchingfordisks...WARNING:/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3c4550c2e3a2bd1c,0(sd5):Corruptlabel;wrongmagicnumberWARNING:/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3c4550c2e3a2bd1c,0(sd5):Corruptlabel;wrongmagicnumberWARNING:/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3686b54dd6602dc1,0(sd6):Corruptlabel;wrongmagicnumberWARNING:/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3686b54dd6602dc1,0(sd6):Corruptlabel;wrongmagicnumberdonec0t3C4550C2E3A2BD1Cd0:configuredwithcapacityof277.99GBc0t3686B54DD6602DC1d0:configuredwithcapacityof277.99GBAVAILABLEDISKSELECTIONS:0.c0t3C4550C2E3A2BD1Cd0LSI-LogicalVolume-3000cyl65533alt2hd64sec139/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3c4550c2e3a2bd1c,01.c0t3686B54DD6602DC1d0LSI-LogicalVolume-3000cyl65533alt2hd64sec139/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3686b54dd6602dc1,0Specifydisk(enteritsnumber):0selectingc0t3C4550C2E3A2BD1Cd0[diskformatted]WARNING:/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3c4550c2e3a2bd1c,0(sd5):Corruptlabel;wrongmagicnumberDisknotlabeled.Labelitnow?yWARNING:/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3c4550c2e3a2bd1c,0(sd5):Corruptlabel;wrongmagicnumberWARNING:/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3c4550c2e3a2bd1c,0(sd5):Corruptlabel;wrongmagicnumberFORMATMENU:disk-selectadisktype-select(define)adisktypepartition-select(define)apartitiontablecurrent-describethecurrentdiskformat-formatandanalyzethediskrepair-repairadefectivesectorlabel-writelabeltothediskanalyze-surfaceanalysisdefect-defectlistmanagementbackup-searchforbackuplabelsverify-readanddisplaylabelssave-savenewdisk/partitiondefinitionsinquiry-showvendor,productandrevisionvolname-set8-charactervolumename!cmd-executecmd,thenreturnquitformattypeAVAILABLEDRIVETYPES:0.Autoconfigure1.QuantumProDrive80S2.QuantumProDrive105S3.CDCWrenIV94171-3444.SUN01045.SUN02076.SUN03277.SUN03408.SUN04249.SUN053510.SUN066911.SUN1.0G12.SUN1.0513.SUN1.3G14.SUN2.1G15.SUN2.9G16.Zip10017.Zip25018.Peerless10GB19.LSI-LogicalVolume-300020.otherSpecifydisktype(enteritsnumber)[19]:0c0t3C4550C2E3A2BD1Cd0:configuredwithcapacityof277.99GBLSI-LogicalVolume-3000cyl65533alt2hd64sec139selectingc0t3C4550C2E3A2BD1Cd0[diskformatted]formatformatdiskAVAILABLEDISKSELECTIONS:0.c0t3C4550C2E3A2BD1Cd0LSI-LogicalVolume-3000cyl65533alt2hd64sec139/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3c4550c2e3a2bd1c,01.c0t36
本文标题:Sun-T4-1配置RAID方法
链接地址:https://www.777doc.com/doc-1852689 .html