Bug 796105 - df output still shows primary volfile-server even when backupvolfile-server was used
Summary: df output still shows primary volfile-server even when backupvolfile-server w...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: fuse
Version: mainline
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-02-22 10:29 UTC by Anush Shetty
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:42:49 UTC
Regression: ---
Mount Type: fuse
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Anush Shetty 2012-02-22 10:29:11 UTC
Description of problem: When the fuse client is mounted through the backupvolfile-server, the df output displays the mount with the primary volfile-server which was invalid. 


Version-Release number of selected component (if applicable): 3.3.0qa23


Steps to Reproduce:
1.  mount -t glusterfs -o backupvolfile-server=192.168.1.34  192.168.2.123:/test2 /falcon/mnt


Actual results:

# df -h &

~# Filesystem            Size  Used Avail Use% Mounted on

192.168.2.123:/test2  191G  217M  191G   1% /falcon/mnt



Expected results:

it should display the IP in backupvolfile-server.

Comment 1 Amar Tumballi 2012-02-22 12:05:55 UTC
-----
[root@supernova ~]# mount -t glusterfs -obackupvolfile-server=supernova 192.168.5.10:/test-r /mnt/glusterfs
[root@supernova ~]# df -h /mnt/glusterfs
Filesystem            Size  Used Avail Use% Mounted on
supernova:/test-r      19G   14G  3.6G  80% /mnt/glusterfs

-----

Works for me with 3.3.0qa23, can you please confirm the behavior again?

Comment 2 Anush Shetty 2012-04-09 03:14:46 UTC
I still see the same issue,

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.2 (Santiago

# mount -t glusterfs -o backupvolfile-server=10.16.157.90 192.168.2.123:/testvol /mnt/perfmount/

# df -h &
[1] 26488
[root@gqac031 ~]# Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_gqac031-lv_root
                       50G  3.5G   44G   8% /
tmpfs                  24G     0   24G   0% /dev/shm
/dev/sda1             485M   61M  399M  14% /boot
/dev/mapper/vg_gqac031-lv_home
                      361G  291M  342G   1% /home
192.168.2.123:/testvol
                       50G  3.5G   44G   8% /mnt/perfmount

Comment 3 Amar Tumballi 2012-05-03 07:29:45 UTC
Tried it multiple times with different combinations of unresolvable/resolvable hostnames/IPs, not able to reproduce. Please verify

Comment 4 Anush Shetty 2012-05-03 09:05:25 UTC
Verified with 3.3.0qa39


Note You need to log in before you can comment on or make changes to this bug.