From: Steve W. <st...@pu...> - 2015-01-28 15:09:45
|
I have a generic script that is used for mounting MooseFS filesystems on my workstations. Some of the workstations have multiple IP addresses, including those workstations that also double as a MooseFS master server. These will have a master server IP address along with their normal IP address that can easily be moved to another workstation (i.e., the metalogger server) when I want that workstation to become the master server. So the script I use supplies the default hostname (as given by /bin/hostname) to the -B option of mfsmount. And, like I mentioned earlier, this has been working quite successfully for several years up until this installation of CentOS 7. I did find that using the IP address instead of the hostname does work correctly so I'll probably change my scripts to use an IP address: > [root@sbmonitor mnt]# mfsmount /mnt/mfs -B10.145.7.33 > -Hsb-data.bio.purdue.edu -S/cosit > mfsmaster accepted connection with parameters: > read-write,restricted_ip ; root mapped to root:root Thanks, Steve On 01/28/2015 09:32 AM, Aleksander Wieliczko wrote: > Hi > What is the reason that you want to use different IP address for > client binding, than your default NIC ip? > > -B IP option is the same as -o mfsbind=IP ---define source ip address > for connections (default: NOT DEFINED - chosen automatically by OS) > > Best regards > Aleksander Wieliczko > Technical Support Engineer > MooseFS.com <moosefs.com> > > On 01/28/2015 03:08 PM, Steve Wilson wrote: >> Hi, >> >> When using the -B option to mfsmount after upgrading to CentOS 7, I get >> the following error: >>> [root@sbmonitor mnt]# mfsmount /mnt/mfs -Bsbmonitor.bio.purdue.edu >>> -Hsb-data.bio.purdue.edu -S/cosit >>> can't bind socket to given ip ("10.147.7.33") >> This same command works on CentOS 6, RHEL 6, Ubuntu 12.04, and Ubuntu >> 14.04 but doesn't work on CentOS 7. This is my first CentOS 7 >> installation so I'm still learning its subtle and not-so-subtle >> differences. I'm not sure if this is a problem with my CentOS 7 >> configuration or a MooseFS problem. >> >> If I attempt to perform the mount without the -B option, it works fine: >>> [root@sbmonitor mnt]# mfsmount /mnt/mfs -Bsbmonitor.bio.purdue.edu >>> -Hsb-data.bio.purdue.edu -S/cosit >>> can't bind socket to given ip ("10.147.7.33") >> Any ideas what the problem could be? Can anyone reproduce this on >> another CentOS 7 or RHEL 7 installation? >> >> Thanks! >> >> Steve >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now.http://goparallel.sourceforge.net/ >> _______________________________________________ >> moosefs-users mailing list >> moo...@li... >> https://lists.sourceforge.net/lists/listinfo/moosefs-users > |