之前要的一次故障解决方法,看是否可以帮到你。
环境:RAC for POWER520*2+DS4700
系统:AIX5.3
应用:RAC 10G
故障:
存储显示B控温度传感器故障,Cache电池故障,经排查怀疑为B控制器故障
![%G5FR1[1)]GF.png](/club/attachments/month_1801/1801091712cf836b71f8490c72.png)
更换存储控制器后,存储配置丢失如图:
解决:
1.根据存储提示处理报错
2.根据recoveryProfile.csv文件提取RAID配置,具体方法如下:
解析:
VolumeGroup 行是raid的信息:
Volume 行是lun信息
lun的信息如下:
各行解释如下:
Object type (volume, volume group, etc.)
Volume NAA ID
Volume name
Owning array NAA ID
Block size (typically 512; this might be 4096 on SSD or high-capacity disks with 4k blocks, but I have none of these to test with)
LUN size in bytes
Starting offset; on this LUN the unit appears to be (bytes / 2048) but I can’t figure out why
Segment size in bytes
Two integers/booleans I haven’t identified
recover logicaldrive drives=(85,1 85,2 85,3 85,4 85,5 ) newVolumeGroup="RAID5" userLabel="ORA_SOFT" capacity=26843545600 offset=0 raidLevel=5 segmentSize=128;
recover logicaldrive array="RAID5" userLabel="flash_recovery_area" capacity=16106127360 offset=13107200 raidLevel=5 segmentSize=128 owner=b;
recover logicaldrive array="RAID5" userLabel="gjj_data" capacity=214748364800 offset=20971520 raidLevel=5 segmentSize=128;
recover logicaldrive array="RAID5" userLabel="DA_FILE1" capacity=322122547200 offset=125829120 raidLevel=5 segmentSize=128 owner=b;
recover logicaldrive array="RAID5" userLabel="DA_FILE2" capacity=322122547200 offset=283115520 raidLevel=5 segmentSize=128 owner=b;
recover logicaldrive array="RAID5" userLabel="DA_file3" capacity=53687091200 offset=440401920 raidLevel=5 segmentSize=128;
recover logicaldrive array="RAID5" userLabel="1" capacity=5368709120 offset=466616320 raidLevel=5 segmentSize=128 owner=b;
recover logicaldrive array="RAID5" userLabel="OGG" capacity=75161927680 offset=469237760 raidLevel=5 segmentSize=128;
recover logicaldrive array="RAID5" userLabel="DA_file4" capacity=107374182400 offset=505937920 raidLevel=5 segmentSize=128 owner=b;
RAID5_2 恢复
set storageSubsystem mediaScanRate=disabled;
recover logicaldrive drives=(85,7 85,8 85,9 85,10 85,11 85,12 ) newVolumeGroup="RAID5-2" userLabel= "DA_file5" capacity=322122547200 offset=0 raidLevel=5
segmentSize=128 owner=a;
recover logicaldrive array="RAID5-2" userLabel="DA_file6" capacity=322122547200 offset=125829120 raidLevel=5 segmentSize=128 owner=b;
recover logicaldrive array="RAID5-2" userLabel="DA_file7" capacity=322122547200 offset=251658240 raidLevel=5 segmentSize=128;
recover logicaldrive array="RAID5-2" userLabel="DA_file8" capacity=515396075520 offset=377487360 raidLevel=5 segmentSize=128 owner=b;
注意:drives=(85,1 85,2 85,3 85,4 85,5 )的顺序一定要对,否则LUN的数据有问题。这个顺序recoveryProfile中描述的是不正确的,按storageArrayProfile文件中的顺序。各个array的创建顺序也要按storageArrayProfile来创建。
收起