[linux-lvm] fsync() and LVM

Dietmar Maurer dietmar at proxmox.com
Tue Mar 17 18:19:01 UTC 2009


> Dietmar Maurer wrote:
> >>> Does that mean I should never use more than one device if I have
> >>> applications depending on fsync (databases)?
> >> It just means that write barriers won't get passed to the device.
> >> This is only a problem if the devices have write caches.
> >
> > But fsync is implemented using 'write barriers' - so fsync does not
> > work?
> >
> > After fsync, all data should be sent from the OS to the disk
> controller:
> >
> > a.) this work perfectly using LVM?
> >
> > b.) this does not work at all using LVM?
> >
> > c.) it works when you use one single physical drive with LVM?

Please, can someone answer that questions?

- Dietmar





More information about the linux-lvm mailing list