[ovirt-users] is ovirt-node.iso supposed to create a readonly filesystem?
Jorick Astrego
j.astrego at netbulae.eu
Thu Apr 10 09:30:52 EDT 2014
On Thu, 2014-04-10 at 08:02 -0500, Jeremiah Jahn wrote:
> On Thu, Apr 10, 2014 at 5:46 AM, Fabian Deutsch <fabiand at redhat.com> wrote:
> > Am Donnerstag, den 10.04.2014, 09:19 +0300 schrieb Itamar Heim:
> >> On 04/09/2014 11:01 PM, Jeremiah Jahn wrote:
> >> > I'm assuming the answer is no. But for some reason I seem to be
> >>
> >> the answer is yes actually. if you want a host you can change, use plain
> >> fedora/rhel/centos as the host.
> >> Fabian can reply to the rest.
> >
> > Yep. Node has a read-only root filesystem, which has some overlays to
> > allow limited changes.
>
> And yet I've been able to edit the /etc/hosts file before this
> problem? Does it go readonly after a while?
Actually /etc is mounted in tmpfs so not persistent:
cat /proc/mounts |grep etc
none /etc tmpfs
rw,rootcontext=system_u:object_r:var_lib_t:s0,seclabel,relatime
0 0
So if you want to change things you have to change it in "/config/etc/"
>> the answer is yes actually. if you want a host you can change, use
plain
> >> fedora/rhel/centos as the host.
> >> Fabian can reply to the rest.
You can just as easily do a "mount -o rw,remount /" to edit things if you want but you have to do this on every node and again after upgrading to a newer version of node.
I see it's there in the wiki:
http://www.ovirt.org/Node_Troubleshooting#Making_changes_on_the_host
Kind regards,
Jorick Astrego
Netbulae B.V.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140410/4ba142a6/attachment.html>
More information about the Users
mailing list