[Gluster-users] command failure

Thing thing.thing at gmail.com
Mon Dec 14 00:34:18 UTC 2015


I am trying to setup a replication across 3 servers, for some reason I get
a failure,

/data1 is my 120gb test volume, (I am waiting on the arrival of 3 x 1tb
disks)

The failure I get is,

=====
[root at ipa1 salt]# salt glusterp1.graywitch.co.nz cmd.run "gluster volume
create glustervol01 replica 3 glusterp1.graywitch.co.nz:/data01
glusterp2.graywitch.co.nz:/data01 glusterp3.graywitch.co.nz:/data01"
glusterp1.graywitch.co.nz:
    volume create: glustervol01: failed: The brick
glusterp1.graywitch.co.nz:/data01 is being created in the root partition.
It is recommended that you don't use the system's root partition for
storage backend. Or use 'force' at the end of the command if you want to
override this behavior.
=====

I am not trying to create this in the root partition but a separate
partition but on the same disk.

S do I have syntax error or do I jsut use "force"?

here is the full disk layout,

============
[root at ipa1 salt]# salt '*' cmd.run "df -h"
glusterp2.graywitch.co.nz:
    Filesystem                 Size  Used Avail Use% Mounted on
    /dev/mapper/centos-root00   20G  3.4G   17G  17% /
    devtmpfs                   1.8G     0  1.8G   0% /dev
    tmpfs                      1.8G   96K  1.8G   1% /dev/shm
    tmpfs                      1.8G  8.8M  1.8G   1% /run
    tmpfs                      1.8G     0  1.8G   0% /sys/fs/cgroup
    /dev/mapper/centos-tmp     3.9G   33M  3.9G   1% /tmp
    /dev/mapper/centos-var01    20G  244M   20G   2% /var
    /dev/mapper/centos-home00   50G   37M   50G   1% /home
    /dev/mapper/centos-data1   120G   33M  120G   1% /data1
    /dev/sda1                  997M  171M  826M  18% /boot
glusterp1.graywitch.co.nz:
    Filesystem                Size  Used Avail Use% Mounted on
    /dev/mapper/centos-root    20G  3.4G   17G  17% /
    devtmpfs                  1.8G     0  1.8G   0% /dev
    tmpfs                     1.8G   96K  1.8G   1% /dev/shm
    tmpfs                     1.8G  8.8M  1.8G   1% /run
    tmpfs                     1.8G     0  1.8G   0% /sys/fs/cgroup
    /dev/mapper/centos-var     20G  244M   20G   2% /var
    /dev/mapper/centos-home    50G   37M   50G   1% /home
    /dev/mapper/centos-tmp    3.9G   33M  3.9G   1% /tmp
    /dev/mapper/centos-data1  120G   33M  120G   1% /data1
    /dev/sda1                 997M  171M  826M  18% /boot
glusterp3.graywitch.co.nz:
    Filesystem                 Size  Used Avail Use% Mounted on
    /dev/mapper/centos-root     20G  3.4G   17G  17% /
    devtmpfs                   1.8G     0  1.8G   0% /dev
    tmpfs                      1.8G   96K  1.8G   1% /dev/shm
    tmpfs                      1.8G  8.8M  1.8G   1% /run
    tmpfs                      1.8G     0  1.8G   0% /sys/fs/cgroup
    /dev/mapper/centos-data01  120G   33M  120G   1% /data01
    /dev/mapper/centos-home     50G   37M   50G   1% /home
    /dev/mapper/centos-tmp     3.9G   33M  3.9G   1% /tmp
    /dev/mapper/centos-var      20G  490M   20G   3% /var
    /dev/sda1                  997M  154M  844M  16% /boot

[root at ipa1 salt]# salt glusterp1.graywitch.co.nz cmd.run "gluster volume
create glustervol01 replica 3 glusterp1.graywitch.co.nz:/data01
glusterp2.graywitch.co.nz:/data01 glusterp3.graywitch.co.nz:/data01"
glusterp1.graywitch.co.nz:
    volume create: glustervol01: failed: The brick
glusterp1.graywitch.co.nz:/data01 is being created in the root partition.
It is recommended that you don't use the system's root partition for
storage backend. Or use 'force' at the end of the command if you want to
override this behavior.
ERROR: Minions returned with non-zero exit code
[root at ipa1 salt]#
==============
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20151214/c65159fa/attachment.html>


More information about the Gluster-users mailing list