Sponsored Content
Full Discussion: GlusterFS
Operating Systems Linux Red Hat GlusterFS Post 302944385 by mzainal on Tuesday 19th of May 2015 05:25:07 AM
Old 05-19-2015
GlusterFS

Hi,

I want to share storage using glusterfs. I follow tutorial as below:
https://www.howtoforge.com/how-to-in...n-ubuntu-14.04

But why size not same as i mount from lvm?
Code:
[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.
 

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Glusterfs not replicating

0 down vote favorite I have replicated glusterfs on two servers, if i create file on one server it doesnt reflect on other, if i try to heal the volume on node2 i get this error Commit failed on node2. Please check log file for details. glustershd.log E 0-test-client-3: connection to... (0 Replies)
Discussion started by: davidbob
0 Replies

2. UNIX for Beginners Questions & Answers

Glusterfs not working

Hi Guys, Does anyone of you know what will happen if I kill glusterfs process while the gluster storage is in use? I am using glusterfs version 3.6.1, and I killed some process related to glusterfs , after that the files in the gluster storage went missing. Can anyone of you give more info... (0 Replies)
Discussion started by: davidbob
0 Replies
PMDAMYSQL(1)						       Performance Co-Pilot						      PMDAMYSQL(1)

NAME
pmdamysql - MySQL database PMDA DESCRIPTION
pmdamysql is a Performance Co-Pilot PMDA which extracts live performance data from a running MySQL database. INSTALLATION
pmdamysql uses a configuration file from (in this order): o /etc/pcpdbi.conf o $PCP_PMDAS_DIR/mysql/mysql.conf This file can contain overridden values (Perl code) for the settings listed at the start of pmdamysql.pl, namely: o database name (see DBI(3) for details) o database user name o database pass word Once this is setup, you can access the names and values for the mysql performance metrics by doing the following as root: # cd $PCP_PMDAS_DIR/mysql # ./Install If you want to undo the installation, do the following as root: # cd $PCP_PMDAS_DIR/mysql # ./Remove pmdamysql is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is installed or removed. Binary Status values in text Some of the status values are in the form of YES/NO or ON/OFF. Since these cannot be intepreted by tools like PMIE, they have been duplicated with a _num extension and the values of 1 (YES/ON) or 0 (NO/OFF). Eg: o mysql.slave_status.slave_io_running o mysql.slave_status.slave_io_running_num FILES
/etc/pcpdbi.conf configuration file for all PCP database monitors $PCP_PMDAS_DIR/mysql/mysql.conf configuration file for pmdamysql $PCP_PMDAS_DIR/mysql/Install installation script for the pmdamysql agent $PCP_PMDAS_DIR/mysql/Remove undo installation script for the pmdamysql agent $PCP_LOG_DIR/pmcd/mysql.log default log file for error messages from pmdamysql SEE ALSO
pmcd(1), pmdadbping.pl(1) and DBI(3). # vi: sw=4 ts=4 et: 3.8.10 Performance Co-Pilot PMDAMYSQL(1)
All times are GMT -4. The time now is 10:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy