bugGluster - Bugs: bug #26270, First access after mounting fails

 
 

bug #26270: First access after mounting fails

Submitted by:  None
Submitted on:  Tue 21 Apr 2009 04:34:13 PM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Improper behaviour
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: -
Originator Email: -unavailable-Open/Closed: Closed
Release: 2.0.0rc8Operating System: GNU/Linux
Reproducibility: Every Time

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 25 Jun 2009 04:53:05 AM UTC, comment #1:

Please verify with latest release of glusterfs (2.0.2) and re-open if the problem still persists.

--
Gowda

Basavanagowda Kanur <gowda>
Project Member
Tue 21 Apr 2009 04:34:13 PM UTC, original submission:

If accessing the file system immediately after mounting without performing a read operation first, the first access will fail. This is reliably reproducible every time when GlusterFS is used as the root store using OpenSharedRoot. The sequence of events that occur is:

- Mount GlusterFS to /mnt/newroot.
- mount --bind /mnt/newroot/cluster/cdsl/2 /mnt/newroot/cdsl.local

The bind mount will fail claiming that either the source or the destination don't exist.

However, adding something along the lines of:
sleep 5;
ls -la /mnt/newroot;
ls -laR /mnt/newroot/cluster
ls -laR /mnt/newroot/cdsl.local

before the bind mount works around the problem. This problem has been present at least since 2.0.0rc1.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gowda (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 25 Jun 2009 04:53:05 AM UTCgowdaStatusNone=>Fixed
      Originator Name=>-
      Originator Email=>-
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1