<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>Hello </div><div>Thanks for the suggestions, but they don’t work:</div><div><br></div><div><div>[root@mybox ~]# gluster volume create myVol1 /gfs/mybox/brick1 </div><div>Wrong brick type: /gfs/mybox/brick1, use <HOSTNAME>:<export-dir-abs-path></div><div>Usage: volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT> [arbiter <COUNT>]] [disperse [<COUNT>]] [disperse-data <COUNT>] [redundancy <COUNT>] [transport <tcp|rdma|tcp,rdma>] <NEW-BRICK>?<vg_name>... [force]</div></div><div><br></div><div><div>[root@mybox ~]# gluster volume create myvol localhost:/gfs/mybox/brick1</div><div>Please provide a valid hostname/ip other than localhost, 127.0.0.1 or loopback address (0.0.0.0 to 0.255.255.255).</div></div><div><br></div><div>And as a recap, when I follow this form (which I did at first, hence the post):</div><div><div>[root@mybox ~]# gluster volume create myvol1 mybox:/gfs/mybox/brick1</div><div>volume create: myvol1: failed: Host mybox is not in 'Peer in Cluster’ state</div></div><div><br></div><div>Any other alternative suggestions would be useful.</div><div>Thanks</div><div><br><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Jordan Willis <<a href="mailto:jwillis0720@gmail.com">jwillis0720@gmail.com</a>><br><span style="font-weight:bold">Date: </span> Saturday, 15 August 2015 11:02<br><span style="font-weight:bold">To: </span> Mark Lewis <<a href="mailto:mark@stuff2cloud.com">mark@stuff2cloud.com</a>><br><span style="font-weight:bold">Cc: </span> Atin Mukherjee <<a href="mailto:atin.mukherjee83@gmail.com">atin.mukherjee83@gmail.com</a>>, "<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>" <<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [Gluster-users] One volume gluster vol<br></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
If you are creating a volume that your brick is already mounted on, I’m not even sure you have to give it a hostname.
<div class=""><blockquote type="cite" class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><div class="" style="font-size: 14px;"><span style="font-family: Consolas;" class="">gluster volume create myVol1 /gfs/mybox/brick1</span></div></div></div></blockquote><br class=""></div><div class="">or</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><div class="" style="font-size: 14px;"><span style="font-family: Consolas;" class="">gluster volume create myVol1 localhost:/gfs/mybox/brick1</span></div></div></div></blockquote></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 15, 2015, at 2:37 AM, Mark s2c <<a href="mailto:mark@stuff2cloud.com" class="">mark@stuff2cloud.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div style="font-size: 14px;" class=""><font face="Consolas" class="">[root@mybox ~]# df -h</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">Filesystem Size Used Avail Use% Mounted on</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">/dev/mapper/centos-root 50G 1.3G 49G 3% /</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">devtmpfs 7.8G 0 7.8G 0% /dev</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">tmpfs 7.8G 0 7.8G 0% /dev/shm</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">tmpfs 7.8G 8.7M 7.8G 1% /run</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">/dev/sda1 497M 164M 334M 33% /boot</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">/dev/mapper/centos-home 166G 33M 166G 1% /home</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">/dev/mapper/brick1 17T 34M 17T 1% /gfs/mybox/brick1</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">[root@mybox ~]# !531</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">gluster volume create myVol1 mybox:/gfs/mybox/brick1</font></div><div class=""><font face="Consolas" class="">volume create: myVol1: failed: Host mybox is not in 'Peer in Cluster’ state</font></div></div><div class=""><font face="Consolas" class=""><br class=""></font></div><div class=""><font face="Consolas" class="">Can you give me the command cos I can only find one instance of it on the net and it’s this one.</font></div><div class=""><font face="Consolas" class=""><br class=""></font></div><div class=""><font face="Consolas" class="">Much obliged.</font></div><div style="font-size: 14px; font-family: Calibri, sans-serif;" class=""><br class=""></div><span id="OLK_SRC_BODY_SECTION" style="font-size: 14px; font-family: Calibri, sans-serif;" class=""><div style="font-family: Calibri; font-size: 11pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223);" class=""><span style="font-weight:bold" class="">From: </span>Atin Mukherjee <<a href="mailto:atin.mukherjee83@gmail.com" class="">atin.mukherjee83@gmail.com</a>><br class=""><span style="font-weight:bold" class="">Date: </span>Friday, 14 August 2015 15:17<br class=""><span style="font-weight:bold" class="">To: </span>Mark Lewis <<a href="mailto:mark@stuff2cloud.com" class="">mark@stuff2cloud.com</a>><br class=""><span style="font-weight:bold" class="">Cc: </span>"<a href="mailto:Gluster-users@gluster.org" class="">Gluster-users@gluster.org</a>" <<a href="mailto:Gluster-users@gluster.org" class="">Gluster-users@gluster.org</a>><br class=""><span style="font-weight:bold" class="">Subject: </span>Re: [Gluster-users] One volume gluster vol<br class=""></div><div class=""><br class=""></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;" class="" type="cite"><div dir="ltr" class="">Can you please detail the exact issue. I don't see any issue in setting a single node cluster apart from sacrificing high availability.</div><div dir="ltr" class="">-Atin<br class="">
Sent from one plus one</div><div class="gmail_quote">On Aug 14, 2015 1:06 PM, "Mark s2c" <<a href="mailto:mark@stuff2cloud.com" class="">mark@stuff2cloud.com</a>> wrote:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" type="cite"><br class=""><br class="">
Hello can I create a one volume gfs vol?<br class="">
As I have no peer, I appear to only have local host and even if I reference it with its host name as the error says, it doesn't work. Is it even possible or do I need a second server?<br class=""><br class="">
We've just bought a big box so a second would be a big outlay. Could I use a VM with disproportionate bricks just to get the peerage set up and then remove one of the members?<br class="">
_______________________________________________<br class="">
Gluster-users mailing list<br class=""><a href="mailto:Gluster-users@gluster.org" class="">Gluster-users@gluster.org</a><br class=""><a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank" class="">http://www.gluster.org/mailman/listinfo/gluster-users</a><br class=""></blockquote></div></blockquote></span></div>
_______________________________________________<br class="">
Gluster-users mailing list<br class=""><a href="mailto:Gluster-users@gluster.org" class="">Gluster-users@gluster.org</a><br class="">
<a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></div></blockquote></div><br class=""></div></div></div></blockquote></span></body></html>