Bug 169087
Summary: | still a small window where another node can mount during a gfs_fsck | ||
---|---|---|---|
Product: | [Retired] Red Hat Cluster Suite | Reporter: | Corey Marthaler <cmarthal> |
Component: | gfs | Assignee: | Abhijith Das <adas> |
Status: | CLOSED ERRATA | QA Contact: | GFS Bugs <gfs-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHBA-2006-0233 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-03-09 19:43:11 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
2005-09-22 21:10:32 UTC
2 parts to the problem: Fixed both parts and checked in code to RHEL4, STABLE and HEAD 1 - When gfs_fsck starts, it sets lock_proto to fsck_gulm(or dlm). This happens after the initialization phase which itself takes a good 10 seconds (on my setup). FIX: Split the function fill_super_block() into two, read_super_block() and fill_super_block(). block_mounters() is called between these two functions so the ~10 second delay disappears 2- When gfs_fsck modifies the lock_proto to fsck_gulm(or dlm) in block_mounters(), it doesn't fsync() the changes to the superblock to disk. This was causing the other nodes to still use the old value of lock_proto (lock_gulm, lock_dlm) thereby allowing gfs mounts. FIX: added fsync() so that all nodes see the change instantly. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0233.html |