[linux-lvm] F7 will not boot after running backup w/snapshot

Stuart D. Gathman stuart at bmsi.com
Fri May 2 00:38:41 UTC 2008


On Thu, 1 May 2008, Gerry Reno wrote:

> I started looking at this and then found that Fedora appears to have the 
> device mapper and snapshot support as modules:
> 
> /lib/modules/2.6.20-1.2952.fc6xen/kernel/drivers/md/dm-snapshot.ko
> /lib/modules/2.6.20-1.2952.fc6xen/kernel/drivers/md/dm-mod.ko
> 
> So what is going to happen if you have a snapshot of root partition 
> active and then a reboot happens (sound familiar?).  The kernel on 
> restart can no longer read device mapper or snapshot module or root 
> partition and it will panic and who knows what else will happen.  
> Corruption maybe???

The modules are copied to initrd by mkinitrd, and loaded from there.  They
are treated the same as device drivers for the disk containing
the root filesystem.   Mkinitrd can also copy md drivers to initrd
so that root can be on a software raid partition.

-- 
	      Stuart D. Gathman <stuart at bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.




More information about the linux-lvm mailing list