nas:build_a_linux_nas:create_a_software_raid_array
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nas:build_a_linux_nas:create_a_software_raid_array [2021/09/26 11:48] – peter | nas:build_a_linux_nas:create_a_software_raid_array [2021/09/26 12:00] (current) – [Ensure the RAID Array is reassembled automatically each time the system boots] peter | ||
---|---|---|---|
Line 4: | Line 4: | ||
<code bash> | <code bash> | ||
- | mdadm -E / | + | mdadm --examine |
+ | |||
+ | or | ||
+ | |||
+ | mdadm --examine /dev/sdb1 /dev/sdc1 /dev/sdd1 | ||
</ | </ | ||
Line 36: | Line 40: | ||
* This device represents the RAID 5 of /dev/sdb1, /dev/sdc1 and /dev/sdd1. | * This device represents the RAID 5 of /dev/sdb1, /dev/sdc1 and /dev/sdd1. | ||
* Obviously other RAID types could be used instead. | * Obviously other RAID types could be used instead. | ||
+ | |||
+ | If the following message is seen: **Device or resource busy**, then reboot the OS. | ||
</ | </ | ||
Line 44: | Line 50: | ||
<code bash> | <code bash> | ||
sudo mdadm --detail --scan | sudo tee -a / | sudo mdadm --detail --scan | sudo tee -a / | ||
+ | |||
+ | or | ||
+ | |||
+ | sudo mdadm --detail --scan --verbose | sudo tee -a / | ||
</ | </ | ||
Line 49: | Line 59: | ||
<code bash> | <code bash> | ||
+ | ARRAY /dev/md/0 level=raid5 num-devices=3 metadata=1.2 spares=1 name=xenial: | ||
+ | devices=/ | ||
</ | </ | ||
nas/build_a_linux_nas/create_a_software_raid_array.1632656900.txt.gz · Last modified: 2021/09/26 11:48 by peter