Uploaded image for project: 'RHEL Testing'
  1. RHEL Testing
  2. RHELTEST-2515

[xfstests] filesystems/xfstests, generic/388: _check_xfs_filesystem: filesystem on /dev/loop1 is inconsistent

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • rhel-se-kernel

      we hit this on 9.2 :

      FSTYP         -- xfs (non-debug)
      PLATFORM      -- Linux/ppc64le rdma-cert-03-lp9 5.14.0-284.154.1.el9_2.ppc64le #1 SMP Fri Jan 16 00:37:12 EST 2026
      MKFS_OPTIONS  -- -f /dev/loop1
      MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/loop1 /mnt/fstests/SCRATCH_DIR
      
      generic/388       _check_xfs_filesystem: filesystem on /dev/loop1 is inconsistent (r)
      (see /var/lib/xfstests/results//generic/388.full for details)
      
      Ran: generic/388
      Failures: generic/388
      Failed 1 of 1 tests 

      a leftover CoW extent apparently :

      _check_xfs_filesystem: filesystem on /dev/loop1 is inconsistent (r)
      *** xfs_repair -n output ***
      Phase 1 - find and verify superblock...
      Phase 2 - using internal log
              - zero log...
              - scan filesystem freespace and inode maps...
      leftover CoW extent (3/469002) len 26
              - found root inode chunk
      Phase 3 - for each AG...
              - scan (but don't clear) agi unlinked lists...
              - process known inodes and perform inode discovery...
              - agno = 0
              - agno = 1
              - agno = 2
              - agno = 3
              - process newly discovered inodes...
      Phase 4 - check for duplicate blocks...
              - setting up duplicate extent list...
              - check for inodes claiming duplicate blocks...
              - agno = 0
              - agno = 1
              - agno = 2
              - agno = 3
      No modify flag set, skipping phase 5
      Phase 6 - check inode connectivity...
              - traversing filesystem ...
              - traversal finished ...
              - moving disconnected inodes to lost+found ...
      Phase 7 - verify link counts...
      No modify flag set, skipping filesystem flush and exiting.
      *** end xfs_repair output 

      filesystem indeed seems unstable:

      [ 3915.639915] loop1: writeback error on inode 1786312, offset 65536, sector 1789216
      [ 3915.639930] loop1: writeback error on inode 26869912, offset 1114112, sector 17580800
      [ 3915.639903] XFS (loop1): Log I/O Error (0x6) detected at xfs_fs_goingdown+0xf8/0x160 [xfs] (fs/xfs/xfs_fsops.c:504).  Shutting down filesystem.
      [ 3915.639936] loop1: writeback error on inode 18643688, offset 28692480, sector 12433968
      [ 3915.639946] loop1: writeback error on inode 26869912, offset 50860032, sector 17594432
      [ 3915.639964] loop1: writeback error on inode 1781551, offset 50167808, sector 2002744
      [ 3915.639975] XFS (loop1): Please unmount the filesystem and rectify the problem(s)
      [ 3915.639991] loop1: writeback error on inode 18643679, offset 111276032, sector 12596672
      [ 3915.640006] loop1: writeback error on inode 18643679, offset 28499968, sector 12455176
      [ 3915.640037] loop1: writeback error on inode 26828078, offset 16773120, sector 17594264

      maybe some ENOSPC condition as backing storage for this is a file, unclear

              Unassigned Unassigned
              rhn-support-rbergant Roberto Bergantinos Corpas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: