2012-10-22

Linux下如何觀看partition的Raid level!

Linux下如何觀看partition的Raid level!


方法一:

# cat /proc/mdstat
----------------------------------------------------

Personalities : [raid6] [raid5] [raid4]
md0 : active raid6 sdi[7] sdh[6] sdg[5] sdf[4] sde[3] sdd[2] sdc[1] sdb[0]
11721086976 blocks level 6, 64k chunk, algorithm 2 [8/8] [UUUUUUUU]

unused devices: <none>

----------------------------------------------------



方法二:
 
# mdadm --detail /dev/md0

----------------------------------------------------

/dev/md0:
Version : 0.90
Creation Time : Thu Mar 1 16:02:23 2012
Raid Level : raid6
Array Size : 11721086976 (11178.10 GiB 12002.39 GB)
Used Dev Size : 1953514496 (1863.02 GiB 2000.40 GB)
Raid Devices : 8
Total Devices : 8
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Sat Mar 3 14:55:36 2012
State : active
Active Devices : 8
Working Devices : 8
Failed Devices : 0
Spare Devices : 0

Chunk Size : 64K

UUID : e284e7b9:99c901d0:f70f6018:f966ca9f
Events : 0.3

Number Major Minor RaidDevice State
0 8 16 0 active sync /dev/sdb
1 8 32 1 active sync /dev/sdc
2 8 48 2 active sync /dev/sdd
3 8 64 3 active sync /dev/sde
4 8 80 4 active sync /dev/sdf
5 8 96 5 active sync /dev/sdg
6 8 112 6 active sync /dev/sdh
7 8 128 7 active sync /dev/sdi

----------------------------------------------------

沒有留言:

張貼留言