- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- GFS configuration
Operating System - Linux
1820635
Members
1825
Online
109626
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2010 01:28 AM
тАО10-24-2010 01:28 AM
GFS configuration
Hi all,
I have an error message during a GFS creation:
[root@toto /]# mount.gfs2 /dev/dm-10 home01/
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: gfs_controld not running
mount.gfs2: error mounting lockproto lock_dlm
i need your assistance please
I have an error message during a GFS creation:
[root@toto /]# mount.gfs2 /dev/dm-10 home01/
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: can't connect to gfs_controld: Connection refused
mount.gfs2: gfs_controld not running
mount.gfs2: error mounting lockproto lock_dlm
i need your assistance please
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2010 03:37 AM
тАО10-24-2010 03:37 AM
Re: GFS configuration
Perhaps your cluster infrastructure is not running?
Your GFS2 filesystem is configured to use the "lock_dlm" lock protocol. This is required if you want to access the GFS2 filesystem on two or more hosts at the same time. If you want to use GFS2 on a single node only, you could select the dummy "lock_nolock" lock protocol.
To successfully use "lock_dlm", the kernel's DLM subsystem must be up and running, which requires that you must have set up a basic cluster configuration: a cluster with no services defined yet, but with heartbeat and fencing configured and running.
Normally the gfs_controld daemon starts along with other cluster daemons when you run "service cman start". Looks like your cman start-up has not been successful. You should fix that first.
Please show the output of "service cman status".
The outputs of "cman_tool status", "cman_tool nodes" and "cman_tool services" might be useful too.
Here's a technical description of the things that need to happen at GFS/GFS2 filesystem mount time:
http://people.redhat.com/teigland/rhel5-cluster-infrastructure.txt
MK
Your GFS2 filesystem is configured to use the "lock_dlm" lock protocol. This is required if you want to access the GFS2 filesystem on two or more hosts at the same time. If you want to use GFS2 on a single node only, you could select the dummy "lock_nolock" lock protocol.
To successfully use "lock_dlm", the kernel's DLM subsystem must be up and running, which requires that you must have set up a basic cluster configuration: a cluster with no services defined yet, but with heartbeat and fencing configured and running.
Normally the gfs_controld daemon starts along with other cluster daemons when you run "service cman start". Looks like your cman start-up has not been successful. You should fix that first.
Please show the output of "service cman status".
The outputs of "cman_tool status", "cman_tool nodes" and "cman_tool services" might be useful too.
Here's a technical description of the things that need to happen at GFS/GFS2 filesystem mount time:
http://people.redhat.com/teigland/rhel5-cluster-infrastructure.txt
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2010 03:44 AM
тАО10-24-2010 03:44 AM
Re: GFS configuration
i use ha.cf, haressources and authkeys to configure my cluster with redhat5. i am not use cluster suite.
help me.is it possible to use gfs without lock_dlm? how can i unlock it?
help me.is it possible to use gfs without lock_dlm? how can i unlock it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2010 06:08 AM
тАО10-24-2010 06:08 AM
Re: GFS configuration
The files ha.cf, haressources and authkeys are associated with the Linux cluster solution called "Heartbeat", not with the RedHat Cluster Suite. Without the capitalization, "heartbeat" is also a generic cluster concept.
Unfortunately it looks like the Heartbeat cluster infrastructure does not provide the cluster-wide locking services required by GFS or GFS2. It seems to allow for failover-type clusters only.
> is it possible to use gfs without lock_dlm?
No, unless you build your own cluster-wide lock management solution and integrate it with GFS. That would require some very careful programming, and a lot of testing after that.
> how can i unlock it?
You aren't even asking the right question :(
Lock_dlm is not required for the purpose of "unlocking the GFS filesystem", but for _locking_ individual files and certain critical parts of the GFS filesystem whenever one of the cluster members is making changes to them. Without the protection of the locks, another cluster member might try to change the same thing in a different way at the same time, causing filesystem corruption.
Lock_dlm (or some other cluster lock protocol) is an *essential* part of GFS implementation: if you try to use GFS in a cluster without an appropriate cluster lock protocol, the GFS filesystem will get corrupted just like a regular filesystem that is being accessed by two or more hosts simultaneously.
MK
Unfortunately it looks like the Heartbeat cluster infrastructure does not provide the cluster-wide locking services required by GFS or GFS2. It seems to allow for failover-type clusters only.
> is it possible to use gfs without lock_dlm?
No, unless you build your own cluster-wide lock management solution and integrate it with GFS. That would require some very careful programming, and a lot of testing after that.
> how can i unlock it?
You aren't even asking the right question :(
Lock_dlm is not required for the purpose of "unlocking the GFS filesystem", but for _locking_ individual files and certain critical parts of the GFS filesystem whenever one of the cluster members is making changes to them. Without the protection of the locks, another cluster member might try to change the same thing in a different way at the same time, causing filesystem corruption.
Lock_dlm (or some other cluster lock protocol) is an *essential* part of GFS implementation: if you try to use GFS in a cluster without an appropriate cluster lock protocol, the GFS filesystem will get corrupted just like a regular filesystem that is being accessed by two or more hosts simultaneously.
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP