Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1158898 - [USS]: creating file/directories under .snaps shows wrong error message
[USS]: creating file/directories under .snaps shows wrong error message
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: snapshot (Show other bugs)
unspecified
x86_64 Linux
medium Severity medium
: ---
: RHGS 3.0.3
Assigned To: Vijaikumar Mallikarjuna
Rahul Hinduja
USS
: ZStream
Depends On:
Blocks: 1159840 1162694 1175730
  Show dependency treegraph
 
Reported: 2014-10-30 09:20 EDT by Rahul Hinduja
Modified: 2016-09-17 09:03 EDT (History)
6 users (show)

See Also:
Fixed In Version: glusterfs-3.6.0.33-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1159840 (view as bug list)
Environment:
Last Closed: 2015-01-15 08:41:33 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0038 normal SHIPPED_LIVE Red Hat Storage 3.0 enhancement and bug fix update #3 2015-01-15 13:35:28 EST

  None (edit)
Description Rahul Hinduja 2014-10-30 09:20:13 EDT
Description of problem:
=======================

When an attempt is made to create file/directories inside .snaps, it fails with wrong error message as "Stale file handle". It should fail with "Read only file system"

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

glusterfs-3.6.0.30-1.el6rhs.x86_64


How reproducible:
==================

always


Steps to Reproduce:
===================
1. Enable uss on the volume
2. Cd to .snaps from the client


Actual results:
===============

[root@wingo .snaps]# mkdir a
mkdir: cannot create directory `a': Stale file handle
[root@wingo .snaps]# touch a
touch: cannot touch `a': Stale file handle
[root@wingo .snaps]# 


Expected results:
=================

[root@wingo .snaps]# mkdir a
mkdir: cannot create directory `a': Read-only file system
[root@wingo .snaps]# touch a
touch: cannot touch `a': Read-only file system
[root@wingo .snaps]#
Comment 3 Vijaikumar Mallikarjuna 2014-11-12 04:51:30 EST
Patch submitted: https://code.engineering.redhat.com/gerrit/36478
Comment 4 Rahul Hinduja 2014-11-20 06:32:20 EST
Verified with build: glusterfs-3.6.0.33-1.el6.x86_64

From Fuse:
----------

[root@wingo .snaps]# mount | grep "/mnt/vol0"
inception.lab.eng.blr.redhat.com:/vol0 on /mnt/vol0 type fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)
[root@wingo .snaps]#
[root@wingo .snaps]# pwd
/mnt/vol0/.snaps
[root@wingo .snaps]# mkdir temp
mkdir: cannot create directory `temp': Read-only file system
[root@wingo .snaps]#

From Fuse:
----------

[root@wingo .snaps]# mount | grep "/mnt/nvol0"
inception.lab.eng.blr.redhat.com:/vol0 on /mnt/nvol0 type nfs (rw,vers=3)
[root@wingo .snaps]# cd /mnt/nvol0/.snaps
[root@wingo .snaps]# pwd
/mnt/nvol0/.snaps
[root@wingo .snaps]# mkdir temp1
mkdir: cannot create directory `temp1': Read-only file system
[root@wingo .snaps]# 


Moving the bug to verified state
Comment 6 errata-xmlrpc 2015-01-15 08:41:33 EST
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/RHBA-2015-0038.html

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