Set size of Directory´s

Jumpfrog

New Member
Dec 23, 2011
5
0
1
[solve] Set size of Directory´s

Hey,i have a question to the Directory´s they can be create in Proxmox.I wan´t to create one for my smb-server. The size should be about 500GB but when i create a directory in the Proxmox Interface i only see a size of 90GB.So what is wenn the 90 GB are reached? Do they expand automaticlly?In this Directory i will place a VM with a smb to share my Datas with the Pc´s in the Network! So I need more then 90 GB!!!
 
Last edited:
Hey,

i have a question to the Directory´s they can be create in Proxmox.

I wan´t to create one for my smb-server. The size should be about 500GB but when i create a directory in the Proxmox Interface i only see a size of 90GB.
Hi,
you see the size of the filesystem where the directory is. If you use /export/windows you see the size of the root-partition - if you mount an smb-share on /export/windows you see the size from the share.
So what is wenn the 90 GB are reached? Do they expand automaticlly?
This where an real miracle if the size automaticaly grow (where came the spece from??). In short - when the filesystem is full, you runs in trouble - especialy if the filesystem is the root-filesystem.
In this Directory i will place a VM with a smb to share my Datas with the Pc´s in the Network! So I need more then 90 GB!!!
Normaly your logical volume data (mounted on /var/lib/vz) should be bigger - depends on your disk. This is the place to create VM-disks (the storage called local).
If you need more you have a bunch of options: Add an second disk (as lvm-storage or expand the data-lv); use SAN-Storage (iSCSI, FC); use NFS-mounts ...

Udo
 
Hey udo,

thx for your awnser.

The problem is, that I use a folder in /storage/ on the hostsystem. So I think the size of the directory must be the same like the directory with the name local.

I put on this awnser some pics.

local.jpglocaldata.jpgdescrdata.jpg

So the directory data is on the local in the directory storage.

After your post I have a question to my Idea.
I want to put a VM in the directory data. Do you think is is advisable to store the vm in the directory data? Or is it better so store it on the default (local).

best regard
Jumpfrog
 
Hey udo,

thx for your awnser.

The problem is, that I use a folder in /storage/ on the hostsystem. So I think the size of the directory must be the same like the directory with the name local.
no - local mean /var/lib/vz which is an different partition like root. /storage is on root.
Open an console on the pve-host and look with following commands to understand where which space is:
Code:
df -h
fdisk -l
pvdisplay
vgdisplay
lvdisplay
I put on this awnser some pics.


So the directory data is on the local in the directory storage.

After your post I have a question to my Idea.
I want to put a VM in the directory data. Do you think is is advisable to store the vm in the directory data? Or is it better so store it on the default (local).

best regard
Jumpfrog
for the beginning it's the best to use the default way - put your VM-disks on the local-storage. If you know how the things work together you can do what you want (but normaly an directory on the root makes no sense - it's different if this is an mountpoint for an different partition (network-storage)).
BTW. your root is very big (due to the installer partitioning). If you boot the installer with the boot-param "maxroot=20" you can create an root-partition of 20GB . more space for data.

Udo
 
no - local mean /var/lib/vz which is an different partition like root. /storage is on root.
Open an console on the pve-host and look with following commands to understand where which space is:
Code:
df -h
fdisk -l
pvdisplay
vgdisplay
lvdisplay

Ok, my root is 95GB big and my /var/lib/vz have a size of 812 GB.

for the beginning it's the best to use the default way - put your VM-disks on the local-storage. If you know how the things work together you can do what you want (but normaly an directory on the root makes no sense - it's different if this is an mountpoint for an different partition (network-storage)).
BTW. your root is very big (due to the installer partitioning). If you boot the installer with the boot-param "maxroot=20" you can create an root-partition of 20GB . more space for data.

Udo

Ohhh ok, that is nice to know thx :)

I think know i understand all of it better. Thank you

best regard
Jumpfrog

PS: ich glaube die Unterhaltung hätten wir auch auf Deutsch führen können ;)
 

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!