I have a set up that looks like this, and I need to have sda3 and sdb under /home folder, all as one. I dont care about the contents of the current /home directory, everything there can be erased.
1) LVM work has never been done on this system. sda, sda1, sda2, (sda3), sda4 can be left
as is before going to the further steps? They are set up the standard way.
2) There is no need to partition the sda3 as 8e (the LVM type)?
3) Do not create a parition on sdb, or maybe create a partition of the LVM type (8e)?
4) pvcreate /dev/sdb - create a physical volume
5) pvcreate /dev/sda2 - create physical volume
6) vgcreate volgrp1 /dev/sdb /dev/sda2 - create volume group named volgrp1
7) lvcreate volgrp1 (can define size, name and probably other things, but this is the most
basic form, default naming convention will be used)
8) create an ext4 filesystem on it, just like with regular partitions
9) mkdir /home
10) mount lvol1 (default name given by the lvcreate command) on it
11) So the (sda), sda1, sda2, sda4 will be non-lvm and thats ok?
Would this be correct, or am I missing something here or doing something wrong?
Thanks.