Bug 143650
| Summary: | order 0 page allocation failure during lvcreate | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Paul P Komkoff Jr <i> | ||||
| Component: | kernel | Assignee: | Alasdair Kergon <agk> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Brian Brock <bbrock> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 2 | CC: | agk, rhbugzilla, wtogami | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2006-02-21 19:07:47 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: | |||||||
| Attachments: |
|
||||||
|
Description
Paul P Komkoff Jr
2004-12-23 10:13:50 UTC
is this still a problem with todays 2.6.10 updates ? I don't know yet. It's a production server, I will try to update at today evening and check. This is a known shortcoming of device-mapper snapshots. Work is underway to address it. Each snapshot requires a certain amount of physical kernel memory to be available. If there isn't enough free kernel memory at the instant you create or activate a snapshot, you get an error like that. Recent upstream kernel changes have actually made the problem worse. To recover without rebooting, you need to use 'dmsetup' to reset the states of the devices in the right sequence, removing the snapshot in the process. I hope to have the code fixed in about a month's time. [It involves rewriting some complicated code, unfortunately.] *** This bug has been marked as a duplicate of 132057 *** (In reply to comment #4) > To recover without rebooting, you need to use 'dmsetup' to reset the > states of the devices in the right sequence, removing the snapshot in > the process. Please could you post a simple example (for an LVM wedged with one snapshot in use)? This would really help me while we're waiting for the real fix! Thanks. (The man page for dmsetup assumes far more low-level knowledge than I have). It depends on how it failed. Post the output of 'dmsetup info -c' here. Too late to do that, I'm afraid. I blundered around for several hours and eventually resuscitated the machine, without understanding how or why. But when the problem first arose, I noted that vgob01-lv_home (the source of the snapshot) was INACTIVE and suspended, whereas the corresponding snapshot, vgob01-hdup_snapshot, was INACTIVE and available. I managed to regain use of the machine with dmsetup resume vgob01-lv_home and lvremove /dev/vgob01/hdup_snapshot. But a reboot then failed with: "device-mapper: : unknown target type ... Couldn't load device 'vgob01-hdup_snapshot' " If that's not enough info, I'll post the requested output next time the problem happens (seems to be once every few weeks at present). Thanks for your help. Created attachment 113461 [details] output of dmsetup info -c as requested in comment 7. This was run from a virtual console in multi-user mode before attempting any recovery. If this leads to a dmsetup "recipe" I'd be grateful. I can post a log of my present (embarrassingly ignorant, long-winded, and probably dangerous) recovery procedure, if that would help. Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |