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