How To Remove Xfs Filesystem In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Unmount the XFS filesystem.
Run the following command to unmount the XFS filesystem:
# umount <mount-point>
2. Remove the XFS filesystem.
Run the following command to remove the XFS filesystem:
# xfs_admin -U <device-name>
3. Delete the XFS filesystem from the fstab file.
Open the fstab file in a text editor and delete the line that contains the XFS filesystem:
# vi /etc/fstab
4. Reboot the system.
Run the following command to reboot the system:
# reboot