Displaying 20 results from an estimated 1000 matches similar to: "What does gluster do when it's idle?"
2017 Dec 10
0
What does gluster do when it's idle?
Hi,
Also I forgot to mention there are DUMP and PORTBYBRICK calls too. I
understood these too calls are to get updated on gluster configuration.
But all these two calls are to a particular node only while there are total
(2+1)*3= 6 nodes in my configuration. Why so? What exactly is DUMP and
PORTBYBRICK?
Regards
Jeevan.
On Dec 10, 2017 6:47 PM, "Jeevan Patnaik" <g1patnaik at
2017 Nov 13
2
What is the difference between FORGET and UNLINK fops
Hi,
Can I get a brief description of all the FOPS in gluster or the location of
the source code file so that I will try to get an understanding myself?
Few FOPS I'm not clear like FORGET, UNLINK, FLUSH, LOOKUP
Or is there a way I can tunnel through the FOPS that that are happening in
the background for each operation? I have tried this to find from a brick
logfile in TRACE mode, but there
2017 Nov 13
4
What is it with trusted.io-stats-dump?
Hi,
I am trying to understand how the extended attribute trusted.io-stats-dump
works.
setfattr -n trusted.io-stats-dump -v
/tmp/gluster_perf_stats/io-stats-pre.txt /mnt/gluster/gv0_glusterfs
I can see that the io-stats-pre.txt is created. But how and what happened
in the background?
And why I can't I see the attribute with getfattr again?
getfattr -dm- /mnt/gluster/gv0_glusterfs
# file:
2017 Nov 13
0
What is the difference between FORGET and UNLINK fops
Filtering the brick logs in TRACE mode with rpcsvc.c does show the FOPS.
>From this, I've realized that LOOKUP is actually dns lookup. This actually
differs from NFS lookup operation. Please correct me if I'm wrong.
Regards,
Jeevan.
On Nov 13, 2017 9:40 PM, "Jeevan Patnaik" <g1patnaik at gmail.com> wrote:
> Hi,
>
> Can I get a brief description of all the
2018 Jan 03
1
stale file handle on gluster NFS client when trying to remove a directory
An ESTALE error usually means the gfid could not be found. Does repeating
the "rm -rf" delete the directory?
Regards,
Nithya
On 3 January 2018 at 12:16, Jeevan Patnaik <g1patnaik at gmail.com> wrote:
> Hi all,
>
> I haven't found any root cause or workaround for this yet. Can any one
> help me in underatanding the issue?
>
> Regards,
> Jeevan.
>
>
2017 Dec 21
2
stale file handle on gluster NFS client when trying to remove a directory
Hi,
After running rm -rf on a directory, the files under it got deleted, but
the directory was not deleted and was showing stale file handle error.
After 18 minutes, I'm able to delete the directory. So could anyone help me
in knowing what could have happened or when in general I get such errors.
The following is NFS log:
[2017-12-21 13:56:01.592256] I [MSGID: 108019]
2018 Jan 03
0
stale file handle on gluster NFS client when trying to remove a directory
Hi all,
I haven't found any root cause or workaround for this yet. Can any one help
me in underatanding the issue?
Regards,
Jeevan.
On Dec 21, 2017 8:20 PM, "Jeevan Patnaik" <g1patnaik at gmail.com> wrote:
> Hi,
>
>
> After running rm -rf on a directory, the files under it got deleted, but
> the directory was not deleted and was showing stale file handle
2017 Nov 13
0
What is it with trusted.io-stats-dump?
trusted.io-stats-dump is a virtual (not physical) extended attribute.
The code is written in a way that a request to set trusted.io-stats-dump
gets bypassed at the io-stats translator layer on the stack and
there it gets converted into the action of dumping the statistics into the
provided output file path.
See io_stats_setxattr() implementation in io-stats.c for more details.
HTH,
Krutika
On
2017 Nov 14
1
Is there any performance impact in setting up every gluster client as a NFS server?
Hi,
We have around 60 hosts and each of them acts as glusterFs clients as well
as server.
To achieve HA, my underatanding is that we can use Ganesha NFS alone (and
not Kernel NFS) and for above 3.10 versions, the HA packages are not ready
yet.
So, I'm thinking if I can avoid HA by making each client acts as server for
itself.
i.e.,the server name specified while mounting is localhost.
So,
2017 Nov 14
0
What is the difference between FORGET and UNLINK fops
Hi Ben,
Yes, I was referring to the same link before and I think most of the FOPS
I've understood from the definitions there and I'll update if I found any
corrections or new definitions.
Btw, my previous underatanding about LOOKUP is wrong, its NOT dns lookup.
Regards,
Jeevan.
On Nov 14, 2017 11:02 AM, "Ben Turner" <bturner at redhat.com> wrote:
Here is some of the
2017 Nov 13
0
What is it with trusted.io-stats-dump?
Hi,
>From strace, I can see the system calls setxattr and getxattr.
Two things I don't understand is:
1. how does the file got created so quickly, from where it read the stats.
2.why is the added attribute missing if I check with getfattr?
Regards,
Jeevan.
On Nov 13, 2017 12:40 PM, "Amar Tumballi" <atumball at redhat.com> wrote:
On Mon, Nov 13, 2017 at 12:14 PM,
2017 Nov 13
0
What is it with trusted.io-stats-dump?
On Mon, Nov 13, 2017 at 12:14 PM, Jeevan Patnaik <g1patnaik at gmail.com>
wrote:
> Hi,
>
> I am trying to understand how the extended attribute trusted.io-stats-dump
> works.
>
> setfattr -n trusted.io-stats-dump -v /tmp/gluster_perf_stats/io-stats-pre.txt
> /mnt/gluster/gv0_glusterfs
>
> I can see that the io-stats-pre.txt is created. But how and what happened
2020 Feb 04
2
Can I delete a function argument and its corresponding code from a file
I have a following sample function in a file which contains only function
definitions like this.
void mul(int x, int y, int& out, *int* arr*) {
* arr[0] = 2;*
* arr[1] = 1;*
out = x * y;
}
I want to convert it to
void mul(int x, int y, int& out) {
out = x * y;
}
file contains only above function definitions.
--
Thanks & Regards
Jeevan
-------------- next part --------------
2020 Apr 24
2
[PATCH 3/5] drm/nouveau: utilize subconnector property for DP
From: Oleg Vasilev <oleg.vasilev at intel.com>
Since DP-specific information is stored in driver's structures, every
driver needs to implement subconnector property by itself.
v2: rebase
Cc: Ben Skeggs <bskeggs at redhat.com>
Cc: nouveau at lists.freedesktop.org
Signed-off-by: Jeevan B <jeevan.b at intel.com>
Signed-off-by: Oleg Vasilev <oleg.vasilev at intel.com>
2007 May 09
3
Removing a list of Objects
Hi,
I have a simple beginner's question on removing a list of
objects. Say I have objects C243.Daily1, C243.Daily2...C243.Daily5 in my
workspace. I'd like to remove these without using rm five times.
So I write.
> a <- list(paste("C243.Daily",sep="",1:5))
> rm(a)
Obviously this wouldn't work, as it would only remove the object a.
But is there any way
2007 May 10
3
Getting the last day of the month.
Hi,
Given a date, how do I get the last date of that month? I have
data in the form YYYYMM, that I've read as a date using
> x$Date <-
as.Date(ISOdate(substr(x$YearEnd,1,4),substr(x$YearEnd,5,6),1))
But this gives the first day of the month. To get the last day of the
month, I tried
> as.Date(as.yearmon(x$Date,frac=0))
But I don't get the last day of the month here. (Tried
2010 Oct 13
2
Read Particular Cells within Excel
Hello all,
I have a business user who generates monthly reports in MS Excel in a particular
format. The data I need is present in different portions of this excel file. Is
there a way to read different cells from a particular excel worksheet? i.e.,
cells b50:d100 in the Inputs worksheet. I am investigating odbcConnectExcel but
did not yet see such capability.
Appreciate your help.
Jeevan
2007 Jul 30
3
dtrace
hi fnds,
i want to print the filenames on which the stat system
call is acting when a stat system call is invoked. can anyone can help
me this regard.
Thanks
jeevan
2007 Jun 13
5
Confusion with sapply
Hi,
I have some confusion in applying a function over a column.
Here's my function. I just need to shift non-March month-ends to March
month-ends. Initially I tried seq.dates, but one cannot give a negative
increment (decrement) here.
return(as.Date(seq.dates(format(xdate,"%m/%d/%Y"),by="months",len=4)[4])
)
Hence this simple function:
> mydate <-
2007 May 14
6
Conditional Sums for Index creation
Hi,
Apologies for the long mail. I have a data.frame with columns of
price/mcap data for a portfolio of stocks, and the date. To get the
total value of the portfolio on a daily basis, I calculate rowSums of
the data.frame.
> set.seed(1)
> ab <- matrix(round(runif(100)*100),nrow=20,ncol=5)
> ab[1:5,4:5] <- NA
> ab[6:10,5] <- NA
> ac <- as.data.frame(ifelse(ab <=