This question was made a Community Wiki post because while this is technically my answer, I borrow off of others' answers, and do not deserve any reputation gains from this as a result.
Em teoria , você pode construir um LVM que cubra a totalidade dos três discos, mas precisamos de um pouco mais de informação para determinar se esta é a rota correta. Ou seja, precisamos saber se os dois discos de 2 TB que você mencionou são unidades internas ou discos rígidos externos.
Se são discos rígidos externos, a resposta original do heynnema é válida e precisa ser seguida.
Se eles são discos internos, então na teoria seguindo a parte "Adicionar outra unidade ao seu volume" de esta resposta aqui por Jacob Schoen provavelmente seria o que você precisa fazer:
Adding another drive to your volume
- So follow the steps in the first bullet again but for the new drive.
- Now if the drive name is
/dev/sdb1
then dosudo vgextend media /dev/sdb1
to add it to the volume.- Now we need to unmount the volume. To do this do
sudo umount /dev/media/volume
.- Now you can see the stats on your volume now by running
sudo vgdisplay
. The important part isFree PE / Size
. You need to know how much space you can add to the volume for the next https://i.stack.imgur.com/jLgkr.jpg?s=64&g=1step.- So if you had 150 Gb of space you would do
sudo lvextend -L+150G /dev/media/volume
.- Now run
sudo e2fsck -f /dev/media/volume
to check the filesystem.- Now run
sudo resize2fs /dev/media/volume
to resize everything.- You can run the stats again and verify that
Free PE / Size
has dropped to what you expect.- Remount the volume by doing
sudo mount /dev/media/volume /mnt/media
- Rinse and repeat for any other drives.
Also something that I found helpful was I had files I needed to copy off of disks to the LVM I created before I added that disk. So I used
cp -r -v
so that it would recursively copy files and use the verbose output so I know what it was doing. An example of the full command would be:cp -r -v /mnt/temp/Movies /mnt/shared/mediaWhere
/mnt/temp/Movies
is the folder you want to copy from.
Independentemente do método escolhido, você deve sempre fazer o backup de seus dados antes de fazer qualquer alteração no sistema.