[Ovirt-devel] [PATCH node] Bootup mounts the local log partition if it exists

David Lutterkort lutter at redhat.com
Wed Jan 14 21:45:33 UTC 2009


On Wed, 2009-01-14 at 14:54 -0500, Perry Myers wrote:
> We can do the following... in the Node kickstart %post we can edit the 
> rc.sysinit script to (very early in script execution where it normally 
> does the remount of all drives in /etc/fstab) mount specific Node 
> partitions like /var/log and /data.

Why isn't it enough to put appropriate entries into /etc/fstab when the
partitions are created and let rc.sysinit do its usual thing ? 

Of course, that requires that /etc/fstab is persisted across reboots,
though that seems to be the only sensible thing to do anyway, i.e. we
need an entry for /etc/fstab in /etc/statetab.d. From a look at
rc.sysinit, this all seems to happen early enough, but it would require
some testing to make sure ;)

David





More information about the ovirt-devel mailing list