sorry: centos7 "fresh" minimal with a actual update cat proc/cmdline: BOOT_IMAGE=/vmlinuz-3.10.0-229.20.1.el7.x86_64 root=/dev/mapper/centos_root ro rd.lvm.lv=centos/root rd.lvm.lv=centos/swap crashkernel=auto rhgb quiet LANG=de_DE.UTF-8 systemd.debug ls /dev/mapper: centos-swap control Zitat von Gordon Messmer <gordon.messmer at gmail.com>:> On 12/02/2015 11:09 AM, Axel Glienke wrote: >> after a lvm snapshot creation and a reboot are all logical volumes >> are missing, only swap is present. > > What release is that? And what does /proc/cmdline contain when the > system boots to the dracut shell? > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centosGr??e Axel
Creating snapshot: [root at lvmtest ~]# lvcreate -L5G -s -n root_snap /dev/centos/root Reducing COW size 5,00 GiB down to maximum usable size 2,94 GiB. Logical volume "root_snap" created. [root at lvmtest ~]# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert root centos owi-aos--- 2,93g root_snap centos swi-a-s--- 2,94g root 0,00 swap centos -wi-ao---- 1,00g --- reboot --- dracut shell (missing /dev/centos/root) cat proc/cmdline: BOOT_IMAGE=/vmlinuz-3.10.0-229.20.1.el7.x86_64 root=/dev/mapper/centos_root ro rd.lvm.lv=centos/root rd.lvm.lv=centos/swap crashkernel=auto rhgb quiet LANG=de_DE.UTF-8 systemd.debug ls /dev/mapper: centos-swap control Gr??e Axel
On Wed, Dec 02, 2015 at 08:53:39PM +0100, Axel Glienke wrote:> Creating snapshot: > > [root at lvmtest ~]# lvcreate -L5G -s -n root_snap /dev/centos/root > Reducing COW size 5,00 GiB down to maximum usable size 2,94 GiB. > Logical volume "root_snap" created. > [root at lvmtest ~]# lvs > LV VG Attr LSize Pool Origin Data% Meta% Move > Log Cpy%Sync Convert > root centos owi-aos--- 2,93g > root_snap centos swi-a-s--- 2,94g root 0,00 > swap centos -wi-ao---- 1,00g > > --- reboot --- > > dracut shell (missing /dev/centos/root) > > cat proc/cmdline: > BOOT_IMAGE=/vmlinuz-3.10.0-229.20.1.el7.x86_64 > root=/dev/mapper/centos_root ro rd.lvm.lv=centos/root > rd.lvm.lv=centos/swap crashkernel=auto rhgb quiet LANG=de_DE.UTF-8 > systemd.debugshouldn't you have a new grub entry with: root=/dev/mapper/root_snap rd.lvm.lv=centos/root_snap Tru -- Tru Huynh http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20151202/844808f0/attachment-0001.sig>