View previous topic :: View next topic |
Author |
Message |
robak Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Jan 2004 Posts: 209 Location: Germany
|
Posted: Fri Aug 29, 2014 10:13 pm Post subject: [SOLVED] ext4 filesystem only reports errors when mounted |
|
|
Hi
I have a little problem with my system partition. Whenever I check the ext4 filesystem while the system is running, I get these errors:
1. Differences in the block bitmap
2. free blockcount is wrong
3. free inode count is wrong
I tried a fsck on reboot without success. Then I tried to boot into single mode and checked the filesystem manually with "fsck -vfy /dev/sda2" which showed my no errors at all. But when I boot the system and the partition is mounted rw I always get the errors mentioned above. Could someone give me a tip on whats going on or instructions on how to repair the filesystem?
thx in advance
robak _________________ run this in your gentoo-bash:
"grep -R -i -A2 -B2 'on fire' /usr/src/linux/*"
Last edited by robak on Sat Aug 30, 2014 8:33 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23100
|
Posted: Fri Aug 29, 2014 11:51 pm Post subject: |
|
|
Why are you trying to check a filesystem that is in active use? If it is in use, it is not in a consistent state and your fsck results are meaningless. If you attempt to repair the filesystem while it is mounted, you are likely to cause corruption. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
robak Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Jan 2004 Posts: 209 Location: Germany
|
Posted: Sat Aug 30, 2014 8:32 am Post subject: |
|
|
Thanks for your answer. So any checks on mounted filesystems are useless? I didn't that but it make totally sense.
I was confused because xfce shows pop-up message that my filesystem is currupted thats why made the checks in the first place. _________________ run this in your gentoo-bash:
"grep -R -i -A2 -B2 'on fire' /usr/src/linux/*" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23100
|
Posted: Sat Aug 30, 2014 3:22 pm Post subject: |
|
|
If a filesystem is mounted read-only, you can check it safely, but not modify it safely. If it is mounted writable, you cannot check it safely nor modify it safely. You should try to find why xfce is making such a claim. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
robak Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Jan 2004 Posts: 209 Location: Germany
|
Posted: Wed Oct 29, 2014 11:51 pm Post subject: |
|
|
a quick update on that pop-up message from xfce:
my drive failed yesterday; to many reallocated sectors. obviously that pop-ups came from some SMART daemon I installed ages ago. luckily I could copy all data to another hard drive. _________________ run this in your gentoo-bash:
"grep -R -i -A2 -B2 'on fire' /usr/src/linux/*" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|