[PVE-User] add default mount options to lxc containers

Marc Cousin cousinmarc at gmail.com
Wed Jul 27 09:17:47 CEST 2016


Le 26/07/2016 à 15:53, Wolfgang Bumiller a écrit :
>> On July 26, 2016 at 3:45 PM Marc Cousin <cousinmarc at gmail.com> wrote:
>>
>>
>> Hi,
>>
>> I'm using LXC on servers which have storage with battery, so I'd like to
>> mount those filesystems with nobarrier. Is there a way I can specify
>> this mount option to containers (all containers at once would be even
>> better of course). I'm using LVM-Thin/ext4 containers (not shared
>> filesystems).
> 
> User-defined mount options are currently not supported.
> However, you can use tune2fs to set this particular option on the images
> for now.
> (Should look like this:
> # tune2fs -o nobarrier /dev/pve/vm-123-disk-1
> Note that it might take a few seconds due to the multiple-mount-protection flag)
> 
Nice, thanks !



More information about the pve-user mailing list