I'm wondering the same thing. ----- Original Message ----- From: "Ulrich Windl" <[email protected]> To: "users" <[email protected]> Sent: Tuesday, April 11, 2017 2:07:24 AM Subject: [ClusterLabs] Antw: PSA Ubuntu 16.04 and OCSF2 corruption
>>> Kyle O'Donnell <[email protected]> schrieb am 10.04.2017 um 22:33 in Nachricht <[email protected]>: > 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. Without knowing the details of fstrim I think with proper locking in place, filesystem corruption should never occur. However if one node in OCFS allocated the block that another node trims (the non-locking case), you will loose that newly allocated block. I wonder whether fstrim can be used in cluster filesystems. Regards, Ulrich > > -Kyle > > _______________________________________________ > Users mailing list: [email protected] > 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 _______________________________________________ Users mailing list: [email protected] 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 _______________________________________________ Users mailing list: [email protected] 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
