[SOLVED] Redfining disks in host - Running PVE and ZFS on same SSD

xcj

Member
Jul 6, 2021
34
7
13
48
Hi there,

I have two Lenovo M900 Tiny running as a cluster.

Each of them has
1 NVME M2 512GB SSD where i installed Proxmox, formated and partitioned automaticaly by the installler.
1 SATA M2 512GB SSD Running a ZFS POOL (with the same name on both hosts) - Called ZFS_SSD
1 SATA 4TB HDD also running another ZFS POOL (with the same name on both hosts) - Called ZFS_HDD
(i also run a Rasperry PI 1 powered from an USB from my NAS configured as a QDevice for quorum).

These hosts have been giving me trouble, 1 of them stopped supporting KVM Hardware Virtualization (without that i can't run a Windows Server VM on it) , and the other has been giving some random ethernet errors on the syslog that when they happen cuts ethernet connections for a few seconds, specially annoying when i am copying a file from a windows VM to my NAS , the copy fails, i have to reboot the host and it works OK for a while).

Since i wanted to keep a good balance for power and performance and size, i got a HP Elitedesk 800 G2 Mini barebones (power supply, motherboard and case) to see if it was a good alternative , it's the same chipset and generation as the lenovo.

The NVME on the Lenovo was running on an M2 Adapter that connected to the WIFI M2 connector on the board, this adapter does not work at all on the HP.
The M2 Sata also does not work on the HP, only the M2NVME and the SATA SSD, wich brings me to the the topic.
On the beginning i RAN proxmox on USB drives, they died after some time, after some research here on the forum i learned that this is a big problem an i should forget flash storage for system disks in Proxmox.

I now reassembled the Lenovo and i am rethinking my strategy.

The NVME SSD is just being used for the system, since USB is not an option and Proxmox does take that much space i was thinking how viable is the idea of resizing the partition where proxmox is installed, remove any unused partition and reclaim the rest of the SSD to create a new ZFS Pool, move the VM's disks that are running on the current pool to this one and forego the SATA M2 SSD.

The problem is, i am not sure how to do that, which partitions are safe to delete, how to resize LVM partitions and create a new Pool using only the free space on the SSD and not touching the system partitions.

Any tips on how to start?

Thanks!
 
So this is my storage:



Screenshot 2022-02-05 at 13.17.34.png

I am not using "local" or "local-lvm" for anything, they were created by the proxmox install when i choose EXT4.

Local is 100G, the only thing i used it for was to store an ISO file, the space is very underutilized and i dont have any option to remove or destroy it, i supose this is were the system is installed? Can it be resized?

Screenshot 2022-02-05 at 13.21.16.png

The "Local-LVM" is 363G , on storage options for the host has an option to "destroy" it, i haven't used it for anything and it reports it as not being used, so this one is safe to remove?

Screenshot 2022-02-05 at 13.24.04.png

The endgame is to have the biggest possible free space on this SSD , add a new ZFS pool on that free space, and then move the VM Disks from the ZFS_SSD to the new ZFS Poool so i can forego the SSD that has the ZFS_SSD.

Thanks!
 
This can be marked as "solved" , since whatever suggestions may appear i won't be able to implement them.
I searched other threads with from users that wanted to do something similar, they were referred to an outside KB article on how to resize LVM storage, i tried the tutorial and it messed up the file system.

I reinstalled proxmox with ZFS on RAID0 on the single SSD and restored the VM's onto it. It accomplished what i wanted only two disks one SSD with proxmox and VM disks and one HDD.
 
  • Like
Reactions: TorqueWrench

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!