This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
managing_linux_software_raid [2008/08/27 10:07] adam |
managing_linux_software_raid [2016/11/25 22:38] (current) |
||
|---|---|---|---|
| Line 19: | Line 19: | ||
| Viewing the status of the array (the one shown here is repairing): | Viewing the status of the array (the one shown here is repairing): | ||
| - | [root@host ~]# cat / | + | |
| - | Personalities : [raid1] | + | Personalities : [raid1] |
| - | md1 : active raid1 sdc1[2] sdd1[1] | + | md1 : active raid1 sdc1[2] sdd1[1] |
| - | 142327744 blocks [2/1] [_U] | + | 142327744 blocks [2/1] [_U] |
| - | [==========> | + | [==========> |
| - | md0 : active raid1 sdb1[1] sda1[0] | + | md0 : active raid1 sdb1[1] sda1[0] |
| - | 142327744 blocks [2/2] [UU] | + | 142327744 blocks [2/2] [UU] |
| - | + | ||
| - | unused devices: < | + | unused devices: < |
| Showing status detail for a particular array: | Showing status detail for a particular array: | ||
| - | [root@jet ~]# mdadm --detail /dev/md1 | + | [root@host ~]# mdadm --detail /dev/md1 |
| - | /dev/md1: | + | /dev/md1: |
| - | Version : 00.90.01 | + | Version : 00.90.01 |
| - | Creation Time : Sat Jan 13 08:24:54 2007 | + | Creation Time : Mon Sep 8 09:27:41 2008 |
| - | | + | |
| - | | + | |
| - | Device Size : 142327744 (135.73 GiB 145.74 GB) | + | Device Size : 142327744 (135.73 GiB 145.74 GB) |
| - | | + | |
| - | Total Devices : 2 | + | Total Devices : 2 |
| - | Preferred Minor : 1 | + | Preferred Minor : 1 |
| - | Persistence : Superblock is persistent | + | Persistence : Superblock is persistent |
| - | + | ||
| - | Update Time : Wed Aug 27 09:10:48 2008 | + | Update Time : Fri Sep 12 12:07:18 2008 |
| - | State : clean, degraded, recovering | + | State : clean |
| - | | + | |
| - | Working Devices : 2 | + | Working Devices : 2 |
| - | | + | |
| - | Spare Devices : 1 | + | Spare Devices : 0 |
| - | + | ||
| - | + | ||
| - | Rebuild Status : 55% complete | + | Number |
| - | + | | |
| - | | + | 1 8 49 1 active sync /dev/sdd1 |
| - | | + | |
| - | | + | |
| - | 2 8 33 0 spare /dev/sdc1 | + | |
| - | | + | |
| - | | + | |
| + | View the Detail of a Particular Disk in an Array: | ||
| + | [root@host ~]# mdadm --examine /dev/sdd1 | ||
| + | /dev/sdd1: | ||
| + | Magic : a92b4efc | ||
| + | Version : 00.90.00 | ||
| + | UUID : 4f4ab348: | ||
| + | Creation Time : Mon Sep 8 09:27:41 2008 | ||
| + | Raid Level : raid1 | ||
| + | Device Size : 142327744 (135.73 GiB 145.74 GB) | ||
| + | Raid Devices : 2 | ||
| + | Total Devices : 2 | ||
| + | Preferred Minor : 1 | ||
| + | | ||
| + | Update Time : Fri Sep 12 12:05:33 2008 | ||
| + | State : clean | ||
| + | | ||
| + | Working Devices : 2 | ||
| + | | ||
| + | Spare Devices : 0 | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | Number | ||
| + | this | ||
| + | | ||
| + | | ||
| ==== Other Articles on Linux Software RAID ==== | ==== Other Articles on Linux Software RAID ==== | ||