From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Firefox/1.0.6
Description of problem:
rc.sysinit doesn't load the dm_snapshot module when lvm snapshots are present. The result is that LVM volumes with snapshots fail to init. Even though the version of rpm I'm reporting is from CentOS, I'm fairly certain given the similarity between the two distros that this bug is present in RHEL 4.2 as well.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. make an lvm volume and mount it. add entry in fstab.
2. make a snapshot for lvm volume.
3. reboot. the lvm volume won't init.
Actual Results: because the dm_snapshots module isn't loaded, the lvm volume will fail to init.
Expected Results: the dm_snapshots module should have loaded to facilitate the init of the lvm volume which the snapshots are a part of.
Needless to say, this is a very bad thing to have happen if the lvm volume in question contains important stuff. Since there's no field in this form to submit unified diffs, here's the url where my fix to this problem can be found:
Let me know how well this works for you guys. Thanks.
(There is a 'create attachment', btw.)
There really should be some way to automatically load this when needed. Why
shouldn't the lvm/multipath/etc tools do this, if they see a map of the
appropriate type configured?
Created attachment 122232 [details]
the patch to the problem
As of RHEL4 U3, lvm2 should attempt to load the modules if necessary. See bug
I checked out but 170339, but didn't see much info in there. It doesn't seem to
have anything to do with supporting snapshots. Does the fix for that bug also
fix this one?
Yes it should do - all targets use the same function which does the
OK, closing this.
*** This bug has been marked as a duplicate of 170339 ***