[Ovirt-devel] [PATCH node] Bootup mounts the local log partition if it exists
Perry Myers
pmyers at redhat.com
Wed Jan 14 19:54:35 UTC 2009
Bryan Kearney wrote:
> Perry Myers wrote:
>> Bryan Kearney wrote:
>>> Perry Myers wrote:
>>>> The logs-backup directory is just to catch any logs that get created
>>>> between the system starting and ovirt-early coming up, correct?
>>>> Should be minimal messages and dmesg output probably. Any way to
>>>> get the log partition mounted earlier than ovirt-early
>
>
> So.. I dont know the use case well enough. Is the annoyance of the error
> message better/worse then a good documented step?
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. We can check to make sure the
partition exists before trying to mount it, and only show an error if the
partition exists and it failed to mount it.
Make sense? Alan mentioned that rc.sysinit has some hooks that we might
be able to leverage to get around modifying the actual script.
Perry
More information about the ovirt-devel
mailing list