[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 Tue, Feb 24, 2009 at 4:20 PM, Michael Monnerie
<michael.monnerie@xxxxxxxxxxxxxxxxxxx> wrote:
> * Linux host (dom0) with XEN, XFS filesystem with "nobarrier", RAID
> controller with battery backed cache.
> * XEN vm (domU) with XFS filesystem with "nobarrier" with postgresql
> * my daughter with 3.5 years switching off the power supply of the
> server, just behind the UPS

>
> Is there a way to secure domU's in a way they survive a powerfail?

Are you using file-backed domU, with file:/ in domU config? If yes,
this is a known problem, and you can try:
- changing file:/ to tap:aio:/ , or
- use block-device-backed storage (e.g. LVM, partition, etc.)

Regards,

Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.