<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&nbsp;</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&nbsp;</div><div>Wrong brick type: /gfs/mybox/brick1, use &lt;HOSTNAME&gt;:&lt;export-dir-abs-path&gt;</div><div>Usage: volume create &lt;NEW-VOLNAME&gt; [stripe &lt;COUNT&gt;] [replica &lt;COUNT&gt; [arbiter &lt;COUNT&gt;]] [disperse [&lt;COUNT&gt;]] [disperse-data &lt;COUNT&gt;] [redundancy &lt;COUNT&gt;] [transport &lt;tcp|rdma|tcp,rdma&gt;] &lt;NEW-BRICK&gt;?&lt;vg_name&gt;... [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 &lt;<a href="mailto:jwillis0720@gmail.com">jwillis0720@gmail.com</a>&gt;<br><span style="font-weight:bold">Date: </span> Saturday, 15 August 2015 11:02<br><span style="font-weight:bold">To: </span> Mark Lewis &lt;<a href="mailto:mark@stuff2cloud.com">mark@stuff2cloud.com</a>&gt;<br><span style="font-weight:bold">Cc: </span> Atin Mukherjee &lt;<a href="mailto:atin.mukherjee83@gmail.com">atin.mukherjee83@gmail.com</a>&gt;, &quot;<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>&quot; &lt;<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>&gt;<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 &lt;<a href="mailto:mark@stuff2cloud.com" class="">mark@stuff2cloud.com</a>&gt; 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 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Size &nbsp;Used Avail Use% Mounted on</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">/dev/mapper/centos-root &nbsp; 50G &nbsp;1.3G &nbsp; 49G &nbsp; 3% /</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">devtmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 7.8G &nbsp; &nbsp; 0 &nbsp;7.8G &nbsp; 0% /dev</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;7.8G &nbsp; &nbsp; 0 &nbsp;7.8G &nbsp; 0% /dev/shm</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;7.8G &nbsp;8.7M &nbsp;7.8G &nbsp; 1% /run</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;7.8G &nbsp; &nbsp; 0 &nbsp;7.8G &nbsp; 0% /sys/fs/cgroup</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">/dev/sda1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;497M &nbsp;164M &nbsp;334M &nbsp;33% /boot</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">/dev/mapper/centos-home &nbsp;166G &nbsp; 33M &nbsp;166G &nbsp; 1% /home</font></div><div style="font-size: 14px;" class=""><font face="Consolas" class="">/dev/mapper/brick1 &nbsp; &nbsp; &nbsp; &nbsp;17T &nbsp; 34M &nbsp; 17T &nbsp; 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&nbsp;mybox&nbsp;is not in 'Peer in Cluster’&nbsp;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&nbsp;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 &lt;<a href="mailto:atin.mukherjee83@gmail.com" class="">atin.mukherjee83@gmail.com</a>&gt;<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 &lt;<a href="mailto:mark@stuff2cloud.com" class="">mark@stuff2cloud.com</a>&gt;<br class=""><span style="font-weight:bold" class="">Cc: </span>&quot;<a href="mailto:Gluster-users@gluster.org" class="">Gluster-users@gluster.org</a>&quot; &lt;<a href="mailto:Gluster-users@gluster.org" class="">Gluster-users@gluster.org</a>&gt;<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, &quot;Mark s2c&quot; &lt;<a href="mailto:mark@stuff2cloud.com" class="">mark@stuff2cloud.com</a>&gt; 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>