You are not logged in.
Pages: 1
Hi,
Sorry if this has been answer. I did some search but unable to get any help on this. It's my first time to use LVM under Archlinux.
Situation:
I had created a lvm partition, and had successfully mount it accordingly. Then I put the partition mapping in /etc/fstab as follows:
/dev/mapper/vg-vol/lv-vol /data xfs defaults 0 2
Problem and get around:
When the machine is reboot, I got an error when mounting the lvm partition. Message is something like " special device *device-name* does not exist".
So what I can do is boot the machine without the lvm mount stated in /etc/fstab. I manually mount the lvm partition again but got same error. After troubleshooting with help on WIKI, execute
vgchange -ay /dev/vg-vol
I can mount the lvm again. But not again after reboot until the same procedure executed.
Question:
My question is how to mount this lvm partition during boot? I can't use the /etc/fstab right now unless I execute the vgchange command. Appreciate any one can help. Thanks.
Last edited by acheun (2011-02-10 03:05:02)
Offline
Rebuild your initramfs image with the lvm hook included.
Offline
Thanks. It solved my problem.
Offline
Pages: 1