Bug 435194
Summary: | Simultaneous gfs_grow results in invalid used space | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Corey Marthaler <cmarthal> |
Component: | gfs-utils | Assignee: | Robert Peterson <rpeterso> |
Status: | CLOSED WONTFIX | QA Contact: | GFS Bugs <gfs-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 5.2 | CC: | edamato, pkennedy, slevine |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-23 14:28:15 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Corey Marthaler
2008-02-27 21:22:24 UTC
Don't do that? ;7) Seriously, is this a test that passed in RHEL4.x but not in RHEL5.x? Many times we've talked about ways to prevent mkfs from running if the fs is mounted on another node. There isn't a good way to do this short of cluster-wide communications, but mkfs can't assume cluster-wide communications. They might not be using clvmd, for example. The gfs_grow tool has similar issues, but with gfs_grow, the fs needs to be mounted, which means we can assume we have cluster-wide communications at the gfs kernel level. So in this case, we could make gfs_grow tell the kernel somehow to take out an exclusive glock on the rindex file, for example, to prevent other nodes from doing gfs_grow at the same time. It may already be doing something like this but I haven't looked at it yet. We might have issues of what happens to that glock if the node goes down, panics, or is fenced while the lock is held. We could probably come up with a design, but given our workload, it would be best put on the back burner and documented around I think. I agree with the "don't do that" statement. I just wanted this documented in a bz incase a customer ever came across this. Since you used the word "documented" I'm adding Paul Kennedy and Steven Levine to the cc list. There isn't a good way to prevent this in all cases, so I'm closing this as WONTFIX. Users should not perform gfs_grow on multiple nodes simultaneously. |