Bug 761846 (GLUSTER-114) - Creating files or directories gives "Invalid argument"
Summary: Creating files or directories gives "Invalid argument"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-114
Product: GlusterFS
Classification: Community
Component: nufa
Version: mainline
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
: GLUSTER-218 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-07 12:26 UTC by Vikas Gorur
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Vikas Gorur 2009-07-07 12:26:28 UTC
Setup: NUFA with 8 subvolumes, server and client being different processes on each host.

Both touch and mkdir return -1, EINVAL.

The errno is being set in the following lines in nufa.c

nufa_local_lookup_cbk:

 if (op_ret == -1)
                goto out

out:
  if (!local->hashed_subvol) {
    gf_log (this->name, GF_LOG_DEBUG,
	    "no subvolume in layout for path=%s",
	    local->loc.path);

	op_errno = EINVAL;
	goto err;
  }

One of the subvolumes (3rd - brick3) is down.

Comment 1 Amar Tumballi 2010-03-09 10:29:50 UTC
*** Bug 218 has been marked as a duplicate of this bug. ***

Comment 2 Anand Avati 2010-03-12 09:09:42 UTC
PATCH: http://patches.gluster.com/patch/2882 in master (send lookup on every subvolume if local->hashed_subvol is NULL in nufa/switch)


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