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
Forum Moderator
Posts: 27152
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.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. 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

Return to “CentOS 6 - General Support”