[PVE-User] Again trouble, but this time with ext4/trim...

Marco Gaiarin gaio at sv.lnf.it
Mon Jul 29 15:36:38 CEST 2019


> In that servers i've also some other FS, but the ext4 ones are low
> varying, mounted RO or noatime, but also some FS in XFS fs, that seems
> does not suffer.

I've disabled 'discard' for /dev/sda in both server, and keeped it for
/dev/sdb (squid spool, ext4) and /dev/sdc (XFS filesystem).

I've also added a 'randomization' for the fstrim task, but still:

 Jul 29 01:14:10 vdmsv1 systemd[1]: Starting Discard unused blocks...
 Jul 29 01:14:14 vdmsv1 kernel: [455671.833357] EXT4-fs error (device sdb1): ext4_validate_block_bitmap:386: comm fstrim: bg 97: bad block bitmap checksum
 Jul 29 01:14:14 vdmsv1 kernel: [455671.859823] EXT4-fs warning (device sdb1): ext4_trim_all_free:5130: Error -74 loading buddy information for 97
 Jul 29 01:14:14 vdmsv1 fstrim[23986]: fstrim: /var/spool/squid: FITRIM ioctl failed: Messaggio errato
 Jul 29 01:15:02 vdmsv1 CRON[24072]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
 Jul 29 01:15:29 vdmsv1 systemd[1]: fstrim.service: Main process exited, code=exited, status=64/n/a
 Jul 29 01:15:29 vdmsv1 systemd[1]: Failed to start Discard unused blocks.
 Jul 29 01:15:29 vdmsv1 systemd[1]: fstrim.timer: Adding 2h 8min 41.708255s random time.
 Jul 29 01:15:29 vdmsv1 systemd[1]: fstrim.service: Unit entered failed state.
 Jul 29 01:15:29 vdmsv1 systemd[1]: fstrim.timer: Adding 3h 56min 32.453953s random time.
 Jul 29 01:15:29 vdmsv1 systemd[1]: fstrim.service: Failed with result 'exit-code'.

So seems that i've some trouble with 'discard', at least with ext4
FS...

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the pve-user mailing list