Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

Creating XFS Partition (Centos Machine)

Install Needful dependency

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

check what you got

fdisk -l

create partition first.

fdisk /dev/sdb/
n
p
1
entre
entre
w

– Write to finalize

format with xfs filesystem which disk you want

mkfs.xfs /dev/sdb

check if you want

fdisk -l

scan disk as it wont be recognized

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

echo "- - -" > /sys/class/scsi_host/host0/scan

format with xfs

mkfs.xfs /dev/sdb1

Check

fdisk -l

make directory

mkdir /data

mount the formated into

mount /dev/sdb1 /data/

This is not enough for permanent mount. 🙂

vi /etc/fstab
/dev/sdb1               /data           xfs     defaults        0 0
mount -a 
fdisk -l
cd /data/
df -T