Hi Roberto,
We have a customer who is running their DB2 workload(s) on AWS EC2 instances, using RHEL 8 and Db2 v11.5.7 (with imminent plans to upgrade to RHEL 9 and Db2 12.1).
Their DATA disk setup looks like this:
/dev/nvme3n1 on /data01 type ext4 (rw,relatime,seclabel)
/dev/nvme2n1 on /data02 type ext4 (rw,relatime,seclabel)
So, similar to your XFS setup (only lacking some of your parameters), but I cannot really say how efficient (and optimal) this is...
Hope this helps, if only a little bit...
Regards, Damir
------------------------------
Damir Wilder
Senior Consultant
Triton Consulting
London
------------------------------
Original Message:
Sent: Sat November 15, 2025 01:34 PM
From: Roberto Stradella
Subject: Db2 11.5 Linux RHEL and xfs filesystem
Hello,
Our production environment is Linux RHEL 9.4, Db2 Linux v 11.5.9 in AWS EC2 environment with EBS gp3 volume 15.000 IOPS 500 Throughput (MiB/s) storage. We are using xfs filesystem configured over the EBS gp3 volume as database physical structure.
We are searching suggestions / best practices related to xfs settings in a Db2 environment. We have found some documents suggesting to use nobarrier mount option that will increase the performance of the database. Does anyone already used nobarrier and notime as mount options for xfs filesystem in RHEL environment with Db2 11.5 ?
At the moment our Db2 xfs filesystems have been mounted as:
/dev/nvme6n1 on /data3 type xfs (rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)
From the documentation we have found the suggested mount is:
/dev/nvmeXnY /db2/data xfs noatime,nodiratime,inode64,logbufs=8,nobarrier,largeio,swalloc,nofail
Any suggestion / experience is welcome.
Thanks. Ciao. Roberto.
------------------------------
Roberto Stradella
------------------------------