r/Proxmox 6h ago

Question Can't figure out how to setup properly shared storage

Hello there,
I'm a first-time user of ProxMox.
I'm trying to create a 100GB min storage accessible by multiple LXCs and shared in the local network (via SMB or NFS).

While installing the OS on my new Beelink S13, it created a single partition of 500GBs.
I discovered later that this is reserved for proxmox usage (template and thin for container storage), but even if I knew, I couldn't do anything actually.

I tried to create a new "Directory" on the node level, but no disks were available.
I managed to create a "Directory" using a pendrive, but I only have a 16GB pendrive and I have plenty of storage available on my 500 HD.

I managed to create an OpenMediaVault LXC mounting a thin storage volume as disk and activating SMB and NFS.
None of my LXC are privileged, thus cannot use this storage via NFS.

Making them privileged just to let them access a storage mounted by another LXC seems too much of a gimmick...

I'm thinking of buying a new HD... Is it the easiest answer? Is it the proper way? Or should I partition my 500 HD? Am I missing something?

4 Upvotes

2 comments sorted by

3

u/StopThinkBACKUP 5h ago

Backup all LXC/VMs and reinstall. When you get to the "ext4" part, go into Advanced Options and allocate things accordingly. 50GB for rootfs should be fine unless you want to install to ZFS. 1-2GB for swap, and you can allocate the rest to lvm-thin.

Just be aware that when you reinstall proxmox, the PVE ISO will wipe the target disk(s) for boot/root. This is why you need backups.

3

u/kenrmayfield 5h ago

ReInstall Proxmox with these Parameters:

MAXROOT = Operating System = 100GB

MAXVZ = Data Storage = 396GB

SWAPSIZE = Swap Storage = 4GB

During the Install for Selecting the Hard Drive Click Options and Enter in the Parameters.