Re: LVM not activating on reboot

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



On 30/09/2017 17:49, Gordon Messmer wrote:
On 09/30/2017 08:30 AM, Duncan Brown wrote:
However on a reboot, boot fails if I add that entry to fstab:
'Timed out waiting for device dev-mapper-vg03\x2dstorage.device'

I then have to activate it again with vgchange. I'm guessing I'm going to need a grub option, or do something with dracut but I'm a bit stuck here

You can add the kernel option "rd.lvm.lv=vg03/storage" but that *should* only be necessary if that mount point is needed in the early boot process.

What does your fstab entry look like?
Thanks for the reply

No joy after adding the kernel option, exactly the same issue

As for the fstab entry:

# cat /etc/fstab

UUID=84cb3521-4722-4993-8f8d-07289d6486cb       / xfs     defaults        0 0 UUID=3f7c32cd-49bb-4fda-8dc1-db88d2912786       /boot xfs     defaults        0 0 UUID=a36c7e69-67d6-4ad2-b4c5-01228b168c4b       swap swap    defaults        0 0 /dev/vg03/storage       /mnt/storage    xfs defaults,sunit=1024,swidth=2048,inode64 1 2

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux