Re: [Gluster-users] Sparse Files and Heal

2014-11-21 Thread Adrian Kan
Pranith, I'm wondering if this is a better method to take down a brick for maintenance purpose and reheal: 1) Detach the brick from the cluster - gluster volume remove-brick datastore1 replica 1 brick1:/mnt/datastore1 2) Take down the brick1 3) Do whatever maintenance needed to brick1 4) Turn the

Re: [Gluster-users] Sparse Files and Heal

2014-11-21 Thread Lindsay Mathieson
On Sat, 22 Nov 2014 12:54:48 PM you wrote: > Lindsay, > You said, you restored it from some backup. How did you do that? If > you copy the VM image from back up to the location where you deleted it > from on the brick directly. Then the VM hypervisor still doesn't write to > the new file that

Re: [Gluster-users] Sparse Files and Heal

2014-11-21 Thread Pranith Kumar Karampuri
On 11/22/2014 12:37 PM, Lindsay Mathieson wrote: On Sat, 22 Nov 2014 12:20:42 PM you wrote: Lindsay, Was the brick running when you deleted this file? Because as long as the brick is running the VM image file would still be open, so the healing won't happen properly. Yes it was still run

Re: [Gluster-users] Sparse Files and Heal

2014-11-21 Thread Lindsay Mathieson
On Sat, 22 Nov 2014 12:20:42 PM you wrote: > Lindsay, > Was the brick running when you deleted this file? Because as long as the > brick is running the VM image file would still be open, so the healing > won't happen properly. Yes it was still running - dumb ass move on my part really :) La

Re: [Gluster-users] Sparse Files and Heal

2014-11-21 Thread Pranith Kumar Karampuri
On 11/22/2014 08:42 AM, Lindsay Mathieson wrote: On Sat, 22 Nov 2014 12:14:57 AM you wrote: Lindsay, Could you clarify your method of healing the vm-images? Did you use full heal, and once the heal completed, you switched to diff and let it finish? By the end, both bricks would consist of imag

Re: [Gluster-users] [Gluster-devel] In what kind of circumstance, the changlog trusted.afr.xxx of a file will become 0xFFFFFFFF

2014-11-21 Thread Krutika Dhananjay
- Original Message - > From: "Krutika Dhananjay" > To: "Jaden Liang" > Cc: gluster-users@gluster.org > Sent: Friday, November 21, 2014 8:46:42 AM > Subject: Re: [Gluster-devel] In what kind of circumstance, the changlog > trusted.afr.xxx of a file will become 0x > Changing cc'd

Re: [Gluster-users] Sparse Files and Heal

2014-11-21 Thread Lindsay Mathieson
On Sat, 22 Nov 2014 12:14:57 AM you wrote: > Lindsay, > > Could you clarify your method of healing the vm-images? > Did you use full heal, and once the heal completed, you switched to diff and > let it finish? > By the end, both bricks would consist of images with identical file sizes? There's a

Re: [Gluster-users] Ethernet port choice

2014-11-21 Thread RAGHAVENDRA TALUR
Hi Pierre, It is possible to do that. You will have to use IP/hostname assigned to one port for all your gluster operations, Like peer probe, create etc.(Even for fuse mounts). If you are using vfs plugin for samba to access gluster in smb.conf use "glusterfs:volfile-server = " You can now give

[Gluster-users] Ethernet port choice

2014-11-21 Thread Pierre LĂ©onard
Hi everbody, I have the last release of glusterfs which work well on a Centos6.5. On each node I have two 10Gb ethernet ports. I want to dedicate on each nodes a port for the gluster synchronisation and the other port will be available for ssh and samba access. Is it possible to configure glus

Re: [Gluster-users] Sparse Files and Heal

2014-11-21 Thread Adrian Kan
Lindsay, Could you clarify your method of healing the vm-images? Did you use full heal, and once the heal completed, you switched to diff and let it finish? By the end, both bricks would consist of images with identical file sizes? Thanks, Adrian -Original Message- From: gluster-users-

Re: [Gluster-users] glusterfsd process thrashing CPU

2014-11-21 Thread Adrian Kan
Actually I had the same experience when I was using 3.4.2 https://www.mail-archive.com/gluster-users@gluster.org/msg15850.html If I understand, I should be using FULL heal rather than DIFF for large vm-images? I was not sure throttling was working for 3.4.2 or not. I attempted to recover