Gerry Reno writes:
Is this a bug with the client command option: --server ? Or is
something else expected as an argument?
glusterfs -l /var/log/glusterfs.log -L DEBUG --spec-file
/usr/local/etc/glusterfs/test-client.vol --server=192.168.1.25
--port=6996 /mnt/glusterfs0/ #THIS COMMAND DOES NOT WORK
glusterfs -l /var/log/glusterfs.log -L DEBUG --spec-file
/usr/local/etc/glusterfs/test-client.vol --port=6996
/mnt/glusterfs0/ #THIS COMMAND DOES WORK (run from 192.168.1.25)
Hi Gerry,
--server option overrides --spec-file to fetch the spec file from the
server instead. Also --port requires --server.
I fixed it to behave as you expected. Now glusterfs client will error
out with an appropriate message for the following cases:
* if you combine --spec-file and --server
* if you pass --port and not --server
Thanks for reporting. Fix is in GNU TLA archive.
--
Anand Babu
GPG Key ID: 0x62E15A31
Blog [http://ab.freeshell.org]
The GNU Operating System [http://www.gnu.org]