Looking for a flexible storage layout

mb2024

New Member
May 19, 2024
2
0
1
Hi all,
For a home server project I wish to set up a flexible storage layout.
I have 128GB internal SSD and 1 TB USB SSD.
The applications I like to run:
- Home automation
- Next Cloud
- Git Server
- InfluxDB
- Grafana,
- Samba network share
- Backup for Proxmox (maybe Backup Server)
- ...

My intention is to use the 128GB mainly for VMs hosting the applications, and the 1TB as a shared storage, because I do not want to assign a fixed amount of disk space to each of the applications for their data.

So my idea is the following:
- Add the 1TB as Disk to the datacenter, so I can store backups, templates, etc. or better as NFS?
- Create a SAMBA & NFS share on the node itself (from the console), so I can use it via samba from other PCs on the network
- Mount a NFS share to from the VMs to store their data. (How do I do that? I can not ping the host from the VM).

Please let me know, if this is possible and makes sense after all or what would be a better approach?.

Thanks a lot
Michael
 
128GB is barely enough for a rootfs and a very small LVM-thin. It's not going to be a lot of space for virtual disks, even if you go with a ZFS boot/root with compression. You risk running out of space as the vdisks grow, not to mention snapshots. With ext4 rootfs for Proxmox I would recommend giving it 30-40GB for ISOs, container images and housekeeping. Do NOT undersize your rootfs to begin with, or you will have to mess around with resizing it later as it runs low on free space.

I would setup the 128 as pve OS, and the 1TB as a single-disk ZFS pool and put your vdisks and everything else on there. It's dead easy to setup a CIFS shared ZFS dataset and you should have plenty of space for data. (NFS, you're on your own.)

If you cannot ping the host from the VM then you need to get that sorted, either networking / DNS is setup wrong or it could be firewall.

Also, don't forget you still need separate media / NAS for backups.
 
Last edited:

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!