QNAP mount. Total free size problem

alderaan79

New Member
May 13, 2024
7
0
1
Good morning, i'm testing a proxmox backup server. I've mounted my qnap in fstap using nfs and total space calculated is right (23.63 TB).

If I connect qnap directly as datastore, it works, but I see as total space 40 GB instead of 23 TB.

1715609020017.png

First screenshot QNAP mounted in fstab

1715609072076.png

Second screenshot: same path but directly mounted iwith Add Datastore and fullpath: //192.168.40.9/bckproxmox/

Free space is only 41.17 GB

Can someone, please, tell me what i'm doing wrong?

Thank You
Gianluca
 
Second screenshot: same path but directly mounted iwith Add Datastore and fullpath: //192.168.40.9/bckproxmox/
Hi,
you are not doing what you are expecting to do. The provided backing path for datastore creation is always a path on a local filesystem. So your first setup is the correct one, if you want to use a network storage as backing storage for the datastore (I assume you are aware of shortcomings and limitations, leading to such setup not being recommended).

In you second setup, the provided path will simply create a local folder structure on your root filesystem, so the root filesystems free space is what you see for the datastore.
 
Hi,
you are not doing what you are expecting to do. The provided backing path for datastore creation is always a path on a local filesystem. So your first setup is the correct one, if you want to use a network storage as backing storage for the datastore (I assume you are aware of shortcomings and limitations, leading to such setup not being recommended).

In you second setup, the provided path will simply create a local folder structure on your root filesystem, so the root filesystems free space is what you see for the datastore.
HI, thank you. I've a doubt. What if nas goes offline? I mean, in that situation, when a backup starts and nas is offline, is there the possibility that proxmox writes in /mnt/datanas without partition mounted? In that case space will be fulfill quickly....is it correct or it will fails?

Thank you.
 
HI, thank you. I've a doubt. What if nas goes offline? I mean, in that situation, when a backup starts and nas is offline, is there the possibility that proxmox writes in /mnt/datanas without partition mounted? In that case space will be fulfill quickly....is it correct or it will fails?

Thank you.
No, this will fail as a file handle is opened and kept in memory for accessing the chunk store. So this will fail. Also, the underlying mount point does not contain the necessary datastore folder structure only constructed on datastore creation, only the filesystem mounted on top will have that.
 
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!