VMware Cloud Community
mrnick1234567
Enthusiast
Enthusiast

XFS datastore over NFS - any tips?

Hey,

We are planning a small VMware deployment with 2 hosts using XFS storage mounted over NFS.

Does anyone have any tips for setting up the XFS filesystem - e.g. block size?

The XFS server is CentOS6 running on a Dell with PERC RAID storage.

Cheers

Nick

Tags (3)
0 Kudos
2 Replies
admin
Immortal
Immortal

Creating an XFS File System

To create an XFS file system, use the mkfs.xfs /dev/device command. In general, the default options are optimal for common use.

When using mkfs.xfs on a block device containing an existing file system, use the -f option to force an overwrite of that file system.

Example 8.1. Output of the mkfs.xfs command

Below is a sample output of the mkfs.xfs command:

meta-data=/dev/device            isize=256    agcount=4, agsize=3277258 blks =                       sectsz=512   attr=2 data     =                       bsize=4096   blocks=13109032, imaxpct=25 =                       sunit=0      swidth=0 blks naming   =version 2              bsize=4096   ascii-ci=0 log      =internal log           bsize=4096   blocks=6400, version=2 =                       sectsz=512   sunit=0 blks, lazy-count=1 realtime =none                   extsz=4096   blocks=0, rtextents=0
0 Kudos
vmroyale
Immortal
Immortal

Note: Discussion successfully moved from VMware ESXi 5 to VMware vSphere™ Storage

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
0 Kudos