[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] How (not) to destroy a PostgreSQL db in domU on powerfail
On Mittwoch 04 März 2009 Michael Monnerie wrote: > On Mittwoch 04 März 2009 Fajar A. Nugraha wrote: > > Is your domU filesystem (/path/root20090113.xvd ?) located on top > > of LVM? If yes, then AFAIK LVM does not honor write-barriers. > > Indeed. LVM is bad? I've read LVM is suggested in order to have an > easier backup with snapshots. But if the result is that your XEN domU > gets destroyed on a power outage - damn LVM. > > Can someone confirm that LVM does not honor write-barriers? http://lkml.org/lkml/2008/5/16/390 http://hightechsorcery.com/2008/06/linux-write-barriers-write-caching- lvm-and-filesystems If I understand correctly, turning off disk cache write cache should be enough to be save, even when using LVM. Is it really XEN that messed the disk, or something else? Could the Areca controller driver do something wrong? I'd really love to get a stable and data-secure system, as you might understand. mfg zmi -- // Michael Monnerie, Ing.BSc ----- http://it-management.at // Tel: 0660 / 415 65 31 .network.your.ideas. // PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import" // Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4 // Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4 _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |