Version 1 (modified by mitty, 14 years ago) (diff) |
---|
RAID1
sample RAID1 device
- see wiki:TipAndDoc/HA/NFS#mdadm for how to make device
- mitty@ubuntu-haa:~$ sudo mdadm -D /dev/md0
/dev/md0: Version : 00.90 Creation Time : Thu Mar 24 17:31:36 2011 Raid Level : raid1 Array Size : 2047936 (2000.27 MiB 2097.09 MB) Used Dev Size : 2047936 (2000.27 MiB 2097.09 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Thu Mar 24 21:25:32 2011 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 32578407:6f33f50b:893cf340:745f5dce (local to host ubuntu-haa) Events : 0.34 Number Major Minor RaidDevice State 0 8 17 0 active sync /dev/sdb1 1 8 33 1 active sync /dev/sdc1
- mitty@ubuntu-haa:~$ sudo mdadm --stop /dev/md0
mdadm: stopped /dev/md0
- mitty@ubuntu-haa:~$ sudo mdadm -E /dev/sd[bc]1
/dev/sdb1: Magic : a92b4efc Version : 00.90.00 UUID : 32578407:6f33f50b:893cf340:745f5dce (local to host ubuntu-haa) Creation Time : Thu Mar 24 17:31:36 2011 Raid Level : raid1 Used Dev Size : 2047936 (2000.27 MiB 2097.09 MB) Array Size : 2047936 (2000.27 MiB 2097.09 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Update Time : Thu Mar 24 21:25:32 2011 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Checksum : e3889399 - correct Events : 34 Number Major Minor RaidDevice State this 0 8 17 0 active sync /dev/sdb1 0 0 8 17 0 active sync /dev/sdb1 1 1 8 33 1 active sync /dev/sdc1 /dev/sdc1: Magic : a92b4efc Version : 00.90.00 UUID : 32578407:6f33f50b:893cf340:745f5dce (local to host ubuntu-haa) Creation Time : Thu Mar 24 17:31:36 2011 Raid Level : raid1 Used Dev Size : 2047936 (2000.27 MiB 2097.09 MB) Array Size : 2047936 (2000.27 MiB 2097.09 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Update Time : Thu Mar 24 21:25:32 2011 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Checksum : e38893ab - correct Events : 34 Number Major Minor RaidDevice State this 1 8 33 1 active sync /dev/sdc1 0 0 8 17 0 active sync /dev/sdb1 1 1 8 33 1 active sync /dev/sdc1