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
GlusterFS(8)							   Gluster Inc. 						      GlusterFS(8)

NAME
GlusterFS - clustered file system SYNOPSIS
glusterfs [options] [mountpoint] DESCRIPTION
GlusterFS is a clustered file system, capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP and interconnect into one large parallel network file system. Storage bricks can be made of any commodity hardware, such as x86-64 server with SATA-II RAID and Infiniband HBA. GlusterFS is fully POSIX compliant file system. On client side, it has dependency on FUSE package, on server side, it works seemlessly on different operating systems. Currently supported on GNU/Linux and Solaris. OPTIONS
Basic options -f, --volfile=VOLUME-FILE File to use as VOLUME-FILE. -l, --log-file=LOGFILE File to use for logging (the default is <INSTALL-DIR>/var/log/glusterfs/<MOUNT-POINT>.log). -L, --log-level=LOGLEVEL Logging severity. Valid options are TRACE, DEBUG, INFO, WARNING, ERROR and CRITICAL (the default is INFO). -s, --volfile-server=SERVER Server to get the volume from. This option overrides --volfile option. --volfile-max-fetch-attempts=MAX-ATTEMPTS Maximum number of connect attempts to server. This option should be provided with --volfile-server option (the default is 1). Advanced options --acl Mount the filesystem with POSIX ACL support. --debug Run in debug mode. This option sets --no-daemon, --log-level to DEBUG, and --log-file to console. --enable-ino32=BOOL Use 32-bit inodes when mounting to workaround application that doesn't support 64-bit inodes. --fopen-keep-cache Do not purge the cache on file open. --mac-compat=BOOL Provide stubs for attributes needed for seamless operation on Macs (the default is off). -N, --no-daemon Run in the foreground. -p, --pid-file=PIDFILE File to use as PID file. --read-only Mount the file system in 'read-only' mode. --selinux Enable SELinux label (extended attributes) support on inodes. -S, --socket-file=SOCKFILE File to use as unix-socket. --volfile-id=KEY Key of the volume file to be fetched from the server. --volfile-server-port=PORT Port number of volfile server. --volfile-server-transport=TRANSPORT Transport type to get volume file from server (the default is tcp). --volume-name=VOLUME-NAME Volume name to be used for MOUNT-POINT (the default is top most volume in VOLUME-FILE). --worm Mount the filesystem in 'worm' mode. --xlator-option=VOLUME-NAME.OPTION=VALUE Add/Override a translator option for a volume with the specified value. Fuse options --attribute-timeout=SECONDS Set attribute timeout to SECONDS for inodes in fuse kernel module (the default is 1). --background-qlen=N Set fuse module's background queue length to N (the default is 64). --congestion-threshold=N Set fuse module's congestion threshold to N (the default is 48). --direct-io-mode=BOOL Enable/Disable the direct-I/O mode in fuse module (the default is enable). --dump-fuse=PATHR Dump fuse traffic to PATH --entry-timeout=SECONDS Set entry timeout to SECONDS in fuse kernel module (the default is 1). --gid-timeout=SECONDS Set auxilary group list timeout to SECONDS for fuse translator (the default is 0). --negative-timeout=SECONDS Set negative timeout to SECONDS in fuse kernel module (the default is 0). --volfile-check Enable strict volume file checking. Miscellaneous Options -?, --help Display this help. --usage Display a short usage message. -V, --version Print the program version. FILES
/var/lib/glusterd/vols/*/*.vol EXAMPLES
mount a volume named foo on server bar with log level DEBUG on mount point /mnt/foo # glusterfs --log-level=DEBUG --volfile-id=foo --volfile-server=bar /mnt/foo SEE ALSO
fusermount(1), mount.glusterfs(8), gluster(8) COPYRIGHT
Copyright(c) 2006-2011 Red Hat, Inc. <http://www.redhat.com> 07 March 2011 Clustered File System GlusterFS(8)
All times are GMT -4. The time now is 04:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy