Add new HDD for local storage backups

somedudde

New Member
Aug 25, 2017
3
0
1
44
Hello everyone;
I am trying to add a new hdd for local storage to be used for backups. Here is an overview of what I am trying to accomplish.

I have 1tb hdd that proxmox is installed on, I have created 2 VMs(ubuntu server 16.04) that reside on that 1tb hdd.
I want to add a new 2tb hdd as a local storage on proxmox.
Then I want to share that 2tb hdd between the 2 VMs(like a shared drive/volume), this will be used as a backup drive by the VMs.

Is this possible by configuring proxmox?
 
In principal, yes. I depends on what do you mean by "sharing", do just their VM backups reside there or do you want them to share the filesystem? The later would mean you need to use a filesystem that is aware of locking globally, like gfs2 and configure both VMs to use the same drive or volume.
 
Hello, first and foremost, thank you for replying to my post.
I was wondering if I could format it as zfs and just create a network/mount the drive to the VMs.
Not planing on having the 2 VMs access the same files simultaneously,.
Planning on setting the VMs to use the hdd as storage, on 2 different subfolders.
Hopefully this makes sense.
 
I suppose you want to have a storage for backups of the contents of your VMs. It is easier to install and configure a NFS server on the PVE host and mount it inside the guests. This way you don't need to take care of locking and special configurations to your VMs.
 
Hello, once again thanks for the reply.
Ok, so I should create another VM(file server) and then just tie the other VMs to it?