fsck on lvm root filesystem

General support questions
Post Reply
trucall
Posts: 2
Joined: 2019/09/30 15:21:32

fsck on lvm root filesystem

Post by trucall » 2019/09/30 15:55:26

Hi All,

I've a question about a distro centos 6.
I had an issue on the disk and I'm a bit confused about fsck behaviour.

I executed:

fsck -n

on the volume ( with option -n because mounted, only for a read check ) and I have some errors:

- Block bitmap differences
- Free blocks count wrong for group
- Free blocks count wrong

I restarted my system in single user mode, I unmounted the root filesystem and I executed the same command in order to check and repair the filesystem but the command didn't report any error.

After a reboot at runlevel 3, the same command return same issue as before:

Block bitmap differences
Free blocks count wrong for group
Free blocks count wrong

Do you have any idea about this behavior?

Is fsck reliable on a mounted lvm filesystem?

The system is working fine but I would like to clarify this behaviour.

Thanks
tru

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: fsck on lvm root filesystem

Post by TrevorH » 2019/09/30 16:48:59

[
Is fsck reliable on a mounted lvm filesystem?
No. It will almost always report trivial problems like the one you quote.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

trucall
Posts: 2
Joined: 2019/09/30 15:21:32

Re: fsck on lvm root filesystem

Post by trucall » 2019/09/30 21:47:08

Thanks TrevorH,

I just made a little test on some others system, the behaviour is similar.

Post Reply