dmraid

dmraid

Created 週二 21 十二月 2010

root@T-68:/etc# dmraid -v -d -l INFO: supported metadata formats: asr : Adaptec HostRAID ASR (0,1,10) ddf1 : SNIA DDF1 (0,1,4,5,linear) hpt37x : Highpoint HPT37X (S,0,1,10,01) hpt45x : Highpoint HPT45X (S,0,1,10) isw : Intel Software RAID (0,1,5,01) jmicron : JMicron ATARAID (S,0,1) lsi : LSI Logic MegaRAID (0,1,10) nvidia : NVidia RAID (S,0,1,10,5) pdc : Promise FastTrack (S,0,1,10) sil : Silicon Image(tm) Medley(tm) (0,1,10) via : VIA Software RAID (S,0,1,10) dos : DOS partitions on SW RAIDs root@T-68:/etc# man dmraid root@T-68:/etc# dmraid -n /dev/sdc (isw): 0x000 sig: " Intel Raid ISM Cfg Sig. 1.0.00" 0x020 check_sum: 3103144738 0x024 mpb_size: 480 0x028 family_num: 1686781110 0x02c generation_num: 29 0x030 error_log_size: 0 0x034 attributes: 2147483648 0x038 num_disks: 2 0x039 num_raid_devs: 1 0x03a error_log_pos: 0 0x03c cache_size: 0 0x040 orig_family_num: 1686781110 0x044 power_cycle_count: 0 0x048 bbm_log_size: 0 0x0d8 disk[0].serial: " 5VP41FP5" 0x0e8 disk[0].totalBlocks: 1953525168 0x0ec disk[0].scsiId: 0x20000 0x0f0 disk[0].status: 0x13a 0x0f4 disk[0].owner_cfg_num: 0x0 0x108 disk[1].serial: " 5VP3P2F4" 0x118 disk[1].totalBlocks: 1953525168 0x11c disk[1].scsiId: 0x60000 0x120 disk[1].status: 0x13a 0x124 disk[1].owner_cfg_num: 0x0 0x138 isw_dev[0].volume: " vmware" 0x14c isw_dev[0].SizeHigh: 0 0x148 isw_dev[0].SizeLow: 3907039232 0x150 isw_dev[0].status: 0xc 0x154 isw_dev[0].reserved_blocks: 0 0x158 isw_dev[0].migr_priority: 0 0x159 isw_dev[0].num_sub_vol: 0 0x15a isw_dev[0].tid: 0 0x15b isw_dev[0].cng_master_disk: 0 0x15c isw_dev[0].cache_policy: 0 0x15e isw_dev[0].cng_state: 0 0x15f isw_dev[0].cng_sub_state: 0 0x188 isw_dev[0].vol.curr_migr_unit: 0 0x18c isw_dev[0].vol.check_point_id: 0 0x190 isw_dev[0].vol.migr_state: 0 0x191 isw_dev[0].vol.migr_type: 0 0x192 isw_dev[0].vol.dirty: 0 0x193 isw_dev[0].vol.fs_state: 0 0x194 isw_dev[0].vol.verify_errors: 0 0x196 isw_dev[0].vol.verify_bad_blocks: 0 0x1a8 isw_dev[0].vol.map[0].pba_of_lba0: 0 0x1ac isw_dev[0].vol.map[0].blocks_per_member: 1953519880 0x1b0 isw_dev[0].vol.map[0].num_data_stripes: 7630936 0x1b4 isw_dev[0].vol.map[0].blocks_per_strip: 256 0x1b6 isw_dev[0].vol.map[0].map_state: 0 0x1b7 isw_dev[0].vol.map[0].raid_level: 0 0x1b8 isw_dev[0].vol.map[0].num_members: 2 0x1b9 isw_dev[0].vol.map[0].num_domains: 1 0x1ba isw_dev[0].vol.map[0].failed_disk_num: 255 0x1bb isw_dev[0].vol.map[0].ddf: 1 0x1d8 isw_dev[0].vol.map[0].disk_ord_tbl[0]: 0x0 0x1dc isw_dev[0].vol.map[0].disk_ord_tbl[1]: 0x1

/dev/sdb (isw): 0x000 sig: " Intel Raid ISM Cfg Sig. 1.0.00" 0x020 check_sum: 3103144738 0x024 mpb_size: 480 0x028 family_num: 1686781110 0x02c generation_num: 29 0x030 error_log_size: 0 0x034 attributes: 2147483648 0x038 num_disks: 2 0x039 num_raid_devs: 1 0x03a error_log_pos: 0 0x03c cache_size: 0 0x040 orig_family_num: 1686781110 0x044 power_cycle_count: 0 0x048 bbm_log_size: 0 0x0d8 disk[0].serial: " 5VP41FP5" 0x0e8 disk[0].totalBlocks: 1953525168 0x0ec disk[0].scsiId: 0x30000 0x0f0 disk[0].status: 0x13a 0x0f4 disk[0].owner_cfg_num: 0x0 0x108 disk[1].serial: " 5VP3P2F4" 0x118 disk[1].totalBlocks: 1953525168 0x11c disk[1].scsiId: 0x50000 0x120 disk[1].status: 0x13a 0x124 disk[1].owner_cfg_num: 0x0 0x138 isw_dev[0].volume: " vmware" 0x14c isw_dev[0].SizeHigh: 0 0x148 isw_dev[0].SizeLow: 3907039232 0x150 isw_dev[0].status: 0xc 0x154 isw_dev[0].reserved_blocks: 0 0x158 isw_dev[0].migr_priority: 0 0x159 isw_dev[0].num_sub_vol: 0 0x15a isw_dev[0].tid: 0 0x15b isw_dev[0].cng_master_disk: 0 0x15c isw_dev[0].cache_policy: 0 0x15e isw_dev[0].cng_state: 0 0x15f isw_dev[0].cng_sub_state: 0 0x188 isw_dev[0].vol.curr_migr_unit: 0 0x18c isw_dev[0].vol.check_point_id: 0 0x190 isw_dev[0].vol.migr_state: 0 0x191 isw_dev[0].vol.migr_type: 0 0x192 isw_dev[0].vol.dirty: 0 0x193 isw_dev[0].vol.fs_state: 0 0x194 isw_dev[0].vol.verify_errors: 0 0x196 isw_dev[0].vol.verify_bad_blocks: 0 0x1a8 isw_dev[0].vol.map[0].pba_of_lba0: 0 0x1ac isw_dev[0].vol.map[0].blocks_per_member: 1953519880 0x1b0 isw_dev[0].vol.map[0].num_data_stripes: 7630936 0x1b4 isw_dev[0].vol.map[0].blocks_per_strip: 256 0x1b6 isw_dev[0].vol.map[0].map_state: 0 0x1b7 isw_dev[0].vol.map[0].raid_level: 0 0x1b8 isw_dev[0].vol.map[0].num_members: 2 0x1b9 isw_dev[0].vol.map[0].num_domains: 1 0x1ba isw_dev[0].vol.map[0].failed_disk_num: 255 0x1bb isw_dev[0].vol.map[0].ddf: 1 0x1d8 isw_dev[0].vol.map[0].disk_ord_tbl[0]: 0x0 0x1dc isw_dev[0].vol.map[0].disk_ord_tbl[1]: 0x1

root@T-68:/etc# dmraid -n -v INFO: RAID devices discovered:

/dev/sdc (isw): 0x000 sig: " Intel Raid ISM Cfg Sig. 1.0.00" 0x020 check_sum: 3103144738 0x024 mpb_size: 480 0x028 family_num: 1686781110 0x02c generation_num: 29 0x030 error_log_size: 0 0x034 attributes: 2147483648 0x038 num_disks: 2 0x039 num_raid_devs: 1 0x03a error_log_pos: 0 0x03c cache_size: 0 0x040 orig_family_num: 1686781110 0x044 power_cycle_count: 0 0x048 bbm_log_size: 0 0x0d8 disk[0].serial: " 5VP41FP5" 0x0e8 disk[0].totalBlocks: 1953525168 0x0ec disk[0].scsiId: 0x20000 0x0f0 disk[0].status: 0x13a 0x0f4 disk[0].owner_cfg_num: 0x0 0x108 disk[1].serial: " 5VP3P2F4" 0x118 disk[1].totalBlocks: 1953525168 0x11c disk[1].scsiId: 0x60000 0x120 disk[1].status: 0x13a 0x124 disk[1].owner_cfg_num: 0x0 0x138 isw_dev[0].volume: " vmware" 0x14c isw_dev[0].SizeHigh: 0 0x148 isw_dev[0].SizeLow: 3907039232 0x150 isw_dev[0].status: 0xc 0x154 isw_dev[0].reserved_blocks: 0 0x158 isw_dev[0].migr_priority: 0 0x159 isw_dev[0].num_sub_vol: 0 0x15a isw_dev[0].tid: 0 0x15b isw_dev[0].cng_master_disk: 0 0x15c isw_dev[0].cache_policy: 0 0x15e isw_dev[0].cng_state: 0 0x15f isw_dev[0].cng_sub_state: 0 0x188 isw_dev[0].vol.curr_migr_unit: 0 0x18c isw_dev[0].vol.check_point_id: 0 0x190 isw_dev[0].vol.migr_state: 0 0x191 isw_dev[0].vol.migr_type: 0 0x192 isw_dev[0].vol.dirty: 0 0x193 isw_dev[0].vol.fs_state: 0 0x194 isw_dev[0].vol.verify_errors: 0 0x196 isw_dev[0].vol.verify_bad_blocks: 0 0x1a8 isw_dev[0].vol.map[0].pba_of_lba0: 0 0x1ac isw_dev[0].vol.map[0].blocks_per_member: 1953519880 0x1b0 isw_dev[0].vol.map[0].num_data_stripes: 7630936 0x1b4 isw_dev[0].vol.map[0].blocks_per_strip: 256 0x1b6 isw_dev[0].vol.map[0].map_state: 0 0x1b7 isw_dev[0].vol.map[0].raid_level: 0 0x1b8 isw_dev[0].vol.map[0].num_members: 2 0x1b9 isw_dev[0].vol.map[0].num_domains: 1 0x1ba isw_dev[0].vol.map[0].failed_disk_num: 255 0x1bb isw_dev[0].vol.map[0].ddf: 1 0x1d8 isw_dev[0].vol.map[0].disk_ord_tbl[0]: 0x0 0x1dc isw_dev[0].vol.map[0].disk_ord_tbl[1]: 0x1

