Stop being the product.
Become the owner.
or
sign uplog in

Step 1: Mount the RAID It's like plugging in a new hard…

Step 1: Mount the RAID
It's like plugging in a new hard drive. We create a folder where the RAID will be accessible, then we “mount” it:
bash
sudo mkdir /mnt/raid1
sudo mount /dev/md0 /mnt/raid1 

After that, you can use /mnt/raid1 like a normal disk (copy, paste, save files). 
Step 2: Replace a disk
If a disk fails, we remove it and put in a new one. Here are the commands:
bash
sudo mdadm --fail /dev/md0 /dev/sdb # say the disk is broken
sudo mdadm --remove /dev/md0 /dev/sdb # remove HS disk
sudo mdadm --add /dev/md0 /dev/sdd # add the new disk

The RAID rebuilds itself with the new disk.
Step 3: Monitoring
To check that everything is okay:
bash
sudo mdadm --detail /dev/md0 

You can also configure email alerts to be notified if a drive fails.
In summary:
Mount RAID = create a folder and use it as a disk.
Replace a disk = remove the failed disk and add a new one.
RAID monitoring = regularly check status and receive alerts.
loved
1
earnings
32,000 mlx total
$0  total
engagement
58 views
1 reactions

0 comments