Move Mail RAID
From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Move the Mail RAID drive from Endeavour back to Gourd
OK, this can be done relatively risk free, but the order of the steps are important.
- Prep the receiving system, in this case Gourd.
- Stop KVM: "systemctl stop libvirtd"
- Make sure /kvm /mail /home exist, and are empty directories.
- Make sure mdadm works (i.e. is installed.)
- Make sure all systems mount from "npghome" and some sysadmin idiot didn't hardwire 10.0.0.100 or another ip. Check /etc/hosts and /etc/fstab
- Take down Einstein and Roentgen. Since they both depend on /mail and /home. (Actually Roentgen is optional, Einstein is not.)
- Unmount /home, /mail from Endeavour. You may need to kill all users who are accessing the drives (not literally! Their process!)
- Move the physical drive from Endeavour to Gourd. Yup, on a running system. It's OK. You need to take the drive out of the caddy and mount it in a Gourd caddy.