[SOLVED] Outsource ns directory of datastore

kokel

Member
Mar 9, 2021
34
5
13
37
Hello,

I thought it's a good idea to outsource the datastore ns directory to a faster storage and work with a symlink.

Everythink seems fine until GC is started. The 1st phase was skipped or way too fast and 1-2 days later GC deleted all? or most valid chunks of my backups I wanted too keep.

So I have rolled back.

Is there a way too store the ns directory on a faster storage without breaking GC?

Thanks
 
I guess you could (bind)-mount the faster driver to this directory. I have not tried this myself, but I think that should work. Did you see any speed improvements from the symlink approach? IIRC the ns directory only contains snapshot metadata.
 
Hi @Lukas Wagner ,

It's the offsite backup server with cheap HDDs for the datastore, but the system has 2 nvmes. Navigating in the datastore, the time to show all backups of a NS was much faster, especially while sync or verify jobs were running.

With the bind mount it seems to work. GC phase1 wasn't skipped.

Thanks!
 
That's good to hear. Please mark the thread as solved, that makes it easier for others for find the solution if they have a similar problem. You can do so by editing the thread and selecting the 'solved' prefix right in front of the subject line!

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!