Hi,
I want to share storage using glusterfs. I follow tutorial as below:
But why size not same as i mount from lvm?
[root@localhost glusterfs]# gluster volume info
Volume Name: mysql-db
Type: Replicate
Volume ID: 7fd3178c-30d5-496e-8653-91be074d80da
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: node1:/data/gluster/brick
Brick2: node2:/data/gluster/brick
Options Reconfigured:
performance.readdir-ahead: on
[root@localhost glusterfs]#
[root@localhost glusterfs]# mount -t glusterfs node1:/mysql-db /opt/mysql
[root@localhost glusterfs]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rhel-root 50G 7.5G 43G 15% /
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 16G 8.5M 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/mapper/rhel-home 40G 33M 40G 1% /home
/dev/sda1 497M 98M 400M 20% /boot
/dev/mapper/vol_san1-mysql 500G 33M 500G 1% /data/gluster
node1:/mysql-db 50G 3.2G 47G 7% /opt/mysql
[root@localhost glusterfs]#
Any idea what i miss?
Thanks.