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

Bryan Kearney bkearney at redhat.com
Wed Jan 14 20:21:13 UTC 2009


Looking for Alan's input below
Perry Myers wrote:
> 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.

So.. Alan.. were you thinking a custom module in /etc/sysconfig/modules 
which basically calls mount_config and mount_logs from the ovirt 
functions directory?

-- bk




More information about the ovirt-devel mailing list