Bug 126952
Summary: | Can't unfreeze GFS filesystem with outstanding write request | ||
---|---|---|---|
Product: | [Retired] Red Hat Cluster Suite | Reporter: | Derek Anderson <danderso> |
Component: | gfs | Assignee: | Ken Preslan <kpreslan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Cluster QE <mspqa-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | ccaulfie |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-01-10 17:27:46 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
Derek Anderson
2004-06-29 18:29:48 UTC
This also seems to happen when using gulm as the lock manager. Now, GFS freezes and unfreezes a filesystem by reading and writing to /proc/fs/gfs instead of doing ioctl()s directly on GFS files. This fixes a bug where a process trying to unfreeze a filesystem would end up blocking behind another process holding a lock on the mountpoint and waiting for the filesystem to be unfrozen. This bug has always been present, but it's much more visible in the 2.6 code. Note that the arguments to "gfs_tool [un]freeze" need to be exactly what's found in /proc/mounts now. This is version 4. Arguments from /proc/mounts don't appear to be acceptable to gfs_tool. [root@link-10 fs]# cat /proc/mounts | grep gfs /dev/gfs/gfs1 /mnt/gfs1 gfs rw,noatime,nodiratime 0 0 /dev/gfs/gfs2 /mnt/gfs2 gfs rw,noatime,nodiratime 0 0 [root@link-10 fs]# gfs_tool freeze /mnt/gfs1 gfs_tool: unknown mountpoint /mnt/gfs1 [root@link-10 fs]# gfs_tool freeze /dev/gfs/gfs1 gfs_tool: unknown mountpoint /dev/gfs/gfs1 This is a bug in the way "gfs_tool [freeze|unfreeze|withdraw]" works with device mapper targets. It should be fixed now. This should be fixed. Reopen if you have problems. Verified. [root@link-11 /]# gfs_tool -V gfs_tool 6.1-pre8 (built Jan 7 2005 17:08:37) |