Hi Arend-Jan,<br><br>Agreed upon your point. Its possible for making mistakes in writing spec file, and if we start without problem, this is never looked into as admin assumes everything went smoothly. (well, if he sees the log, he can see a warning though).<br>
<br>Code committed to fail the init() if the export directory is not existing already, hence admin has to create it before starting glusterfs. Should be available from next releases.<br><br>Regards,<br>Amar<br><br><div class="gmail_quote">
2008/10/31 Arend-Jan Wijtzes <span dir="ltr">&lt;<a href="mailto:ajwytzes@wise-guys.nl">ajwytzes@wise-guys.nl</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear developers,<br>
<br>
When the export directory does not exist GlusterFS tries to create it and<br>
(if successfull) it will continue as if everything is OK.<br>
<br>
The only reason to do this that I can think of, is to convenience a user<br>
who&#39;s setting up a new system.<br>
<br>
But typically if the export directory does not exist, this either points to<br>
a misconfiguration or, more likely, that the volume is not available (bad<br>
disk, raid offline etc). IMO the only proper thing to do is to produce an<br>
error and bail out.<br>
<br>
Regards,<br>
Arend-Jan<br>
<font color="#888888"><br>
--<br>
Arend-Jan Wijtzes -- Wiseguys -- <a href="http://www.wise-guys.nl" target="_blank">www.wise-guys.nl</a><br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Amar Tumballi<br>Gluster/GlusterFS Hacker<br>[bulde on #gluster/<a href="http://irc.gnu.org">irc.gnu.org</a>]<br><a href="http://www.zresearch.com">http://www.zresearch.com</a> - Commoditizing Super Storage!<br>