<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Ryan,<div class=""><br class=""></div><div class="">What's /proc/sys/net/ipv4/ip_local_port_range set to on the client?</div><div class=""><br class=""></div><div class="">-t</div><div class=""><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Apr 9, 2016, at 8:00 AM, <a href="mailto:Ryan.J.Wyler@wellsfargo.com" class="">Ryan.J.Wyler@wellsfargo.com</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class="">Is there any way to configure glusterfs to avoid using specific local ports when mounting filesystems?<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class="">Ryan Wyler<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div class=""><div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""><span class="Apple-converted-space"> </span><a href="mailto:gluster-users-bounces@gluster.org" style="color: purple; text-decoration: underline;" class="">gluster-users-bounces@gluster.org</a><span class="Apple-converted-space"> </span>[<a href="mailto:gluster-users-bounces@gluster.org" style="color: purple; text-decoration: underline;" class="">mailto:gluster-users-bounces@gluster.org</a>]<span class="Apple-converted-space"> </span><b class="">On Behalf Of<span class="Apple-converted-space"> </span></b><a href="mailto:Ryan.J.Wyler@wellsfargo.com" style="color: purple; text-decoration: underline;" class="">Ryan.J.Wyler@wellsfargo.com</a><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Friday, April 08, 2016 9:31 AM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span><a href="mailto:gluster-users@gluster.org" style="color: purple; text-decoration: underline;" class="">gluster-users@gluster.org</a><br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>[Gluster-users] GlusterFS Mounts at startup consuming needed local ports for host services<o:p class=""></o:p></span></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Glusterfs mounts are squashing ports I need available for services, specifically on port 1002.<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">How can I configure glusterfs mount points to avoid specific local ports for the connections?<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">A potential workaround I thought of is removing the mounts from starting automatically at startup and create an rc.d startup script to mount the glusterfs filesystems after all the host services have started to avoid those ports.<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Is there a different option?<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">The local port range is using 1000-1023 as seen in the information below for<span class="Apple-converted-space"> </span><a href="http://client.domain.com/" style="color: purple; text-decoration: underline;" class="">client.domain.com</a>.<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""># lsof | grep glusterfs | grep IPv4<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 2893 root 9u IPv4 15373 0t0 TCP<span class="Apple-converted-space"> </span><a href="http://client.domain.com/" style="color: purple; text-decoration: underline;" class="">client.domain.com</a>:1023-><a href="http://server1.domain.com/" style="color: purple; text-decoration: underline;" class="">server1.domain.com</a>:24007 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 2893 root 10u IPv4 15447 0t0 TCP<span class="Apple-converted-space"> </span><a href="http://client.domain.com/" style="color: purple; text-decoration: underline;" class="">client.domain.com</a>:1015-><a href="http://server2.domain.com/" style="color: purple; text-decoration: underline;" class="">server2.domain.com</a>:49171 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 2893 root 11u IPv4 15446 0t0 TCP<span class="Apple-converted-space"> </span><a href="http://client.domain.com/" style="color: purple; text-decoration: underline;" class="">client.domain.com</a>:1016-><a href="http://server3.domain.com/" style="color: purple; text-decoration: underline;" class="">server3.domain.com</a>:49171 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 2893 root 13u IPv4 15422 0t0 TCP<span class="Apple-converted-space"> </span><a href="http://client.domain.com/" style="color: purple; text-decoration: underline;" class="">client.domain.com</a>:1020-><a href="http://server1.domain.com/" style="color: purple; text-decoration: underline;" class="">server1.domain.com</a>:49171 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 2893 root 15u IPv4 15439 0t0 TCP<span class="Apple-converted-space"> </span><a href="http://client.domain.com/" style="color: purple; text-decoration: underline;" class="">client.domain.com</a>:1018-><a href="http://server4.domain.com/" style="color: purple; text-decoration: underline;" class="">server4.domain.com</a>:49171 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 2998 root 9u IPv4 15523 0t0 TCP<span class="Apple-converted-space"> </span><a href="http://client.domain.com/" style="color: purple; text-decoration: underline;" class="">client.domain.com</a>:1014-><a href="http://server1.domain.com/" style="color: purple; text-decoration: underline;" class="">server1.domain.com</a>:24007 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 2998 root 10u IPv4 15588 0t0 TCP<span class="Apple-converted-space"> </span><a href="http://client.domain.com/" style="color: purple; text-decoration: underline;" class="">client.domain.com</a>:1006-><a href="http://server2.domain.com/" style="color: purple; text-decoration: underline;" class="">server2.domain.com</a>:49157 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 2998 root 11u IPv4 15576 0t0 TCP<span class="Apple-converted-space"> </span><a href="http://client.domain.com/" style="color: purple; text-decoration: underline;" class="">client.domain.com</a>:1007-><a href="http://server3.domain.com/" style="color: purple; text-decoration: underline;" class="">server3.domain.com</a>:49157 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 2998 root 14u IPv4 15549 0t0 TCP<span class="Apple-converted-space"> </span><a href="http://client.domain.com/" style="color: purple; text-decoration: underline;" class="">client.domain.com</a>:1012-><a href="http://server1.domain.com/" style="color: purple; text-decoration: underline;" class="">server1.domain.com</a>:49157 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 2998 root 16u IPv4 15569 0t0 TCP<span class="Apple-converted-space"> </span><a href="http://client.domain.com/" style="color: purple; text-decoration: underline;" class="">client.domain.com</a>:1009-><a href="http://server4.domain.com/" style="color: purple; text-decoration: underline;" class="">server4.domain.com</a>:49157 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 46813 root 10u IPv4 342418 0t0 TCP<span class="Apple-converted-space"> </span><a href="http://client.domain.com/" style="color: purple; text-decoration: underline;" class="">client.domain.com</a>:1019-><a href="http://server1.domain.com/" style="color: purple; text-decoration: underline;" class="">server1.domain.com</a>:24007 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 46813 root 11u IPv4 342445 0t0 TCP client.domain.com:busboy-><a href="http://server2.domain.com/" style="color: purple; text-decoration: underline;" class="">server2.domain.com</a>:49152 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 46813 root 15u IPv4 342428 0t0 TCP client.domain.com:surf-><a href="http://server1.domain.com/" style="color: purple; text-decoration: underline;" class="">server1.domain.com</a>:49152 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 46813 root 16u IPv4 342434 0t0 TCP<span class="Apple-converted-space"> </span><a href="http://client.domain.com/" style="color: purple; text-decoration: underline;" class="">client.domain.com</a>:1002-><a href="http://server4.domain.com/" style="color: purple; text-decoration: underline;" class="">server4.domain.com</a>:49152 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs 46813 root 17u IPv4 342440 0t0 TCP client.domain.com:cadlock2-><a href="http://server3.domain.com/" style="color: purple; text-decoration: underline;" class="">server3.domain.com</a>:49152 (ESTABLISHED)<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Glusterfs RPMs installed:<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs-libs-3.6.0.54-1<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs-api-3.6.0.54-1<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs-fuse-3.6.0.54-1<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">glusterfs-3.6.0.54-1<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Ryan Wyler<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><a href="mailto:Ryan.j.wyler@wellsfargo.com" style="color: purple; text-decoration: underline;" class="">Ryan.j.wyler@wellsfargo.com</a><o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Gluster-users mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:Gluster-users@gluster.org" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Gluster-users@gluster.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://www.gluster.org/mailman/listinfo/gluster-users" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://www.gluster.org/mailman/listinfo/gluster-users</a></div></blockquote></div><br class=""></div></body></html>