[SOLVED] Change default mount options to raw image

NomarMora

New Member
Aug 14, 2015
27
0
1
Good day I want to change the default mount options for a lxc container

/images/102/vm-102-disk-1.raw on / type ext4 (rw,relatime,data=ordered)

to improve db performance on bacula despooling they recommend use

barrier=0 on mount options

How can I configure this container with the barrier option?

Thanks in advance
Nomar
 
Last edited:
Re: Change defaul mount options to raw image

This is currently not possible.

Besides, do you have a battery-backed write cache on that volume? Else this would be quite unsafe.
 
Re: Change default mount options to raw image * solved, sort of *

Hi:

I'm not sure about the battery-backed write cache on volume, meanwhile I migrate to postgresql backend and the performance improves a ton.

Thanks anyway :-)