Re: [Gluster-users] split brain recovery 3.3.0

2013-03-08 Thread Patric Uebele
Hi Samuel,

can you try to drop caches on the clients:

“echo 3  /proc/sys/vm/drop_caches”

/Patric

On Fri, 2013-03-08 at 10:13 +0100, samuel wrote:
 No one around can help with this situation?
 
 The file finally got corrupted and it's impossible to read from any
 of the current mounted native gluster clients.
 
 Reading the attributes, all flags are set as 0:
 
 # file: dd29900f215b175939816f94c907a31b
 trusted.afr.storage-client-6=0x
 trusted.afr.storage-client-7=0x
 trusted.gfid=0x59311906edf04464be5f00f505b3aebb
 trusted.storage-stripe-1.stripe-count=0x3200
 trusted.storage-stripe-1.stripe-index=0x3100
 trusted.storage-stripe-1.stripe-size=0x31333130373200
 
 so there should not be read as split brain from clients but we got the
 following logs:
 split brain detected during lookup of
 
 thanks in advance,
 Samuel.
 
 
 On 4 March 2013 14:37, samuel sam...@gmail.com wrote:
 Hi folks,
 
 We have detected a split-brain on 3.3.0 stripped replicated 8
 nodes cluster.
 We've followed the instructions from:
 http://www.gluster.org/2012/07/fixing-split-brain-with-glusterfs-3-3/
 and we've manually recovered the information.
 
 The problem is that we've got 4 gluster native clients and
 from 2 of them we got 
 0-storage-replicate-3: failed to open as split brain seen,
 returning EIO
 but from 2 of them we can access the recovered file.
 
 We're this information locally storage on clients so we can
 update all of them and recover the information in a
 coherent manner?
 
 Thanks a lot in advance,
 Samuel.
 
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://supercolony.gluster.org/mailman/listinfo/gluster-users

-- 
Patric Uebele 
Solution Architect Storage

Red Hat GmbH 
Technopark II, Haus C 
Werner-von-Siemens-Ring 14 
85630 Grasbrunn 
Germany 

Office:+49 89 205071-162 
Cell:  +49 172 669 14 99 
mailto:patric.ueb...@redhat.com 

gpg keyid: 48E64CC1
gpg fingerprint: C63E 6320 A03B 4410 D208  4EE7 12FC D0E6 48E6 4CC1

 
Reg. Adresse: Red Hat GmbH, Werner-von-Siemens-Ring 14, 85630 Grasbrunn 
Handelsregister: Amtsgericht Muenchen HRB 153243 
Geschaeftsfuehrer: Mark Hegarty, Charlie Peters, Michael Cunningham,
Charles Cachera


smime.p7s
Description: S/MIME cryptographic signature
___
Gluster-users mailing list
Gluster-users@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] Self healing metadata info

2013-01-29 Thread Patric Uebele
Hi Stephan,

unfortunately (or luckily ;-) I'm not an fs-programmer, but I fully
understand your point.

Let me discuss it internally.

Best regards,

Patric

On Fri, 2013-01-25 at 11:01 +0100, Stephan von Krawczynski wrote:
 Hi Patric,
 
 your paper shows clearly you are infected by the fs-programmer-virus :-)
 Noone else would give you tags/gfids/inode nums of a file inside a logfile
 instead of the full true filename, simply because looking at the logfile
 days/months/years later you know exactly nothing about the files affected by
 e.g. a self heal. Can you explain why a fs cannot give the user/admin the
 files' name currently fiddling around in a logfile instead of a cryptic 
 number?
 
 For the completeness in split-brain case I would probably do a 
   gluster volume heal repvol prefer brick filename
 command which prefers the files' copy on brick and triggers the self-heal
 for that file.
 As an addition you would be able to allow
   gluster volume heal repvol prefer brick
 (without filename) to generally prefer files on brick and trigger self-heal
 for all files. There are cases where admins do not care about the actual copy
 but more about the accessibility of the file per se.
 Everything is easy around self-heal/splitbrain if you deal with 5 files
 affected. But dealing with 5000 files instead shows you that no admin is
 probably able to look at every single file. So he should be able to choose
 some general option like gluster volume heal repvol prefer tag
 where tag can be:
   brickname (as above)
   length, choose longest file always
   date, choose latest file date always
   delete, simply remove all affected files
   name-one ...
 
 
 Regards,
 Stephan
 
 
 
 On Fri, 25 Jan 2013 10:11:07 +0100
 Patric Uebele pueb...@redhat.com wrote:
 
  Hi JPro,
  
  perhaps the attached doc does explain it a bit.
  
  Best regards,
  
  Patric
  
  On Fri, 2013-01-25 at 01:26 -0500, Java Pro wrote:
   Hi,
   
   
   If a brick is down and comes back up later, how does Glusterfs know
   which files in this brick need to be 'self-healed'?
   
   
   Since the metadata of whether to 'heal' is stored as an xattr in a
   replica on other bricks. Does Glusterfs scan these files on the other
   bricks to see if one is accusing its replica and therefore need to
   heal its replica? 
   
   
   In short, does Glusterfs keep a record of writes to a brick when a
   brick is down and apply these writes to the brick when its backup?
   
   
   
   
   Thanks,
   JPro

   ___
   Gluster-users mailing list
   Gluster-users@gluster.org
   http://supercolony.gluster.org/mailman/listinfo/gluster-users
  
  -- 
  Patric Uebele 
  Solution Architect Storage
  
  Red Hat GmbH 
  Technopark II, Haus C 
  Werner-von-Siemens-Ring 14 
  85630 Grasbrunn 
  Germany 
  
  Office:+49 89 205071-162 
  Cell:  +49 172 669 14 99 
  mailto:patric.ueb...@redhat.com 
  
  gpg keyid: 48E64CC1
  gpg fingerprint: C63E 6320 A03B 4410 D208  4EE7 12FC D0E6 48E6 4CC1
  
   
  Reg. Adresse: Red Hat GmbH, Werner-von-Siemens-Ring 14, 85630 Grasbrunn 
  Handelsregister: Amtsgericht Muenchen HRB 153243 
  Geschaeftsfuehrer: Mark Hegarty, Charlie Peters, Michael Cunningham,
  Charles Cachera
 
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://supercolony.gluster.org/mailman/listinfo/gluster-users

-- 
Patric Uebele 
Solution Architect Storage

Red Hat GmbH 
Technopark II, Haus C 
Werner-von-Siemens-Ring 14 
85630 Grasbrunn 
Germany 

Office:+49 89 205071-162 
Cell:  +49 172 669 14 99 
mailto:patric.ueb...@redhat.com 

gpg keyid: 48E64CC1
gpg fingerprint: C63E 6320 A03B 4410 D208  4EE7 12FC D0E6 48E6 4CC1

 
Reg. Adresse: Red Hat GmbH, Werner-von-Siemens-Ring 14, 85630 Grasbrunn 
Handelsregister: Amtsgericht Muenchen HRB 153243 
Geschaeftsfuehrer: Mark Hegarty, Charlie Peters, Michael Cunningham,
Charles Cachera


smime.p7s
Description: S/MIME cryptographic signature
___
Gluster-users mailing list
Gluster-users@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users