Unmount RAID Disk using Mdadm
Once you're done with the RAID partitions and closed all the upper partition layers for stopping RAID mounting. This section guides you on how to unmount RAID disks using mdadm.
Unmount all Upper Partition Schemes
Unmount all Upper Partition Schemes
Before you stop the RAID disk, you must unmount and disconnect any upper layer partition scheme. Otherwise, the effect can be catastrophic if mdadm fails to stop you from dangerous unmount.
Stopping RAID Disk
Stopping RAID Disk
Once done, you may stop the disk by the command against the RAID disk partition devices such as:
$ mdadm --stop /dev/md<raidID>
One example would be:
$ mdadm --stop /dev/md127
OR:
$ mdadm --stop /dev/md/m9
That's all for stopping RAID Disk.