I'm trying to figure out how to simply create a shared storage location so ISO or container templates can be accessed from any node in the cluster.
I've got SSD (/dev/mpath0-VGSSD). and HDD (/dev/mpath0-VGHDD) storage added to the cluster...what do I need to do to actually use some of that storage for something other than housing VM disks?
I've created a directory called SharedStorage on the root of my mpath device (either for the SSD or HDD storage), and then added that as a Directory through the GUI, but if I save anything to that directory, none of the other nodes see it.
I read here that I'd need to create a logical volume, format it, mount it and then create a storage of type directory on the mount path.
If I try creating a logical volume with
then I get the following error:
Of course I'm not going to overwrite without understanding what I'm actually overwriting, so I really don't know what I'm meant to do with that. I've got VMs running on mpath0-VGSSD so I'm not sure if this is telling me it's about to create a logical volume over top of an already existing VM, or if it's just spewing noise, like "Hey, you're about to make a thing, I just thought you should know".
Ultimately, I just want to use a little bit of the shared storage so we're not saving anything locally on any node. If there's some better way to accomplish this, I'm all ears. I'm surely missing something, because this seems unnecessarily complicated.
Thank you
I've got SSD (/dev/mpath0-VGSSD). and HDD (/dev/mpath0-VGHDD) storage added to the cluster...what do I need to do to actually use some of that storage for something other than housing VM disks?
I've created a directory called SharedStorage on the root of my mpath device (either for the SSD or HDD storage), and then added that as a Directory through the GUI, but if I save anything to that directory, none of the other nodes see it.
I read here that I'd need to create a logical volume, format it, mount it and then create a storage of type directory on the mount path.
If I try creating a logical volume with
Code:
lvcreate -L 50G -n SharedStorage mpath0-VGSSD
Code:
WARNING: PMBR signature detected on /dev/mpath0-VGSSD/SharedStorage at offset 510. Wipe it? [y/n]: n
Aborted wiping of PMBR.
1 existing signature left on the device.
Failed to wipe signatures on logical volume mpath0-VGSSD/SharedStorage.
Aborting. Failed to wipe start of new LV.
Of course I'm not going to overwrite without understanding what I'm actually overwriting, so I really don't know what I'm meant to do with that. I've got VMs running on mpath0-VGSSD so I'm not sure if this is telling me it's about to create a logical volume over top of an already existing VM, or if it's just spewing noise, like "Hey, you're about to make a thing, I just thought you should know".
Ultimately, I just want to use a little bit of the shared storage so we're not saving anything locally on any node. If there's some better way to accomplish this, I'm all ears. I'm surely missing something, because this seems unnecessarily complicated.
Thank you