FWIW, my ceph data dirs (for e.g. mons) are all on XFS. I've experienced a lot of corruption on these on power loss to the node -- and in some cases even when power wasn't lost, and the box was simply rebooted. This is on Ubuntu 12.04 with the ceph-provied 3.6.3 kernel (as I'm using RBD on these). It's pretty much to the point where I'm thinking of changing them all over to ext4 for these data dirs, as the hassle of rebuilding mons constantly is just not worth the trouble. --Jeff On Wed, Jan 16, 2013 at 9:32 AM, Marcin Szukala <szukala.marcin@xxxxxxxxx> wrote: > 2013/1/16 Yann Dupont <Yann.Dupont@xxxxxxxxxxxxxx>: >> Le 16/01/2013 11:53, Wido den Hollander a écrit : >> >>> >>> >>> On 01/16/2013 11:50 AM, Marcin Szukala wrote: >> >> >>>> Hi all, >>>> >>>> Any ideas how can I resolve my issue? Or where the problem is? >>>> >>>> Let me describe the issue. >>>> Host boots up and maps RBD image with XFS filesystems >>>> Host mounts the filesystems from the RBD image >>>> Host starts to write data to the mounted filesystems >>>> Host experiences power failure >> >> you are not doing sync there, right ? > > Nope, no sync. >> >> >>>> Host comes up and map the RBD image >>>> Host mounts the filesystems from the RBD image >>>> All data from all filesystems is lost >>>> Host is able to use the filesystems with no problems. >>>> >>>> Filesystem is XFS, no errors on filesystem, >> >> >> you MAY have hit an XFS issue. >> >> Please follow XFS list, in particular this thread : >> http://oss.sgi.com/pipermail/xfs/2012-December/023021.html >> >> If i Remember well, this one is after 3.4 kernel, and I think the fix isn't >> in the current ubuntu kernel. > > It looks like it, with ext4 I have no issue. Also if i do sync, the > data is not lost. > > Thank You All for help. > > Regards, > Marcin > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html