/dev/sdb (isw): 0x000 sig: " Intel Raid ISM Cfg Sig. 1.0.00" 0x020 check_sum: 3103144738 0x024 mpb_size: 480 0x028 family_num: 1686781110 0x02c generation_num: 29 0x030 error_log_size: 0 0x034 attributes: 2147483648 0x038 num_disks: 2 0x039 num_raid_devs: 1 0x03a error_log_pos: 0 0x03c cache_size: 0 0x040 orig_family_num: 1686781110 0x044 power_cycle_count: 0 0x048 bbm_log_size: 0 0x0d8 disk[0].serial: " 5VP41FP5" 0x0e8 disk[0].totalBlocks: 1953525168 0x0ec disk[0].scsiId: 0x30000 0x0f0 disk[0].status: 0x13a 0x0f4 disk[0].owner_cfg_num: 0x0 0x108 disk[1].serial: " 5VP3P2F4" 0x118 disk[1].totalBlocks: 1953525168 0x11c disk[1].scsiId: 0x50000 0x120 disk[1].status: 0x13a 0x124 disk[1].owner_cfg_num: 0x0 0x138 isw_dev[0].volume: " vmware" 0x14c isw_dev[0].SizeHigh: 0 0x148 isw_dev[0].SizeLow: 3907039232 0x150 isw_dev[0].status: 0xc 0x154 isw_dev[0].reserved_blocks: 0 0x158 isw_dev[0].migr_priority: 0 0x159 isw_dev[0].num_sub_vol: 0 0x15a isw_dev[0].tid: 0 0x15b isw_dev[0].cng_master_disk: 0 0x15c isw_dev[0].cache_policy: 0 0x15e isw_dev[0].cng_state: 0 0x15f isw_dev[0].cng_sub_state: 0 0x188 isw_dev[0].vol.curr_migr_unit: 0 0x18c isw_dev[0].vol.check_point_id: 0 0x190 isw_dev[0].vol.migr_state: 0 0x191 isw_dev[0].vol.migr_type: 0 0x192 isw_dev[0].vol.dirty: 0 0x193 isw_dev[0].vol.fs_state: 0 0x194 isw_dev[0].vol.verify_errors: 0 0x196 isw_dev[0].vol.verify_bad_blocks: 0 0x1a8 isw_dev[0].vol.map[0].pba_of_lba0: 0 0x1ac isw_dev[0].vol.map[0].blocks_per_member: 1953519880 0x1b0 isw_dev[0].vol.map[0].num_data_stripes: 7630936 0x1b4 isw_dev[0].vol.map[0].blocks_per_strip: 256 0x1b6 isw_dev[0].vol.map[0].map_state: 0 0x1b7 isw_dev[0].vol.map[0].raid_level: 0 0x1b8 isw_dev[0].vol.map[0].num_members: 2 0x1b9 isw_dev[0].vol.map[0].num_domains: 1 0x1ba isw_dev[0].vol.map[0].failed_disk_num: 255 0x1bb isw_dev[0].vol.map[0].ddf: 1 0x1d8 isw_dev[0].vol.map[0].disk_ord_tbl[0]: 0x0 0x1dc isw_dev[0].vol.map[0].disk_ord_tbl[1]: 0x1

root@T-68:/etc# dmraid -b /dev/sdb /dev/sdb: 1953525168 total, "5VP41FP5" root@T-68:/etc# dmraid -b /dev/sdc /dev/sdc: 1953525168 total, "5VP3P2F4" root@T-68:/etc# old convert log: ./dmraid/tag%3E%20zzarchive)

Comments