[CentOS] lvm snapshot

Wed Dec 2 22:02:52 UTC 2015
Axel Glienke <axel at glienke.cc>

ok, thank you very much Gordon.

but you know what the difference?

if i do
1. centos7 installation
2. yum upgrade
3. lvcreate -s ...
4. reboot

then i got the error.

if i do your way
1. centos7 installtion
2. snapshot & reboot
3. yum upgrade
4. reboot

then the system start.



Zitat von Gordon Messmer <gordon.messmer at gmail.com>:

> On 12/02/2015 12:05 PM, Axel Glienke wrote:
>> in journalctl i found:
>> modprobe: FATAL: Module dm-snapshot not found
>> ...
>> Can't process LV root_snap: snapshot target support missing from kernel
>
> I installed a very simple CentOS 7 system with an LVM root FS.  
> Created a snapshot and rebooted, no problem.  Updated dracut, then  
> updated everything else and rebooted, no problem.
>
> As far as I can tell, dracut normally includes the entire kernel  
> module tree under kernel/drivers/md, which should provide the  
> dm-snapshot module required to complete the boot sequence.
>
> I can't determine what's causing the problem you see, but it doesn't  
> appear to affect a standard installation.
>
> Try:
>
> dracut --force --debug > /var/tmp/dracut.txt 2>&1
>
> Upload /var/tmp/dracut.txt to http://paste.fedoraproject.org/.  I'll  
> see if I spot anything useful.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos



Grüße

Axel