A.5. xfs and dfc configuration, Xfs and dfc configuration – Dell POWEREDGE R720XD User Manual

Page 33

Advertising
background image

Improving NFS Performance on HPC Clusters with Dell Fluid Cache for DAS

33

Stripe Element Size : 512 KB

Disk Cache Policy : Disabled

A.5. XFS and DFC configuration

In this final step of the configuration on the server, the XFS file system is created, DFC is configured,
and the storage exported to the I/O clients via NFS.

1. Create the XFS file system on the RAID 60 virtual disk attached to the PERC H810 adapter. Note the

stripe unit (su) and stripe width (sw). The stripe unit is the stripe element size that was used to
format the virtual disk in step 3, Section A.4. The stripe width is the number of data drives in the
virtual disk. This solution uses 48 disks, a RAID 6 configuration with a spanlength of 12 (10 data
disks and 2 parity disks) and that results in a total of 40 data disks.

[root@nfs-dfc ~]# mkfs.xfs -d

su=512k,sw=40

-l size=128m

/dev/sdc

2. Set up the cache pool for Dell Fluid Cache.

Verify that the DFC service is running.

[root@nfs-dfc ~]# service fluid_cache status

Add two SSDs to the cache pool and check the status.

[root@nfs-dfc ~]# fldc --add --ssd=/dev/rssda -v

[root@nfs-dfc ~]# fldc --add --ssd=/dev/rssdb –v

[root@nfs-dfc ~]# fldc -v --list --ssd

Enable caching on the RAID 60 external virtual disk. Note the device and the mode for caching
(write-back in the command below).

[root@nfs-dfc ~]# fldc --enable

--disk=/dev/sdc

--mode=wb

At this point, DFC will create a new device called /dev/fldc0 that includes the cache pool and
the virtual disk.

Check the DFC status

[root@nfs-dfc ~]# fldc --status

3. Mount the file system. Note the device mounted is /dev/fldc0

[root@nfs-dfc ~]# mount -o

noatime,allocsize=1g,nobarrier,inode64,logbsize=262144,attr2

/dev/fldc0

/home/xfs/

4. Export this file system over NFS by modifying /etc/exports. Note that the share is exported with

the ‘sync’ option.

[root@nfs-dfc ~]# cat /etc/exports

/home/xfs *(rw,no_root_squash,sync)

5. Restart the NFS service. Now the clients can mount the NFS share over the ib0 interface. Note that

this solution recommends NFS v3 based on the results of a

previous study

.

[root@nfs-dfc ~]# service nfs restart

Advertising
This manual is related to the following products: