Raspberry Pi : Mount LVM volumes

I wanna use Raspberry Pi as File server, Media server, Cache server and etc. So I separated /var, /opt, /home directories to LVM volumes as following steps.

1.Create LVM volumes by these steps.

2.Mount LVM volumes from Pi and move data.

3.Update /etc/fstab

4.Update initramfs for mount LVM on booting

Without step 4, init can’t find LVM volumes on booting and some init processes fail. Besides, if /usr is also separated and failed to mount then kernel panic occurred and it never boot.

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です