Re: [CentOS] Boot fails with lvm snapshot

2020-08-20 Thread Patrick Bégou
Hi, I check this morning, dm-snapshot.ko was yet included in initrd as show by lsinitrd. $ lsinitrd /boot/initramfs-3.10.0-1127.18.2.el7.x86_64.img | grep dm-snapshot.ko -rw-r--r--   1 root root    20372 Jul 26 17:38 usr/lib/modules/3.10.0-1127.18.2.el7.x86_64/kernel/drivers/md/dm-snapsho

Re: [CentOS] Boot fails with lvm snapshot

2020-08-19 Thread Patrick Bégou
Hi Gordon, my dracut package is the latest available for Centos7 (this occur just after my "yum update" and reboot). It is dracut-033-568.el7.x86_64 in CentOS Linux release 7.8.2003 (Core) I'm going to rebuild my initrd as suggested with the snapshot setup. Thanks for the links. Patrick Le 19/0

Re: [CentOS] Boot fails with lvm snapshot

2020-08-19 Thread Gordon Messmer
On 8/19/20 1:02 AM, Patrick Bégou wrote: However, if this snapshot exists, reboot of the server freeze at boot time and I must manually remove this snapshot. Why ? It's a bug.  Update dracut. https://bugzilla.redhat.com/show_bug.cgi?id=1287940 https://bugzilla.redhat.com/show_bug.cgi?id=15465

[CentOS] Boot fails with lvm snapshot

2020-08-19 Thread Patrick Bégou
Hi, I have a strange problem with my centos7 file server. I have a large data storage (75TB in RAID6, managed by lvm) and each night I create a snapshot  (removing first the previous one). The snapshot is mounted read-only so if a user remove a file accidentally he can restore it in the same day.