Hi there. I am fairly new to proxmox and had a little problem the other day. The other day I decided to change the main disk where Proxmox is installed. The fact is that I wanted to change it because that disk that was being used needed it for another project. So I was looking for information on how to migrate Proxmox to another disk. The only thing I found was with clonezilla, duplicating the disk to another.
I did it. Proxmox works perfectly, it has all the same information as before. Everything was good. But there is a problem in storage. By copying the same as the previous disk, the partitions have also been duplicated in the same way. The fact is that the old hard drive was 120GB and the current one is 300GB. The problem is that I do not know how to increase the capacity of the partitions of the hard drives.
I have been doing some research and have seen that I would have to increase the pve / data capacity. I have tried "lvextend pve/data -L + 30GB" but it tells me that there is not enough space. So I understand that I have to give more space to the partition that is above it. I'm a bit lost and I don't know how to do it.
The objective is to increase the capacity of the disk where the virtual machines are stored.
Attached screenshots of lsblk and others to see if you can help me.
I hope you explained to me in the best possible way.
Greetings
I did it. Proxmox works perfectly, it has all the same information as before. Everything was good. But there is a problem in storage. By copying the same as the previous disk, the partitions have also been duplicated in the same way. The fact is that the old hard drive was 120GB and the current one is 300GB. The problem is that I do not know how to increase the capacity of the partitions of the hard drives.
I have been doing some research and have seen that I would have to increase the pve / data capacity. I have tried "lvextend pve/data -L + 30GB" but it tells me that there is not enough space. So I understand that I have to give more space to the partition that is above it. I'm a bit lost and I don't know how to do it.
The objective is to increase the capacity of the disk where the virtual machines are stored.
Attached screenshots of lsblk and others to see if you can help me.
I hope you explained to me in the best possible way.
Greetings