Hi People,
Im having a bit of a weird issue where I have created a striped Logical Volume using the CLI but when I add it to the storage.cfg or use pvesm add lvm <STORAGE_ID> --vgname <VGNAME> to add it to the cluster it shows up as full. Im sure I am doing somthing really silly but I can't seem to figure it out.
For reference my setup is 4 proxmox nodes connected to a SAN via ISCSI, there are 2 LUNs on the SAN and each proxmox can see both LUNs. I have setup multipathing so that should a controller go down the nodes will still be able to get to the storage. I have then created a Volume Group including both LUNs using vgcreate, from there I have created a striped Logical Volume using lvcreate and have used mkfs to create an xfs file system. I have also tried without having a file system on there but still no luck.
When I try and get proxmox to actually use the LV it shows that all the space is used regardless of the method I use to add it to the nodes. I can see it isn't full as when I mount it on a directory and do df -h it shows 1% usage, I can also then add that directory to the nodes via the GUI and see the volume is empty.
I can't use it as a directory though as I need it to work with HA and when I have tried with it being a directory the other nodes can't see eachothers vm disks and it makes sense to me to just use the LV how its meant to be used.
Thank you for all the help in advance
George
Im having a bit of a weird issue where I have created a striped Logical Volume using the CLI but when I add it to the storage.cfg or use pvesm add lvm <STORAGE_ID> --vgname <VGNAME> to add it to the cluster it shows up as full. Im sure I am doing somthing really silly but I can't seem to figure it out.
For reference my setup is 4 proxmox nodes connected to a SAN via ISCSI, there are 2 LUNs on the SAN and each proxmox can see both LUNs. I have setup multipathing so that should a controller go down the nodes will still be able to get to the storage. I have then created a Volume Group including both LUNs using vgcreate, from there I have created a striped Logical Volume using lvcreate and have used mkfs to create an xfs file system. I have also tried without having a file system on there but still no luck.
When I try and get proxmox to actually use the LV it shows that all the space is used regardless of the method I use to add it to the nodes. I can see it isn't full as when I mount it on a directory and do df -h it shows 1% usage, I can also then add that directory to the nodes via the GUI and see the volume is empty.
I can't use it as a directory though as I need it to work with HA and when I have tried with it being a directory the other nodes can't see eachothers vm disks and it makes sense to me to just use the LV how its meant to be used.
Thank you for all the help in advance
George