Ok,<br><br>    There is a way, recently i saw something in the fuse configuration. <br>    &quot;./configure --disable-mtab&quot;<br>    Now with this option if you build fuse based filesystems will not update /etc/mtab. <br>
    So i think there is nothing that glusterfs needs to provide as such, unless fuse gives <br>    enhanced API for fuse_mount to request for ignoring mtab. <br><br>Regards<br>-- <br clear="all">Harshavardhana<br>&quot;Yantra Shilpi&quot;<br>
Z Research Inc - <a href="http://www.zresearch.com">http://www.zresearch.com</a><br><br>
<br><br><div class="gmail_quote">On Wed, Mar 11, 2009 at 3:31 AM, Enno Lange <span dir="ltr">&lt;<a href="mailto:Enno.Lange@iem.rwth-aachen.de">Enno.Lange@iem.rwth-aachen.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<div class="im"><br>
<br>
Keith Freedman wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
why not look into editing /sbin/mount.glusterfs<br>
if you&#39;re mounting through fstab or the mount command that seems the logical place to address this.<br>
</blockquote></div>
The idea would be to copy /proc/mounts to a local filesystem, to which /etc/mtab points. After mount succeeded, you have to relink the link to /proc/mounts.....<br>
<br>
1. /etc/mtab -&gt; /&lt;tmpfs&gt;/mymtab -&gt; /proc/mounts<br>
2. rm /&lt;tmpfs&gt;/mymtab<br>
3. cp /proc/mounts /&lt;tmpfs&gt;/mymtab (creating an empty file should be sufficient...)<br>
4. mount glusterfs volume<br>
5. rm /&lt;tmpfs&gt;/mymtab<br>
6. ln -s /proc/mounts /&lt;tmpfs&gt;/mymtab<br>
<br>
All these steps should can be implemented in a fail save way in /sbin/mount.glusterfs<br>
<br>
Cheers<br><font color="#888888">
Enno<br>
</font><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
<br>
At 12:31 AM 3/10/2009, Enno Lange wrote:<br>
</div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Monday 09 March 2009 18:46:28 Smart Weblications GmbH - Florian Wiessner<br>
wrote:<br>
&gt; why not use tmpfs and link /etc/mtab to tmpfs?<br>
This would actually give the same result: You can mount any glusterfs volume<br>
but they will not appear in &lt;linkto&gt;/mtab. Though, they will appear<br>
in /proc/mounts.<br>
This is somewhat tricky, as you wont&#39;t be able to unmount the volume<br>
gracefully.<br>
IMHO this is quite a disadvantage because for any (system-)diskless<br>
computation cluster this tricky situation comes up.<br>
<br>
Another workaround might be to replace /bin/mount with a script, which keeps<br>
the link &lt;linkto&gt;/mtab in sync with /proc/mounts. Will check on this soon.<br>
<br>
Enno<br>
<br>
-- <br>
Dipl.-Ing. Enno Lange, Wissenschaftlicher Mitarbeiter<br>
Institut fuer Elektrische Maschinen<br>
Lehrstuhl fuer Elektromagnetische Energiewandlung<br>
RWTH Aachen, Schinkelstr. 4, D-52056 Aachen<br>
Tel. +49 241 80 97644, Fax  +49 241 80 92270<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">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>
</blockquote>
<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">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>
</div></div></blockquote><div><div></div><div class="h5">
<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">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>
</div></div></blockquote></div><br>