Bug 796105

Summary: df output still shows primary volfile-server even when backupvolfile-server was used
Product: [Community] GlusterFS Reporter: Anush Shetty <ashetty>
Component: fuseAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: amarts, gluster-bugs, rfortier, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:42:49 UTC Type: ---
Regression: --- Mount Type: fuse
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 817967    

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