Pranith Kumar Karampuri
2016-Jan-12 14:56 UTC
[Gluster-users] Notification for files that need healing
On 01/12/2016 08:13 PM, Ankireddypalle Reddy wrote:> > Hi, > > In a disperse volume how to determine programmatically the > files that need healing. It?s possible for a node to get rebooted > while I/O to the gluster volume is in progress. After the node comes > up how to determine the list of files that need to be healed. >gluster volume heal <volname> info gets us the files that need healing using the command. What exactly are you looking for? You want an api for this is it? Pranith> > Thanks and Regards, > > Ram > > ***************************Legal Disclaimer*************************** > "This communication may contain confidential and privileged material for the > sole use of the intended recipient. Any unauthorized review, use or distribution > by others is strictly prohibited. If you have received the message by mistake, > please advise the sender by reply email and delete the message. Thank you." > ********************************************************************** > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160112/e0af6e49/attachment.html>
Ankireddypalle Reddy
2016-Jan-12 14:59 UTC
[Gluster-users] Notification for files that need healing
Hi, I tried the command. But looks like the command is not supported for disperse volumes. [root at glusterlab1 ws_brick]# gluster volume heal StoragePool info Volume StoragePool is not of type replicate Volume heal failed Thanks and Regards, Ram From: Pranith Kumar Karampuri [mailto:pkarampu at redhat.com] Sent: Tuesday, January 12, 2016 9:56 AM To: Ankireddypalle Reddy; gluster-users at gluster.org Subject: Re: [Gluster-users] Notification for files that need healing On 01/12/2016 08:13 PM, Ankireddypalle Reddy wrote: Hi, In a disperse volume how to determine programmatically the files that need healing. It's possible for a node to get rebooted while I/O to the gluster volume is in progress. After the node comes up how to determine the list of files that need to be healed. gluster volume heal <volname> info gets us the files that need healing using the command. What exactly are you looking for? You want an api for this is it? Pranith Thanks and Regards, Ram ***************************Legal Disclaimer*************************** "This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message by mistake, please advise the sender by reply email and delete the message. Thank you." ********************************************************************** _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org<mailto:Gluster-users at gluster.org> http://www.gluster.org/mailman/listinfo/gluster-users ***************************Legal Disclaimer*************************** "This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message by mistake, please advise the sender by reply email and delete the message. Thank you." ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160112/3cca0721/attachment.html>