Category: Linux

Change File System to XFS

yum install kmod-xfs.x86_64 kmod-xfs-xen.x86_64 xfsdump.x86_64 xfsprogs.x86_64

umount /data

mkfs.xfs -f /dev/sda3

vi /etc/fstab

add xfs

Assign new label
/usr/sbin/xfs_admin -L /data /dev/sda3

mount /data
xfs_check /dev/sda3
df -h

* If changing locked drive, boot into single user mode, Change run level in /etc/inittab to 1



How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.