Re: [Gluster-users] Structure needs cleaning error

2014-05-24 Thread Humble Devassy Chirammal
Hi Peng,

Which version of glusterfs is in use here ? also, which mount options are
used to fuse mount this volume?
because, I see a similar discussion here ,
http://gluster.org/pipermail/gluster-users/2013-December/038299.html

--Humble


On Sat, May 24, 2014 at 11:22 PM, Peng Yu pengyu...@gmail.com wrote:

 Hi,

 I see Structure needs cleaning error, when I touch a file on
 glusterfs. Does anybody know what causes the problem and how to fix
 it? Thanks.

 --
 Regards,
 Peng
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://supercolony.gluster.org/mailman/listinfo/gluster-users

___
Gluster-users mailing list
Gluster-users@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] Structure needs cleaning error

2012-03-01 Thread Anand Avati
On Mon, Feb 27, 2012 at 6:59 AM, Jeff Darcy jda...@redhat.com wrote:
 On Sun, 26 Feb 2012 13:10:06 -0500
 Joe Landman land...@scalableinformatics.com wrote:

 On 02/26/2012 12:54 PM, Patrick Haley wrote:
  If I go to that directory and simply do an ls *.png I get
 
  ls: BalbacFull_250_200_03Mar_3.png: Structure needs cleaning

 This is usually what happens when you have an underlying xfs file
 system as your backing store, and have had a failure which has shut
 the xfs file system down.

 Actually this error (EUCLEAN) is used in a couple of places in the
 GlusterFS code.  Specifically it's used as an initial status when AFR
 is setting up a structure to track locking state as part of our
 replication protocol, and if nothing comes along to change that status
 it could leak to the caller.  I saw this when I was hacking on
 replication code, so in that case it was my own fault, but it's not
 inconceivable that there's another path which could trigger it.

 Still, though, the XFS explanation seems more likely.  I'd pursue that
 first.


If it was an XFS caused error, there must be a log with that very
strerror() Structure needs cleaning in the brick logs.

Avati
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Structure needs cleaning error

2012-02-27 Thread Jeff Darcy
On Sun, 26 Feb 2012 13:10:06 -0500
Joe Landman land...@scalableinformatics.com wrote:

 On 02/26/2012 12:54 PM, Patrick Haley wrote:
  If I go to that directory and simply do an ls *.png I get
 
  ls: BalbacFull_250_200_03Mar_3.png: Structure needs cleaning
 
 This is usually what happens when you have an underlying xfs file
 system as your backing store, and have had a failure which has shut
 the xfs file system down.

Actually this error (EUCLEAN) is used in a couple of places in the
GlusterFS code.  Specifically it's used as an initial status when AFR
is setting up a structure to track locking state as part of our
replication protocol, and if nothing comes along to change that status
it could leak to the caller.  I saw this when I was hacking on
replication code, so in that case it was my own fault, but it's not
inconceivable that there's another path which could trigger it.

Still, though, the XFS explanation seems more likely.  I'd pursue that
first.
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Structure needs cleaning error

2012-02-27 Thread Pat Haley


Hi,

Does anyone have a ballpark guess as to how long
an xfs_repair should take for a 15TB area?
This will help us schedule the down-time, so
we're only looking for rough, order-of-magnitude
estimates.

Thanks.




Hi,

It does appear to be xfs

/dev/mapper/the_raid-lv_data on /data type xfs (rw)

Looking at the man page for xfs_repair indicates that
we'll have to unmount the disk first.  That will have
to wait until we can schedule the down-time.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Pat Haley  Email:  pha...@mit.edu
Center for Ocean Engineering   Phone:  (617) 253-6824
Dept. of Mechanical EngineeringFax:(617) 253-8125
MIT, Room 5-222B   http://web.mit.edu/phaley/www/
77 Massachusetts Avenue
Cambridge, MA  02139-4301



Quoting Joe Landman land...@scalableinformatics.com:


On 02/26/2012 01:35 PM, Patrick Haley wrote:


Hi,

I went on the particular server on which the file in question
resides. I check the RAID and all the disks show up as OK.
I looked in dmesg and did not see anything on xfs. To confirm
this absence, I did grep -in xfs dmesg and that also came
up empty. grep -in fs dmesg (no x) returns


