Operations 2 min read

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.

DevOps Cloud Academy
DevOps Cloud Academy
DevOps Cloud Academy
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.

Step 1: Unmount the MFS mount point

# umount /mnt/mfs/

Step 2: Edit the mfshdd configuration file

# vim /etc/mfs/mfshdd.cfg

Comment out or remove the entry that references the SSD to be removed.

Step 3: Restart the MFS chunkserver service

# mfschunkserver restart

Step 4: Remove the automatic mount entry from /etc/fstab

# vim /etc/fstab

Delete 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.

configurationLinuxstorageSystem AdministrationSSDMooseFSUnmount
DevOps Cloud Academy
Written by

DevOps Cloud Academy

Exploring industry DevOps practices and technical expertise.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.