I have two hard drives (250G, and 150G) taken out from laptops, and can attach them to my computer using SATA/USB adapter. (I don't have an enclosure case, and what tools do you think are the best to access the hard drives, enclosure case, SATA/USB adapter, RAID, NAS?)
I would like to use them as backup devices. Each of them is a bootable disk, and has at least two partitions (one for /
and one for /home
).
Is it a good idea to create PVs, VGs, and LVs on them using LVM?
If yes, is it the same process of create PVs, VGs, and LVs on a hard drive inside a computer? For example:
Is it better to create a single PV per hard drive, and then a single VG per hard drive or a VG on the two hard drives?
After creating PVs, VGs, and LVs on them, do I need to
vgexport
them before detaching them from my computer?When I want to reattach them to my computer, do I need to
vgimport
them?
Thanks.