OpenVZ Forum


Home » Mailing lists » Users » ploop and mount options
Re: ploop and mount options [message #47774 is a reply to message #47773] Sat, 08 September 2012 13:31 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

On 09/08/2012 01:19 PM, Kir Kolyshkin wrote:
> On 09/06/2012 03:53 PM, Corin Langosch wrote:
>> Hi again,
>>
>> just a small follow up on this:
>>
>> Inside the the container I'm able to change the barrier mount option
>> with:
>>
>> "mount -o remount,barrier=0 /" or "mount -o remount,barrier=1 /"
>>
>> But changing other options like "noatime" (mount -o remount,noatime
>> /) fails with "mount: permission denied".
>>
>> Now I wonder if this is intended or a bug? Why allow changing barrier
>> and deny noatime option?
>
> Well, I can't tell why it lets you remount with barrier but does not
> let you remount with noatime.
> But I can tell noatime is not needed nowdays, since relatime is used
> by default and makes much more sense.
>
> You can file a bug to bugzilla.openvz.org, component ploop
>
>>
>> BTW: I still haven't found a way to specify mount options in the
>> container's config :(
>
> Again, file a bug (enhancement) to bugzilla.openvz.org, component vzctl.

In fact I just implemented that as a --mount_opts option to vzctl set.
See these git commits:
http://git.openvz.org/?p=vzctl;a=commit;h=af95fbdf
http://git.openvz.org/?p=vzctl;a=commit;h=287d0d
http://git.openvz.org/?p=vzctl;a=commit;h=7eb61c

Feel free to test and report your results.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: linux-openvz-2.6.32.59.7-gcc46.patch useful for bug id=2012?
Next Topic: ploop and trim/ discard support
Goto Forum:
  


Current Time: Mon Nov 04 20:06:02 GMT 2024

Total time taken to generate the page: 0.03416 seconds