<br><br><div class="gmail_quote">On Thu, Jan 29, 2009 at 3:25 PM, Keith Freedman <span dir="ltr">&lt;<a href="mailto:freedman@freeformit.com">freedman@freeformit.com</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;">
<div class="Ih2E3d">At 12:15 PM 1/29/2009, Sean Davis wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
A naive question, but how do people go about adding (or changing) storage in a system? &nbsp;In particular, how do folks change the client-vol file on an operating cluster? &nbsp;I would like to be able to do something like &quot;remount&quot; and have client-vol changes work for a particular machine and not have to search out all the open connections in order to do that update. &nbsp;I know the question is not a very good one, but any suggestions on how this works in practice?<br>

</blockquote>
<br></div>
unfortunately, gluster doesn&#39;t support -o remount just yet.<br>
what I do is<br>
<br>
unmount/remount the filesystem.<br>
which is a tad inconvenient, but here&#39;s a script that was posted to the list a while ago to help find processes that are hanging on a mountpoint:<br>
<br>
--whodir--<br>
#!/bin/sh<br>
DIR=$1<br>
find /proc 2&gt;/dev/null | grep -E &#39;cwd|exe&#39; | xargs ls -l 2&gt;/dev/null | grep &quot;&gt; $DIR&quot; | sed &#39;s/ &nbsp;*/ /g&#39; | cut -f8 -d&#39; &#39; | cut -f3 -d/ | sort | uniq | while read line; do echo $line $(cat /proc/$line/cmdline); done<br>

</blockquote><div><br>Thanks, Keith.&nbsp; I had even archived that script in my email but promptly forgot that I had done so.&nbsp; <br><br>We don&#39;t have many users, so that will probably work just fine.<br><br>Sean<br>&nbsp;<br></div>
</div>