Cooper Clauson
2015-Sep-06 00:26 UTC
[Gluster-users] export volume from host with no brick?
Hi, I'm starting out with glusterfs, really liking it, it's really great! I have a question--is there any way for a host to appear to export a volume which is available on the network, even though that host does not have a brick associated with that volume? To explain further, I have a number of hosts that are part of a cluster, I would like them all to appear to export the same services (i.e., the glusterfs volume), however on a hardware level only some of them are equipped with drives that are part of the volume. So host A has a brick, host B has a brick, but host C does not. Of the three commands: mount -t glusterfs A:/Volume /mnt/mntpoint mount -t glusterfs B:/Volume /mnt/mntpoint mount -t glusterfs C:/Volume /mnt/mntpoint The first two will succeed, the third will fail. Is there any way to get the third to succeed, short of buying an additional hard disk for host C and adding it to the volume? Is there a "workaround solution" that might involve adding an empty brick? Thanks so much, C. Clauson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150905/1e84d954/attachment.html>
Raghavendra Talur
2015-Sep-11 09:36 UTC
[Gluster-users] export volume from host with no brick?
On Sun, Sep 6, 2015 at 5:56 AM, Cooper Clauson <ceclauson at hotmail.com> wrote:> mount -t glusterfs A:/Volume /mnt/mntpoint > mount -t glusterfs B:/Volume /mnt/mntpoint > mount -t glusterfs C:/Volume /mnt/mntpoint > > The first two will succeed, the third will fail.No, the third command will also succeed provided C is in trusted storage pool. All you need to do is "gluster peer probe C" from A or B.