Bug 178705
Summary: | ext "mounting unchecked fs" warnings when mounting snapshots | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | Mikuláš Patočka <mpatocka> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | agk, dwysocha, mbroz |
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: | 2008-06-11 03:08:39 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
2006-01-23 17:38:56 UTC
Is there still an issue with this ? (I think it is fixed by lock_fs call...) Yes, this still exists in lvm2-2.02.21-5.el4 (2.6.9-55.ELlargesmp). [root@link-08 ~]# mount /dev/link/snap1 /mnt/2 May 23 11:35:35 link-08 kernel: EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended Hmm, I am considering marking this as WONTFIX. Ext2 design doesn't allow to bring filesystem to a consistent state while it is mounted. There are two reasons for it: 1. the filesystem doesn't contain any global lock. When creating snapshot, we must make sure that there is no operation in progress and that no new operation will be started --- but there are many entry points to the filesystem and no lock to protect them all. Fixing this would mean major code rewrite. 2. ext2 allows files being open after they are deleted and only fsck can recover these lost inodes. If you take snapshot of a filesystem with open deleted file, the only way to make this snapshot consistent is to run fsck on it --- so keeping the snapshotted filesystem marked for fsck is a good thing. I'd suggest to use ext3 or other journaled filesystem for snapshots. |