Bug 247946 - Kernel panic at boot when LVM root shapshot is full
Summary: Kernel panic at boot when LVM root shapshot is full
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 7
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Milan Broz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-12 08:15 UTC by Egon Kastelijn
Modified: 2013-03-01 04:05 UTC (History)
2 users (show)

Fixed In Version: 2.6.22.2
Clone Of:
Environment:
Last Closed: 2007-10-11 12:34:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Egon Kastelijn 2007-07-12 08:15:08 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.4) Gecko/20070603 Fedora/2.0.0.4-2.fc7 Firefox/2.0.0.4

Description of problem:
When an lvm snapshot is created of the root filesystem and this snapshot gets full, then the machine hangs with a kernel panic at boot time.



Version-Release number of selected component (if applicable):
lvm-2.02.24-1.fc7  kernel-2.6.21-1.3228.fc7

How reproducible:
Always


Steps to Reproduce:
1. lvcreate -s -n fglrx_test -L 100M /dev/VolGroup00/LogVol00
2. <use the machine until the shapshot is full>
3. reboot


Actual Results:
Kernel panic:
Reading all physical volumes. This may take a while...
device-mapper: table: 253:3: snapshot: Failed to read shapshot metadata
device-mapper: reload ioctl failed: Invalid argument
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

Expected Results:
A normal boot

Additional info:
-

Comment 1 Milan Broz 2007-07-13 12:19:54 UTC
Patch in the way to stable kernel.
For reference here:
http://www.kernel.org/pub/linux/kernel/people/agk/patches/2.6/editing/dm-snapshot-permit-invalid-activation.patch

Comment 2 Milan Broz 2007-10-11 12:34:42 UTC
Fixed since kernel 2.6.22.2 (in f7 updates and rawhide).


Note You need to log in before you can comment on or make changes to this bug.