tony.bussieres at vmd.desjardins.com
2008-Dec-10 22:17 UTC
[Gluster-users] df returns weird values
Hi, I'm starting to play with glusterfs, and I'm having a problem with the df output. The value seems to be wrong. (on the client) /var/mule-client$ du -sh 584K . /var/mule-client$ df -h /var/mule-client/ Filesystem Size Used Avail Use% Mounted on glusterfs 254G 209G 32G 88% /var/mule-client (on the server) /var/mule$ du -sh 584K . Is it a known issue ? I've mounted /var/mule-client using glusterfs -f mycnffile /var/mule-client My client runs : glusterfs --version glusterfs 1.3.12 built on Dec 10 2008 11:32:16 Repository revision: glusterfs--mainline--2.5--patch-797 Copyright (c) 2006, 2007, 2008 Z RESEARCH Inc. <http://www.zresearch.com> GlusterFS comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GlusterFS under the terms of the GNU General Public License. Client config : volume mule type protocol/client option transport-type tcp/client option remote-host sdco1cdba option remote-subvolume brick-afr option transport-timeout 10 end-volume Server : glusterfs --version glusterfs 1.3.12 built on Sep 12 2008 13:38:21 Repository revision: glusterfs--mainline--2.5--patch-797 Copyright (c) 2006, 2007, 2008 Z RESEARCH Inc. <http://www.zresearch.com> GlusterFS comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GlusterFS under the terms of the GNU General Public License. volume brick type storage/posix # POSIX FS translator option directory /var/mule # Export this directory end-volume volume brick-locks type features/posix-locks # POSIX locks subvolumes brick end-volume volume brick-afr type cluster/afr subvolumes brick-locks option self-heal on end-volume ### Add network serving capability to above brick. volume server type protocol/server option transport-type tcp/server # For TCP/IP transport option listen-port 6996 # Default is 6996 subvolumes brick-locks option auth.ip.brick-afr.allow * # Allow access to "brick-afr" volume option auth.ip.brick-locks.allow * # Allow access to "brick-locks" volume end-volume Thanks! P.S. Is there a way to search the mailing list archive? - Tony Bussi?res Valeurs mobili?res Desjardins - TI - L'int?grit? des informations transmises dans ce courriel n?est pas garantie par Valeurs mobili?res Desjardins, qui d?cline toute responsabilit? quant aux dommages caus?s par leur modification frauduleuse. Ce courriel est confidentiel et est ? l?usage exclusif de son destinataire. Toute personne qui re?oit celui-ci par erreur doit en informer imm?diatement son exp?diteur et le d?truire sur-le-champ. Toute autre utilisation des informations qu?il contient est strictement interdite. Valeurs mobili?res Desjardins se r?serve le droit de surveiller toutes les communications transmises par courrier ?lectronique par l?interm?diaire de ses r?seaux. Les instructions relatives ? des op?rations achemin?es par courrier ?lectronique ne seront pas accept?es. Le pr?sent avertissement ne limite aucunement tout autre avertissement plus restrictif qui vous aurait ?t? transmis par Valeurs mobili?res Desjardins. - The integrity of the transmitted information in this email is not guaranteed by Desjardins Securities, which accepts no liability for any damage caused by its fraudulent alteration. This email is confidential and is intended for the sole use of the recipient or authorized representative of the recipient. Any person who receives this email by mistake shall immediately notify the sender and destroy it. Any other use of the information therein is strictly prohibited. Desjardins Securities reserves the right to monitor all communications sent by e-mail through its networks. Instructions related to operations sent by e-mail will not be accepted. In no way does this notice limit other more restrictive warnings that may have been sent to you by Desjardins Securities. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20081210/ce22d03e/attachment.html>
> > I'm starting to play with glusterfs, and I'm having a problem with the df > output. > The value seems to be wrong. > > > (on the client) > /var/mule-client$ du -sh > 584K . > > > /var/mule-client$ df -h /var/mule-client/ > Filesystem Size Used Avail Use% Mounted on > glusterfs 254G 209G 32G 88% /var/mule-client > > > (on the server) > /var/mule$ du -sh > 584K . > > Is it a known issue ?df output returns the filesystem information of the export directory's filesystem. This behaviour is much like NFS. avati