Oracle Linux: "Dirty bit is set. Fs was not properly unmounted and some data may be corrupt." Messages Appear when doing FSCK
(Doc ID 2679511.1)
Last updated on AUGUST 26, 2021
Applies to:
Linux OS - Version Oracle Linux 7.7 and laterLinux x86-64
Goal
What is the meaning of the "Dirty bit is set. Fs was not properly unmounted and some data may be corrupt." messages being reported when doing FSCK (file system consistency check) on an image backup using dd command?
Sample scenario:
- /dev/sda3 is currently mounted on /boot/efi
- Perform backup of /dev/sda3 using dd if=/dev/sda3 of=/test/efi.img conv=noerror,sync
- Perform file system consistency checks (FSCK) - fsck -a /test/efi.img
Output:
----------------------------
fsck from util-linux 2.23.2
fsck.fat 3.0.20 (12 Jun 2013)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Automatically removing dirty bit.
Performing changes.
/test/efi.img: 3 files, 3/261629 clusters
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |