[SOLVED] Trim PBS disk

Maksimus

Member
May 16, 2022
67
2
8
I have a PBS installed as a virtual machine in PVE, a 10TB disk (PBS) is connected to it, I want to cut the disk to 5TB (since no more space is being used), and the space on the physical disk is needed for another server. Please tell me how to do this cutting.
 
Last edited:
How ?
vDisk in a Datastore ? Disk passthrough ? HBA passthrough ?
This is what the PBS looks like (in the form of a VM) on which I want to trim the disks
 

Attachments

  • Screenshot_97.png
    Screenshot_97.png
    57.3 KB · Views: 8
  • Screenshot_98.png
    Screenshot_98.png
    54.2 KB · Views: 8
Give more details about how those ZFS disks are used. Are they each in their own zpool? All in the same zpool? Something else?

Zpools don't support much reconfiguration. You'll probably have to back up all the data in the zpool you want to change, rebuild a new zpool(s), and restore the data.
 
Last edited:
Give more details about how those ZFS disks are used. Are they each in their own zpool? All in the same zpool? Something else?

Zpools don't support much reconfiguration. You'll probably have to back up all the data in the zpool you want to change, rebuild a new zpool(s), and restore the data.
Yes, each disk is a separate pool. 4 disks = 4 pools

So it’s better to add a new disk, create a pool and transfer all the data into it?
 
Yes. That's what I would do.

Also, in case you didn't know, you can divide the disk into partitions and assign a subset of the partitions to a pool. I would do this with only one partition, though. Otherwise, on a spinning disk, performance will take a big hit.
 
  • Like
Reactions: Maksimus

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!