How to Remove an SSD Disk from MooseFS (MFS) Configuration
This guide explains how to safely remove an SSD that was mistakenly added as a data disk in MooseFS by unmounting the MFS directory, editing the mfshdd configuration, restarting the chunkserver, cleaning up fstab entries, and verifying the removal.
This guide explains how to safely remove an SSD that was mistakenly added as a data disk in MooseFS by unmounting the MFS directory, editing the mfshdd configuration, restarting the chunkserver, cleaning up fstab entries, and verifying the removal.
Step 1: Unmount the MFS mount point
# umount /mnt/mfs/Step 2: Edit the mfshdd configuration file
# vim /etc/mfs/mfshdd.cfgComment out or remove the entry that references the SSD to be removed.
Step 3: Restart the MFS chunkserver service
# mfschunkserver restartStep 4: Remove the automatic mount entry from /etc/fstab
# vim /etc/fstabDelete or comment out the line that mounts the SSD.
Step 5: Verify the removal
# mfsmount -H mfsmaster /mnt/mfs/After completing these steps, the SSD is removed from the MooseFS configuration; any further removal of the physical disk can be done with a standard umount command.
DevOps Cloud Academy
Exploring industry DevOps practices and technical expertise.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.