RAID dokumentacija
Izvor: HrOpenWiki
|
Čitanje stanja RAID polja:
mdadm --detail /dev/md0
Degardirano polje 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