type

mount

and see what the file system is mounted as.

The structure needs cleaning in xfs means an xfs_repair is needed.  
Not sure if this is used by other file systems.



--
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics Inc.
email: land...@scalableinformatics.com
web  : http://scalableinformatics.com
   http://scalableinformatics.com/sicluster
phone: +1 734 786 8423 x121
fax  : +1 866 888 3112
cell : +1 734 612 4615

___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users




___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users



--

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Pat Haley  Email:  pha...@mit.edu
Center for Ocean Engineering   Phone:  (617) 253-6824
Dept. of Mechanical EngineeringFax:(617) 253-8125
MIT, Room 5-222B   http://web.mit.edu/phaley/www/
77 Massachusetts Avenue
Cambridge, MA  02139-4301
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Structure needs cleaning error

2012-02-26 Thread Joe Landman

On 02/26/2012 12:54 PM, Patrick Haley wrote:


Hi,

We have recently upgraded our gluster to 3.2.5 and have
encountered the following error.  Gluster seems somehow
confused about one of the files it should be serving up,
specifically
/projects/philex/PE/2010/Oct18/arch07/BalbacFull_250_200_03Mar_3.png

If I go to that directory and simply do an ls *.png I get

ls: BalbacFull_250_200_03Mar_3.png: Structure needs cleaning


This is usually what happens when you have an underlying xfs file system 
as your backing store, and have had a failure which has shut the xfs 
file system down.


Have a look in dmesg for the servers, and see if xfs has shut down.

Reasons for xfs shutdown include a) bugs in xfs/kernel, b) storage 
device/RAID failure.


Our experience is that b happens far more often than a, though a 
does happen (especially on some kernels).


--
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics Inc.
email: land...@scalableinformatics.com
web  : http://scalableinformatics.com
   http://scalableinformatics.com/sicluster
phone: +1 734 786 8423 x121
fax  : +1 866 888 3112
cell : +1 734 612 4615

___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Structure needs cleaning error

2012-02-26 Thread Joe Landman

On 02/26/2012 01:35 PM, Patrick Haley wrote:


Hi,

I went on the particular server on which the file in question
resides. I check the RAID and all the disks show up as OK.
I looked in dmesg and did not see anything on xfs. To confirm
this absence, I did grep -in xfs dmesg and that also came
up empty. grep -in fs dmesg (no x) returns


type

mount

and see what the file system is mounted as.

The structure needs cleaning in xfs means an xfs_repair is needed.  Not 
sure if this is used by other file systems.



--
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics Inc.
email: land...@scalableinformatics.com
web  : http://scalableinformatics.com
   http://scalableinformatics.com/sicluster
phone: +1 734 786 8423 x121
fax  : +1 866 888 3112
cell : +1 734 612 4615

___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Structure needs cleaning error

2012-02-26 Thread Patrick Haley


Hi,

It does appear to be xfs

/dev/mapper/the_raid-lv_data on /data type xfs (rw)

Looking at the man page for xfs_repair indicates that
we'll have to unmount the disk first.  That will have
to wait until we can schedule the down-time.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Pat Haley  Email:  pha...@mit.edu
Center for Ocean Engineering   Phone:  (617) 253-6824
Dept. of Mechanical EngineeringFax:(617) 253-8125
MIT, Room 5-222B   http://web.mit.edu/phaley/www/
77 Massachusetts Avenue
Cambridge, MA  02139-4301



Quoting Joe Landman land...@scalableinformatics.com:


On 02/26/2012 01:35 PM, Patrick Haley wrote:


Hi,

I went on the particular server on which the file in question
resides. I check the RAID and all the disks show up as OK.
I looked in dmesg and did not see anything on xfs. To confirm
this absence, I did grep -in xfs dmesg and that also came
up empty. grep -in fs dmesg (no x) returns


type

mount

and see what the file system is mounted as.

The structure needs cleaning in xfs means an xfs_repair is needed.  
Not sure if this is used by other file systems.



--
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics Inc.
email: land...@scalableinformatics.com
web  : http://scalableinformatics.com
   http://scalableinformatics.com/sicluster
phone: +1 734 786 8423 x121
fax  : +1 866 888 3112
cell : +1 734 612 4615

___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users




___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users