[root at 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 at 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 at gmail.com<mailto:atin.mukherjee83 at gmail.com>> Date: Friday, 14 August 2015 15:17 To: Mark Lewis <mark at stuff2cloud.com<mailto:mark at stuff2cloud.com>> Cc: "Gluster-users at gluster.org<mailto:Gluster-users at gluster.org>" <Gluster-users at gluster.org<mailto:Gluster-users at gluster.org>> Subject: Re: [Gluster-users] 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 at stuff2cloud.com<mailto:mark at stuff2cloud.com>> 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 at gluster.org<mailto:Gluster-users at gluster.org> http://www.gluster.org/mailman/listinfo/gluster-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150815/bf423be0/attachment.html>
What does hostname command output? It seems like you are using a bad hostname. -Atin Sent from one plus one On Aug 15, 2015 3:07 PM, "Mark s2c" <mark at stuff2cloud.com> wrote:> > [root at 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 at mybox ~]# !531 > gluster volume create myVol1 mybox:/gfs/mybox/brick1 > volume create: myVol1: failed: Host mybox is not in 'Peer inCluster? state> > Can you give me the command cos I can only find one instance of it on thenet and it?s this one.> > Much obliged. > > From: Atin Mukherjee <atin.mukherjee83 at gmail.com> > Date: Friday, 14 August 2015 15:17 > To: Mark Lewis <mark at stuff2cloud.com> > Cc: "Gluster-users at gluster.org" <Gluster-users at gluster.org> > Subject: Re: [Gluster-users] One volume gluster vol > >> Can you please detail the exact issue. I don't see any issue in settinga single node cluster apart from sacrificing high availability.>> >> -Atin >> Sent from one plus one >> >> On Aug 14, 2015 1:06 PM, "Mark s2c" <mark at stuff2cloud.com> 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 Ireference 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 Iuse 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 at gluster.org >>> http://www.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150815/78cc0937/attachment.html>
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/brick1or> gluster volume create myVol1 localhost:/gfs/mybox/brick1> On Aug 15, 2015, at 2:37 AM, Mark s2c <mark at stuff2cloud.com> wrote: > > [root at 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 at 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 at gmail.com <mailto:atin.mukherjee83 at gmail.com>> > Date: Friday, 14 August 2015 15:17 > To: Mark Lewis <mark at stuff2cloud.com <mailto:mark at stuff2cloud.com>> > Cc: "Gluster-users at gluster.org <mailto:Gluster-users at gluster.org>" <Gluster-users at gluster.org <mailto:Gluster-users at gluster.org>> > Subject: Re: [Gluster-users] 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 at stuff2cloud.com <mailto:mark at stuff2cloud.com>> 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 at gluster.org <mailto:Gluster-users at gluster.org> >>> http://www.gluster.org/mailman/listinfo/gluster-users <http://www.gluster.org/mailman/listinfo/gluster-users> > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150815/9a55fe9f/attachment.html>