raid:mdadm:check_the_raid_status
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
raid:mdadm:check_the_raid_status [2021/09/13 23:00] – peter | raid:mdadm:check_the_raid_status [2021/09/14 08:41] (current) – peter | ||
---|---|---|---|
Line 9: | Line 9: | ||
<code bash> | <code bash> | ||
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] | Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] | ||
- | md4 : active raid1 sdi3[0] | + | md0 : active raid6 sdf3[0] sdd3[7] sdg3[6] sdh3[5] sdc3[4] sdb3[2] sda3[3] sde3[1] |
- | 23432007232 blocks super 1.0 [1/1] [U] | + | |
- | + | ||
- | md3 : active raid1 sdk3[0] | + | |
- | 23432007232 blocks super 1.0 [1/1] [U] | + | |
- | + | ||
- | md1 : active raid6 sdf3[0] sdd3[7] sdg3[6] sdh3[5] sdc3[4] sdb3[2] sda3[3] sde3[1] | + | |
46824429696 blocks super 1.0 level 6, 64k chunk, algorithm 2 [8/8] [UUUUUUUU] | 46824429696 blocks super 1.0 level 6, 64k chunk, algorithm 2 [8/8] [UUUUUUUU] | ||
bitmap: 21/59 pages [84KB], 65536KB chunk | bitmap: 21/59 pages [84KB], 65536KB chunk | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE:** | ||
+ | |||
+ | * **Personalities**: | ||
+ | * This can be changed by either changing the raid modules or recompiling the kernel. | ||
+ | * Possible personalities include: [raid0] [raid1] [raid4] [raid5] [raid6] [linear] [multipath] [faulty] | ||
+ | * **[faulty]** is a diagnostic personality; | ||
+ | |||
+ | * **md0**: | ||
+ | * **active**: | ||
+ | * An inactive array is usually faulty. Stopped arrays are not visible here. | ||
+ | * **raid6**: | ||
+ | * **sdf3[0]** is device 0. | ||
+ | * **sdd3[7]** is device 7. | ||
+ | * **sdg3[6]** is device 6. | ||
+ | * **sdh3[5]** is device 5. | ||
+ | * **sdc3[4]** is device 4. | ||
+ | * **sdb3[2]** is device 2. | ||
+ | * **sda3[3]** is device 3. | ||
+ | * **sde3[1]** is device 1. | ||
+ | * The order in which the devices appear in this line means nothing. | ||
+ | * **46824429696 blocks**: | ||
+ | * **super 1.0**: | ||
+ | * **level 6**: Confirms this is a level 6 array. | ||
+ | * **64k chunk**: | ||
+ | * This is the size for ' | ||
+ | * The address space of the array is conceptually divided into chunks and consecutive chunks are striped onto neighboring devices. | ||
+ | * **algorithm 2**: Uses algorithm 2. | ||
+ | * **[8/ | ||
+ | * **[UUUUUUUU]**: | ||
+ | * **F**: | ||
+ | * **U**: | ||
+ | * **_**: | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | <code bash> | ||
+ | mdadm --detail /dev/md1 | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | /dev/md1: | ||
+ | Version : 1.0 | ||
+ | Creation Time : Tue Mar 6 17:46:54 2018 | ||
+ | Raid Level : raid6 | ||
+ | Array Size : 46824429696 (44655.26 GiB 47948.22 GB) | ||
+ | Used Dev Size : 7804071616 (7442.54 GiB 7991.37 GB) | ||
+ | Raid Devices : 8 | ||
+ | Total Devices : 8 | ||
+ | Persistence : Superblock is persistent | ||
- | md322 : active raid1 sdc5[7](S) sdd5[6](S) sda5[5](S) sdb5[4](S) sdg5[3](S) sdh5[2](S) sde5[1] sdf5[0] | + | Intent Bitmap |
- | 7235136 blocks super 1.0 [2/2] [UU] | + | |
- | bitmap: 0/1 pages [0KB], 65536KB chunk | + | |
- | md256 : active | + | Update Time : Tue Sep 14 00:02:02 2021 |
- | | + | State : active |
- | | + | Active Devices : 8 |
+ | Working Devices : 8 | ||
+ | | ||
+ | Spare Devices | ||
- | md13 : active raid1 sdd4[38] sdf4[0] sde4[32] sda4[34] sdb4[33] sdc4[35] sdh4[36] sdg4[37] | + | |
- | | + | Chunk Size : 64K |
- | bitmap: 1/1 pages [4KB], 65536KB chunk | + | |
- | md9 : active raid1 sdd1[38] sdf1[0] sde1[32] sda1[34] sdb1[33] sdc1[35] sdh1[36] sdg1[37] | + | |
- | 530048 blocks super 1.0 [32/8] [UUUUUUUU________________________] | + | UUID : 85d45e53: |
- | | + | |
- | unused devices: < | + | Number |
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
</ | </ | ||
+ | ---- | ||
raid/mdadm/check_the_raid_status.1631574009.txt.gz · Last modified: 2021/09/13 23:00 by peter