Razlika između inačica stranice RAID dokumentacija
Izvor: HrOpenWiki
m |
m |
||
Redak 16: | Redak 16: | ||
Update Time : Sun Jan 18 19:51:45 2009 | Update Time : Sun Jan 18 19:51:45 2009 | ||
− | State : clean, | + | State : clean, degraded |
Active Devices : 1 | Active Devices : 1 | ||
Working Devices : 1 | Working Devices : 1 | ||
Redak 26: | Redak 26: | ||
Number Major Minor RaidDevice State | Number Major Minor RaidDevice State | ||
− | 0 0 0 0 | + | 0 0 0 0 removed |
1 8 0 1 active sync /dev/sda | 1 8 0 1 active sync /dev/sda | ||
</pre> | </pre> |
Inačica od 20:28, 22. studenoga 2009.
Čitanje stanja RAID polja:
mdadm --detail /dev/md0
Degradirano polje (ono koje je izgubilo jedan disk, ali i dalje radi) daje ovakav prikaz:
/dev/md0: Version : 00.90.03 Creation Time : Sun Aug 24 14:25:46 2008 Raid Level : raid1 Array Size : 78150656 (74.53 GiB 80.03 GB) Used Dev Size : 78150656 (74.53 GiB 80.03 GB) Raid Devices : 2 Total Devices : 1 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Sun Jan 18 19:51:45 2009 State : clean, degraded Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0 UUID : c5b0fc1c:e38d099c:f6bbbce7:e581d4d0 (local to host desktop-pc) Events : 0.3322 Number Major Minor RaidDevice State 0 0 0 0 removed 1 8 0 1 active sync /dev/sda
Dodavanje sdb3 particije u mda0 RAID polje:
mdadm --add /dev/md0 /dev/sdb3