Combining local storage (local and local-zfs) ?

C8Z06

New Member
Sep 2, 2022
26
3
3
I saw a video when I setup my first PVE server about how to delete the local-lvm and combine the storage space with local. I did that and it seemed to make sense to me.

Well, I was learning SO HARD that I broke my entire PVE install and started over. When I did, I used some of what I learned (partly here) to improve things. I ran to the store tonight and grabbed a couple SSD's to use as boot drives. When installing, I selected ZFS RAID1 and chose both of the drives.

Once I got into ProxMox however, the storage was called local and local-zfs, not local and local-lvm. So, when I tried following the same steps I found the first time it obviously didn't work. I've googled and searched here but have not found the answer.

I had deleted local-zfs before realizing that the remaining steps would not work. Before I do anything further I want to see if I can figure out what else I need to do to finish what I started. I don't want to build a house on sand haha.

Thanks!

Craig
 
When installing, I selected ZFS RAID1 and chose both of the drives.
That does not make any sense. With two drives, just use mirroring, RAIDz1 makes sense starting with 3 drives.

I had deleted local-zfs before realizing that the remaining steps would not work. Before I do anything further I want to see if I can figure out what else I need to do to finish what I started.

Could you please describe what your storage hardware looks like besides the two SSDs?
 
That does not make any sense. With two drives, just use mirroring, RAIDz1 makes sense starting with 3 drives.
I am confused. Raid1 is mirroring.

Could you please describe what your storage hardware looks like besides the two SSDs?

Nothing ... yet. I have a supermicro chassis with 12 x 3.5 bays in the front. I currently have 5 x 14TB drives in there and am going to be adding more once I can liberate them from my windows machine. My plan is to pass those drives through to a TrueNAS VM.

So, the the idea was to have the 2 1TB SSD drives in a ZFS RAID1 (mirror) for the boot drive as well as for VM storage. Basically just like the standard install sets things. The only reason I wanted to combine the two default storage locations (local and local-zfs) was to just simplify per the tutorial I followed when setting the first PVE up.

All that being said, I ended up just starting the install over last night and putting things back like they were. While I very much want to learn how this storage works, and how to resize it, it is not really all that important - certainly not enough to stop my progress. So I just started over which was faster than trying to find those answers.

All that being said, if there be anywhere to point me to learn more about how those two storage locations are resized that would be great. I would love to learn about it! : )
 
No, I said "ZFS RAID1" : )

Here are the options. I selected the 3rd one from the top of the list.

1662922530433.png
 
With ZFS (in contrast to LVM, afaik) there is no fixed size for local and/or local-zfs. Both can potentially utilize all the usable space of the zpool.

local is file storage (a directory on your root-ZFS-dataset) for your ISOs, LXC-templates and (theoretically) backups.
local-zfs is block storage for your VM-vdisks (ZVOLs) and LXC-mountpoints (ZFS-datasets).
 
  • Like
Reactions: C8Z06
If they are sharing, why is it that my local reports a total of 110GB while local-zfs reports a total of 40GB?

My bigger issue is, it is a 256GB disk, how do I make all 256GB available? Thanks
 

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!