[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] lock_dlm but local flocks = true?



Hi Steve, I have not answered before because I was on holidays. By the way, happy new year.

I have looked /proc/mounts as you told me, and ... surprise:

/dev/mapper/volCluster-lvol0 /mnt/gfs gfs rw,hostdata=jid=0:id=196610:first=1,localflocks 0 0

"localflocks" is there! I don't understand because I mount it using "/etc/init.d/gfs start" which looks at /etc/fstab, and there the line is:

/dev/volCluster/lvol0    /mnt/gfs     gfs    defaults  0 0

I must admit that there is a particular thing in this system which I thought it didn't affect, but I am not so sure now, and that is it is a OpenVZ patched kernel. Can this have something to do with gfs mounts?

Thanks for your help once more.

Frank
Date: Wed, 23 Dec 2009 15:15:28 +0000 From: Steven Whitehouse <swhiteho redhat com> To: linux clustering <linux-cluster redhat com> Subject: Re: [Linux-cluster] lock_dlm but local flocks = true? Message-ID: <1261581328 14393 113 camel localhost localdomain> Content-Type: text/plain Hi, On Wed, 2009-12-23 at 15:53 +0100, frank wrote:
>  Hi Steve, thanks for your answer
>  but I have not put the "localflocks" mount parameter anywhere. Look at
>  "gfs_tool df" output:
> > # gfs_tool df /mnt/gfs
>  /mnt/gfs:
>      SB lock proto = "lock_dlm"
>      SB lock table = "H-N:gfs01"
>      SB ondisk format = 1309
>      SB multihost format = 1401
>      Block size = 4096
>      Journals = 2
>      Resource Groups = 200
>      Mounted lock proto = "lock_dlm"
>      Mounted lock table = "H-N:gfs01"
>      Mounted host data = "jid=0:id=196610:first=1"
>      Journal number = 0
>      Lock module flags = 0
>      Local flocks = TRUE
>      Local caching = FALSE
>      Oopses OK = FALSE
> > it says 'Mounted lock proto = "lock_dlm" ' because that is what I did.
>  So why is it using "local flocks"?
>
I don't know. What does it say in /proc/mounts? (or what was your mount
command line?)

Steve.


--
Aquest missatge ha estat analitzat per MailScanner
a la cerca de virus i d'altres continguts perillosos,
i es considera que està net.
For all your IT requirements visit: http://www.transtec.co.uk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]