resizing HD after installing the proxmox package

Hi

I’m crossposting in a new thread (sorry for that) in the hope that somebody can help.
Original here: https://dietpi.com/forum/t/guide-dietpi-on-proxmox/4931/22

How can I resize (grow) the disk of an installed proxmox VM?
Followed the guide https://dietpi.com/docs/install/ and it installed an 8GB disk. I need it to be bigger. Searched and haven’t found a working solution.

Thx in advance

There is no need to raise your question twice. This will not speed up thinks :wink:

I don’t use Proxmox but you could try to add a 2nd disk and move dietpi_userdata there.

I excused myself because of this, sorry again.

  1. how do I move user data, never done that.
  2. Plex etc have all their important files in /var/lib…

dietpi_userdata can be moved using dietpi-drive_manager. There you can select the 2nd disk and check the option to move dietpi_userdata.

For Plex you usually have a library if I’m not mistaken. And there you should be free to choose where it is located. Isn’t it?

Default Plex installation installs all into /var/lib/plexmediaserver; also Emby same thing. Seems to be hardcoded.
Really need to grow the main HD… As you provide the template with 8GB there has to be a way to increase this, why hardcode it to 8GB?

I guess you are mixing thinks. Using dietpi-software, executable of Emby is installed into /opt/emby-server. But this doesn’t mean that this is the location of the media files as well. Opening Emby web page first time, you need to run an initial setup. There you could specify location of media files. And it doesn’t matter where they are located.

Similar with Plex. Don’t mix location of executable with location of media files.

Well, this might be so but doesn’t resolve my issue…

There has to be a way to increase the size of the hd. I can think of booting into Gparted after resizing the disk in proxmox…

For those who stumble on this I’ve fixed this issue being able to resize the disk:

  1. resize the disk to the value you want in proxmox
  2. download Gparted iso from https://gparted.org/ and upload it to proxmox
  3. add iso to VM and boot from it (hit esc to choose boot medium)
  4. resize disk to fill all available space
  5. reboot and done

Maybe you were looking for the resizing feature which can be found in dietpi-drive_manager?!

I hadn’t seen this before! Might have worked. Will have to try the next time.
Thanks for pointing this out!

EDIT: Tried this on test VM. Installed the proxmox image. Increased the size and used the max disk in dietpi-drive_manager. Works!