Re: F7 will not boot after running backup w/snapshot

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

 



Gerry Reno wrote:
Alasdair G Kergon wrote:
It's up to your initrd and/or initscripts whether or
not and how to use those facilities.

Alasdair,
Is it possible to define an init script that would run early enough (before LVM tries to activate the volumes) so that I could vgreduce the old snapshot?
 Or does this require a new initrd?

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

Gerry





_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux