Skip to main content
NetApp Knowledge Base

VMs hang in OpenShift during mkfs.xfs on large disks

Views:
55
Visibility:
Public
Votes:
0
Category:
astra_trident
Specialty:
SNAPX
Last Updated:

Applies to

  • Trident
  • OpenShift Environments
  • ONTAP-SAN

Issue

  • In OpenShift environments using Trident, VMs hang when formatting disks larger than 100GB with mkfs.xfs

When 100 GB disk is used:

[root@HOST_NAME ~]# mkfs.xfs -L <label> /dev/<device>
meta-data=/dev/vdx               isize=512    agcount=4, agsize=6553600 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=1, rmapbt=0
         =                       reflink=1    bigtime=1 inobtcount=1 nrext64=0
data     =                       bsize=4096   blocks=26214400, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0, ftype=1
log      =internal log           bsize=4096   blocks=16384, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
Discarding blocks...Done.

When >100GB disk is used:

[root@HOST_NAME ~]# mkfs.xfs -L <label> /dev/<device>
meta-data=/dev/vdx               isize=512    agcount=4, agsize=13107200 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=1, rmapbt=0
         =                       reflink=1    bigtime=1 inobtcount=1 nrext64=0
data     =                       bsize=4096   blocks=52428800, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0, ftype=1
log      =internal log           bsize=4096   blocks=25600, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

  • The following errors are observed in the /var/log/messages file on the OpenShift host:

<span style="font-size:inherit">2025-09-14T09:52:03.745994-04:00  kernel: Buffer I/O error on dev dm-2, logical block 6251249536, async page read</span>
<span style="font-size:inherit">2025-09-14T09:52:03.746033-04:00  kernel: Buffer I/O error on dev dm-2, logical block 6251249537, async page read</span>
<span style="font-size:inherit">2025-09-14T09:52:03.746052-04:00  kernel: Buffer I/O error on dev dm-2, logical block 6251249538, async page read</span>

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.