<br><br><div class="gmail_quote">On Thu, Jan 29, 2009 at 3:25 PM, Keith Freedman <span dir="ltr"><<a href="mailto:freedman@freeformit.com">freedman@freeformit.com</a>></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? In particular, how do folks change the client-vol file on an operating cluster? I would like to be able to do something like "remount" 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. 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'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'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>/dev/null | grep -E 'cwd|exe' | xargs ls -l 2>/dev/null | grep "> $DIR" | sed 's/ */ /g' | cut -f8 -d' ' | cut -f3 -d/ | sort | uniq | while read line; do echo $line $(cat /proc/$line/cmdline); done<br>
</blockquote><div><br>Thanks, Keith. I had even archived that script in my email but promptly forgot that I had done so. <br><br>We don't have many users, so that will probably work just fine.<br><br>Sean<br> <br></div>
</div>