[ClusterLabs] PSA Ubuntu 16.04 and OCSF2 corruption

Gang He ghe at suse.com
Tue Apr 11 22:58:11 EDT 2017


Hello Kyle,

>From the ocfs2 code, ocfs2 supports fstrim operation in the cluster environment.
If there was a file system corruption encountered, it should be a bug.
By the way, you should be recommended to run a fstrim operation from one node in the cluster.


Thanks
Gang 


>>> 
> Hello,
> 
> Just opened what I think is a bug with the Ubuntu util-linux package:
> 
> https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1681410 
> 
> TL;DR
> 
> The 'fstrim' command is run weekly on all filesystems.  If you're using 
> ocfs2 and the same filesystem is mounted on multiple Ubuntu 16.04 servers, 
> this fstrim is run at the same time to the same device from all servers.  I'm 
> positive this is what's causing my filesystem corruption issues, which occurs 
> a minute or two after fstrim is scheduled to run.
> 
> -Kyle
> 
> _______________________________________________
> Users mailing list: Users at clusterlabs.org 
> http://lists.clusterlabs.org/mailman/listinfo/users 
> 
> Project Home: http://www.clusterlabs.org 
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
> Bugs: http://bugs.clusterlabs.org





More information about the Users mailing list