[Linux-cluster] When using GFS+DLM, will DLM manage the locks on journals?
jas199931 at yahoo.com
Thu May 15 00:27:37 UTC 2008
--- Gordan Bobic <gordan at bobich.net> wrote:
> Ja S wrote:
> > --- Gordan Bobic <gordan at bobich.net> wrote:
> >> Ja S wrote:
> >>> Hi, All:
> >>> Just want to get a clarification.
> >>> When using GFS+DLM, will the locks of journals
> >>> managed also by DLM in the same way as that for
> >> normal
> >>> data files?
> >> My understanding is that there is no locking on
> >> journals across
> >> nodes except when a node gets fenced and it's
> >> journal needs to be
> >> replayed to ensure data is consistent. Each node
> >> it's own journal.
> > Thanks. Then what this "can't acquire the journal
> > glock:" error is about?
> I think the journals are allocated on a first-come
> first-served basis to
> the nodes as they connect to the shared storage.
> Each node locks it's
> own journal to ensure that it is marked as "in use".
> That's why you'll
> see that message at mount time. But I don't think
> there is any journal
> locking going on under normal operation.
Great thanks again.
More information about the Linux-cluster