Question

NCC health_checks" fails for /dev/md2 with fs_inconsistency_check

  • 6 December 2023
  • 2 replies
  • 154 views

Badge +3

This cluster is out of support. I’ve run the commands listed in KB 8514

=====

Detailed information for fs_inconsistency_check:
Node 172.22.32.95:
FAIL: Filesystem errors found on CVM 172.22.32.95 on the below device(s):
Device: md2, Partition: home, Max Mount Count: -1

Refer to KB 8514 (http://portal.nutanix.com/kb/8514) for details on fs_inconsistency_check or Recheck with: ncc health_checks system_checks fs_inconsistency_check --cvm_list=172.22.32.95
+-----------------------+
| State         | Count |
+-----------------------+
| Fail          | 1     |
| Total Plugins | 1     |
+-----------------------+

=====

egrep -H "^" `ls /sys/fs/ext4/*/errors_count` | grep md2
/sys/fs/ext4/md2/errors_count:1

=====

for i in `sudo blkid | awk -F : '!/xfs|iso9660/{print $1}'`;do echo $i;sudo tune2fs -l $i | egrep 'Filesystem state|Last checked|Maximum|error|orphan';done

/dev/md2
Filesystem state:         clean with errors
Maximum mount count:      -1
Last checked:             Tue Aug 15 04:21:28 2017
First orphan inode:       655598
First error time:         Mon Nov 27 05:31:24 2023
First error function:     ext4_discard_preallocations
First error line #:       4028
First error inode #:      0
First error block #:      0
Last error time:          Mon Nov 27 05:31:24 2023
Last error function:      ext4_discard_preallocations
Last error line #:        4028
Last error inode #:       0
Last error block #:       0
 

I’ve tried stopping and restarting the cluster. I thought Linux would clean the filesystem on reboot, but it did not. I saw one person resond that the fix is to rebuild the CVM. Any help would be appreciated.


 


This topic has been closed for comments

2 replies

Userlevel 2
Badge +3

Hi,

I had a customer having the same problem as you described… Customer wanted to reboot the cvm for the same reason. I told them, that won’t be a solution.

I guided them to support, but I see you don’t have that option.

When I got some feedback,I will leave a note here… Hopefully I am able to guide you to a solution. However, no guarantee, as this forum is not a replacement for support.

Userlevel 3
Badge +7

i had smillar issue, Nutanix support is sending new hard drive.