Can't create another ZFS pool

tessus

Active Member
Oct 5, 2020
49
4
28
Toronto, Canada
I've installed Proxmox 6.3 on 2 NVMEs with RAID 1 ZFS.

There are also 2x 4TB hard disks in the machine, but I told the installer to exclude them.

I wanted to use the hard disks in a ZFS RAID1 array to hold my VMs and ISO images (at least most of them with a few running of the NVME array). So this is what I see when I go to Disks in the Proxmox UI:

1617602006487.png

The strange thing is that the hard disks are brand new and I haven't partitioned them, so I have no idea why there is a 1.64 TB partion on either of them. Anyway, when I then go to ZFS and click Create ZFS this is what shows up:

1617602291956.png

Somehow this doesn't look right. Please note that I disabled the fake RAID in the BIOS. Why don't the 2 hard disks show up here? I'm also ok using the command line. But since I am new to Proxmox I cannot tell if it is normal that I can't create a new pool via the UI. I reckon I will have to use fdisk to remove the partions and then use the command line to create a second ZFS pool, right?

Also, what is the best way to use 2 sets of different locations for VMs and ISO images?

I want to be able to put ISO images (install cloud images) on the the NVME array and on the hard disk array.
The same is true for VMs. I want to be able to put VMs either on the NVME array or the hard disk array.

What is the best way to do that? I haven't read the entire admin manual yet, so I'm also happy to hear to RTFM - section x.y.z.
 
Hello,

probably there are already partitions on the disks - so they are not recognized as "empty".

You might erase all of them by using the "zap" function of tools like gdisk - using the command line of course.

Be aware that the accessibility of ALL DATA on those disks will get DESTROYED this way, so be careful to select the correct disks...

Best regards
 
Thanks for the reply.

I know how to remove partitions, but what I don't understand is why there are partitions on brand new disks. I will certainly remove everything from those hard disks. I'm curious if the disks then show up in the Create ZFS dialog. I will be able to test that in a few hours.

Is the name rpool that was chosen by the installer referenced in any scripts or the Proxmox UI?
I'm just wondering if renaming the pool will break things.

(I think I would like to use something like nvme-pool and hdd-pool.)

This next part is also still a mystery to me.

I want to be able to put ISO images (install cloud images) on the the NVME array and on the hard disk array.
The same is true for VMs. I want to be able to put VMs either on the NVME array or the hard disk array.

Can I do this via the UI, or do I have re-bind mount points or create sym links?
 
In every storage entry you can define what PVE puts there. Usually a zfs rpool/data is created for VM images on your system disks. I guess you could add that manually and then add the storage entry through the GUI.
The same goes for the HDDs, as soon as you set up your mirrored pool you can create a zfs on it and then define a storage entry with the name of the zfs.