[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]