Bug 1176835 - [USS] : statfs call fails on USS.
Summary: [USS] : statfs call fails on USS.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: snapshot
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 3.1.0
Assignee: Mohammed Rafi KC
QA Contact: Anil Shah
URL:
Whiteboard: USS
Depends On:
Blocks: 1153907 1176837 1202842 1223636
TreeView+ depends on / blocked
 
Reported: 2014-12-23 12:45 UTC by Avra Sengupta
Modified: 2016-09-17 13:06 UTC (History)
13 users (show)

Fixed In Version: glusterfs-3.7.0-3.el6rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1176837 (view as bug list)
Environment:
Last Closed: 2015-07-29 04:37:25 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC

Description Avra Sengupta 2014-12-23 12:45:55 UTC
Description of problem:
statfs is not handled in user-serviceable snaps


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


How reproducible:


Steps to Reproduce:
1. getconf NAME_MAX /mnt/.snaps/<snap-name>
2.
3.

Actual results:
getconf fails


Expected results:
getconf should not fail


Additional info:

Comment 3 Pavithra 2014-12-31 06:30:58 UTC
Avra,

I see this bug in the known issues tracker bug for 3.0.3. Can you please change the doc type field to known issue and fill out the doc text?

Comment 4 Pavithra 2014-12-31 07:17:58 UTC
Hi Avra, 

Can you please review the edited doc text for technical accuracy and sign off?

Comment 5 Avra Sengupta 2014-12-31 09:18:39 UTC
Looks good Pavithra. Thanks.

Comment 7 Avra Sengupta 2015-07-04 19:13:26 UTC
Fixed with http://review.gluster.org/#/c/10356/ and http://review.gluster.org/#/c/10358/

Comment 8 Anil Shah 2015-07-06 06:46:37 UTC
[root@client glusterfs]# ./statvfs /mnt/glusterfs/.snaps
f_bsize (block size): 1702057286
f_frsize (fragment size): 131072
f_blocks (size of fs in f_frsize units): 819200
f_bfree (free blocks): 819199
f_bavail free blocks for unprivileged users): 819199
f_files (inodes): 193673088
f_ffree (free inodes): 193659676
f_favail (free inodes for unprivileged users): 0
f_fsid (file system ID): 255
f_flag (mount flags): 131072
f_namemax (maximum filename length)4128



[root@client glusterfs]# ./statvfs /mnt/glusterfs/.snaps/snap1_GMT-2015.07.06-06.26.03/
f_bsize (block size): 1702057286
f_frsize (fragment size): 131072
f_blocks (size of fs in f_frsize units): 819200
f_bfree (free blocks): 819200
f_bavail free blocks for unprivileged users): 819200
f_files (inodes): 193673088
f_ffree (free inodes): 193614396
f_favail (free inodes for unprivileged users): 0
f_fsid (file system ID): 255
f_flag (mount flags): 131072



[root@client .snaps]# getconf NAME_MAX /mnt/glusterfs/.snaps/
255

[root@client glusterfs]# getconf NAME_MAX /mnt/glusterfs/.snaps/snap1_GMT-2015.07.06-06.26.03
255

Bug verified on build glusterfs-3.7.1-7.el6rhs.x86_64

Comment 10 errata-xmlrpc 2015-07-29 04:37:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1495.html


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