OpenVZ Forum


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

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.


>
> Corin
>
> On 03.07.2012 at 09:52 +0200, Corin Langosch <info@corinlangosch.com>
> wrote:
>> Hi there,
>>
>> Is there any way to specify mount options for the container's root
>> filesystem in the container's config when using ploop?
>>
>> So a normal options string like
>> " noatime,data=writeback,journal_async_commit,barrier=0,errors =remount-ro ".
>>
>>
>> Thanks for any hints :)
>>
>> Corin


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: Sun Nov 03 20:45:24 GMT 2024

Total time taken to generate the page: 0.03657 seconds