You can add a local path as a storage device. If I recall correctly
though, you add a storage device to the cluster not to the node, so each
node will add that same path a storage device.
So you can't mount a local hard drive and add it as "storage" in a
proxmox cluster, unless that same path exists on all of them.
What I have done at least once is create a samba share on one host, then
mount that share on every host including the local one. You add it to
fstab so it auto mounts at boot.
So if I have host1, host2, and host3 in a Proxmox cluster. I might have
a large disk on host1 at /dev/sdb1 and mounted on /mnt/backups. Then
share it with Samba. Then mount the Samba share as /mnt/proxmoxbackups
on all three nodes. Then add /mnt/proxmoxbackups as a local directory
storage device in the proxmox cluster.
Or....something like that. It was a few years back. Later I just used
a separate server as a network storage device and never looked back.
------ Original Message ------
From: "Jason McKemie" <[email protected]>
To: "[email protected]" <[email protected]>
Sent: 2/8/2017 12:20:17 PM
Subject: Re: [AFMUG] Proxmox
Yeah, I definitely would store a backup on separate storage, I just
can't seem to find a way to store it locally so that I can then go and
copy it to the separate storage. Ultimately I know I will want to have
storage in place to auto-backup to, I just was hoping for a manual
hold-over in the mean time.
On Wed, Feb 8, 2017 at 11:15 AM, Brett A Mansfield
<[email protected]> wrote:
Hi Jason,
You can create a cluster without external storage, but because it is
syncronys replication it will double your write hit. But if you have a
solid network and solid drives you'll barely notice if at all.
For backups I recommend you use separate storage. Otherwise your
risking losing your data if your primary raid array dies.
Thank you,
Brett A Mansfield
> On Feb 8, 2017, at 10:06 AM, Jason McKemie
<[email protected]
<mailto:[email protected]>> wrote:
>
> To those of you out there using Proxmox, I have a couple questions.
>
> I started messing around with this a year or so ago, but have really
just started to use it in a production environment.
>
> The main thing I'm wondering about is if it is necessary to have a
separate storage server in place to operate a cluster, or if it is
possible to use the drive(s) on each node.
>
> Additionally, is a separate storage server necessary to do backups?
It isn't obvious to me that there is any way to create or store a
backup without some sort of network storage that is external to the
node(s).
>
> I'm obviously new at this virtualization / container thing, so,
sorry if these questions sound stupid.
>
> TIA
>
> -Jason
>
>