[Ocfs2-users] mounting ocfs2 partitions on boot

Sunil Mushran Sunil.Mushran at oracle.com
Mon Jun 27 13:46:15 CDT 2005


SLES does not appear to have the script to support mounting
_netdev devices on boot.

So, add the command(s) in /etc/init.d/boot.local to explicitly
mount the volume(s) on bootup.

mount -t ocfs2 /dev/sdX /dir

Jan Schmidt wrote:

>
> It seems, that the volumes are not mounted automatically on SLES9. Are 
> there any
> further requirements to make this work? After adding _netdev at fstab 
> I can boot the
> system without mount errors, but the volumes are not mounted after 
> ocfs2 is available
> and before the OCM, database etc. are started.
>
> At 00:24 25.06.2005, Sunil Mushran wrote:
>
>> 1. Specify load on boot in o2cb configure.
>> 2. Specify device as _netdev in /etc/fstab.
>>
>> /dev/sdc1              /ocfs                   ocfs2
>> _netdev,defaults        0       0
>>
>> It works.
>>
>> Jan Schmidt wrote:
>>
>>> Hi list,
>>>
>>> today, I installed a two node Oracle 10g RAC system on SLES9 SP2 RC2 
>>> which shares
>>> (via a SAN) a database volume and a quorum (ocr and voting). This 
>>> volumes are formated
>>> with ocfs2 - so far no problem.
>>> At the moment I'm stuck with the mounting of these volumes at boot 
>>> time. The user-guide
>>> of ocfs2-tools mentions to add the corresponding lines to fstab - 
>>> but at the time when
>>> fstab is processed the ocfs2 cluster isn't available (it will be 
>>> started later).
>>> Is there any way (without hacking rc scripts etc.) to load this 
>>> volumes as boot time?
>>>
>>> Thanks
>>> Jan Schmidt
>>>
>>> _______________________________________________
>>> Ocfs2-users mailing list
>>> Ocfs2-users at oss.oracle.com
>>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>>
>
> ---------------------------------------------------------------
> AG Anwendungen/Multimedia Rechenzentrum Universität Greifswald
> http://www.multimedia.uni-greifswald.de/
> Tel: +49 3834 861416 Fax: +49 3834 8680016
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users



More information about the Ocfs2-users mailing list