I'm starting with LVM and I would like to know if when I create a LVM with different disks and one of them has data, when I create virtual volumes will make me loose all the data stored. And if there is a way to don't lose it, how can I do it?
Thank you
Yes, if you reassign your drive into an LVM, it will loose the data. Preventing this can be easy if you have at least one empty disk with enough space to accomodate the data: Just add the empty disk into the LVM, copy the data over there and after that is finished, reassign the full drive into the LVM as well.
Depending on your specific goals this might be more complicated or time-consuming (e.g. if a RAID will be used) but generally it should be possible.