Bug 503116
Summary: | Some VGs are not activated at boot when lvm cache is not uptodate | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Takahiro Yasui <tyasui> |
Component: | lvm2 | Assignee: | LVM and device-mapper development team <lvm-team> |
Status: | CLOSED DEFERRED | QA Contact: | Cluster QE <mspqa-list> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 5.3 | CC: | agk, dwysocha, heinzm, iannis, jbrassow, lwang, masaki.kimura.kz, mbroz, noboru.obata.ar, notting, prockai, saguchi, takahiro.yasui.mp |
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: | 2011-10-21 16:25:01 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
Takahiro Yasui
2009-05-28 22:58:03 UTC
Is there a reason the tools can't be able to handle an out of date cache when necessary? (Given that the system isn't read/write at that point, perhaps the proper solution is to link the cache to /dev/null. It depends how the tools are used... If you don't specify a list of VGs in a command and the cache exists, it should use the cache to determine which devices to use - other devices will be ignored. It's for initrd/initscripts to deal with that e.g. making the cache dir writable and retaining it across pivotroot, or having the dir empty. (Its location can be overridden if that makes things easier to copy it about.) Alternatively if you do specify a list of VGs and any of the VG names cannot be found, it will automatically rescan to search for it. Ultimately, we should have both: the list of VGs to be activated at boot should be specified, and the cache files should be moved around so they are always writable and retained. But as we get further along with the udev/upstart integration work, this will probably all end up changing anyway. With change to reading list of block devices from udev cache becomes obsolete (not used), so in RHEL6.2 this should now work. For RHEL5 we do not plan to change this functionality, administrator should run vgscan to update cache if you want vgchange without VG specified to run properly. |