1 1
kevkkvek

EXT4-fs zram0 Checksum error

Recommended Posts

I am getting a series of errors related to EXT4 zram checksum that look like this one:

[3328.749555] EXT4-fs error (device zram0): ext4_readdir:189: inode #11 com find: path var/log/lost+found directory fails checksum at offset 4096 (and other offsets) 

 

I've  seen a recommendation as a possible fix to the checksum error :  disabling metadata_csum, using "tune2fs -O ^metadata_csum /dev/zram0", with the file system umounted (I don't know how to unmount zram) 

 

The error apparently is related to bad hardware (not the case) , old kernels that don't support new versions of programs capable of altering the fs. Like a newer  checksum feature, or a new e2fsprogs. Would appreciate some help. Thx. 

IMG_20190626_030336.jpg

Share this post


Link to post
Share on other sites

Hi. Maybe you could try to remove and reinstall zram-config.

Open another terminal ALT-Fx

sudo apt remove zram-config. Reboot and reinstall it.
I have no clue why this happened.
Please also provide the output of armbianmonitor -u if possible.
 

Share this post


Link to post
Share on other sites
3 hours ago, kevkkvek said:

I am getting a series of errors

 

armbianmonitor -u is mandatory if you want fact based help. Now I can only tell you that probably there is nothing wrong. Possible kernel config issue - I don't recall what exactly - but its most likely safe to ignore.

Share this post


Link to post
Share on other sites
9 hours ago, NicoD said:

Hi. Maybe you could try to remove and reinstall zram-config.

Open another terminal ALT-Fx

sudo apt remove zram-config. Reboot and reinstall it.
I have no clue why this happened.
Please also provide the output of armbianmonitor -u if possible.
 

Sorry for asking but how do you reinstall zram-config? ~sudo apt install zram-config"?  Is there any danger in doing that? I can't say i'm a linux guru by any means. 

 

 I would also like to do something about the logging because nginx also gives me full zram messages all the time.

Share this post


Link to post
Share on other sites
22 minutes ago, NicoD said:

It's just :


sudo apt install zram-config

 

Yeah, did that. BTW, the zram-config tool wasn't installed by default on my system. is that normal or ...strange?

Share this post


Link to post
Share on other sites

######before zram-confing

~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 24G 0 part /
├─sda2 8:2 0 16G 0 part [SWAP]
└─sda3 8:3 0 891.5G 0 part /opt
mtdblock0 31:0 0 4M 0 disk
zram0 252:0 0 50M 0 disk /var/log
zram1 252:1 0 2G 0 disk [SWAP]

 

######after zram-config

~# lsblk
NAME      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda         8:0    0 931.5G  0 disk 
├─sda1      8:1    0    24G  0 part /
├─sda2      8:2    0    16G  0 part [SWAP]
└─sda3      8:3    0 891.5G  0 part /opt
mtdblock0  31:0    0     4M  0 disk 
zram0     252:0    0 498.6M  0 disk [SWAP]
zram1     252:1    0 498.6M  0 disk [SWAP]
zram2     252:2    0 498.6M  0 disk [SWAP]
zram3     252:3    0 498.6M  0 disk [SWAP]

 

how do i make it back as it was?

Share this post


Link to post
Share on other sites

That's ok. It's the same, but a bit different configuration. It's 2GB zram.
If it works, then let it. Unless you don't want zram. Then you can delete it.

Share this post


Link to post
Share on other sites
3 minutes ago, NicoD said:

That's ok. It's the same, but a bit different configuration. It's 2GB zram.
If it works, then let it. Unless you don't want zram. Then you can delete it.

I'm ok but I just don't want to have any performance problems.

 

 

Before zram0 was mounted in /var/log. What happens with the logs now.? This box is mainly for servers. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1