XFS подготовка ФС


start parted:

# parted -a optimal <device>

Make a GPT partition style and change the units to MiB

(parted) mklabel gpt
(parted) u MiB

Show the size of the disk:

(parted) p

Make an aligned partition, for example if it is 20MB:

(parted) mkpart primary xfs 1 19

We can now format these settings are for GlusterFS use:

mkfs -t xfs <device>

After formatting the drive, we can now mount it:

mount -t xfs -o inode64,noatime,nodiratime <device> <mountpoint>