<p dir="ltr"></p>
<p dir="ltr">-Atin<br>
Sent from one plus one<br>
On Aug 15, 2015 3:32 PM, "Jordan Willis" <<a href="mailto:jwillis0720@gmail.com">jwillis0720@gmail.com</a>> wrote:<br>
><br>
> 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.<br>
>><br>
>> gluster volume create myVol1 /gfs/mybox/brick1<br>
><br>
><br>
> or<br>
><br>
>> gluster volume create myVol1 localhost:/gfs/mybox/brick1<br>
AFAIK hostname is mandatory<br>
><br>
><br>
><br>
><br>
>> On Aug 15, 2015, at 2:37 AM, Mark s2c <<a href="mailto:mark@stuff2cloud.com">mark@stuff2cloud.com</a>> wrote:<br>
>><br>
>> [root@mybox ~]# df -h<br>
>> Filesystem Size Used Avail Use% Mounted on<br>
>> /dev/mapper/centos-root 50G 1.3G 49G 3% /<br>
>> devtmpfs 7.8G 0 7.8G 0% /dev<br>
>> tmpfs 7.8G 0 7.8G 0% /dev/shm<br>
>> tmpfs 7.8G 8.7M 7.8G 1% /run<br>
>> tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup<br>
>> /dev/sda1 497M 164M 334M 33% /boot<br>
>> /dev/mapper/centos-home 166G 33M 166G 1% /home<br>
>> /dev/mapper/brick1 17T 34M 17T 1% /gfs/mybox/brick1<br>
>> [root@mybox ~]# !531<br>
>> gluster volume create myVol1 mybox:/gfs/mybox/brick1<br>
>> volume create: myVol1: failed: Host mybox is not in 'Peer in Cluster’ state<br>
>><br>
>> Can you give me the command cos I can only find one instance of it on the net and it’s this one.<br>
>><br>
>> Much obliged.<br>
>><br>
>> From: Atin Mukherjee <<a href="mailto:atin.mukherjee83@gmail.com">atin.mukherjee83@gmail.com</a>><br>
>> Date: Friday, 14 August 2015 15:17<br>
>> To: Mark Lewis <<a href="mailto:mark@stuff2cloud.com">mark@stuff2cloud.com</a>><br>
>> Cc: "<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>
>> Subject: Re: [Gluster-users] One volume gluster vol<br>
>><br>
>>> Can you please detail the exact issue. I don't see any issue in setting a single node cluster apart from sacrificing high availability.<br>
>>> -Atin<br>
>>> Sent from one plus one<br>
>>> On Aug 14, 2015 1:06 PM, "Mark s2c" <<a href="mailto:mark@stuff2cloud.com">mark@stuff2cloud.com</a>> wrote:<br>
>>>><br>
>>>><br>
>>>><br>
>>>> Hello can I create a one volume gfs vol?<br>
>>>> 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>
>>>><br>
>>>> 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>
>>>> _______________________________________________<br>
>>>> Gluster-users mailing list<br>
>>>> <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
>>>> <a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
>><br>
>> _______________________________________________<br>
>> Gluster-users mailing list<br>
>> <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
>> <a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
><br>
><br>
</p>