I have a running Proxmox with additional hard drives in RAID 1 array. I added them and wanted to keep them separate from the Proxmoxm install hard drives because they are SSDs vs. regular 7200 spinners for the Proxmoxm install.
I addded the RAID array with 2 SSDs taht came up as the sdc so I used fdisk to partition it making sure it is of type 8e...
...then:
root@vs01:/dev# pvcreate /dev/sdc1
Physical volume "/dev/sdc1" successfully created
root@vs01:/dev# vgcreate -s 4M pve2 /dev/sdc1
Volume group "pve2" successfully created
root@vs01:/# lvcreate -L 927GB -n data pve2
Logical volume "data" created
...and:
root@vs01:/dev# mkfs.ext4 -m 1 /dev/pve2/data
I mounted it right next to the other default local data @ /var/lib/vz2 - just to keep it consistent in the fstab and updated the fstab.
Am I overthinking this ? is there a better way of adding a local hard drive and separating it from the primary local storage on which Proxmxom is installed ?
It is working perfectly fine performance wise and I don't have any problems with it.
One thing I noticed is that in the cluster that this local storage shows proper disk size on the node on which it resides 912 GB but shows 1/10 94 GB size on the second cluster node (when you click on the storage and go to summary).
Thank you
I addded the RAID array with 2 SSDs taht came up as the sdc so I used fdisk to partition it making sure it is of type 8e...
...then:
root@vs01:/dev# pvcreate /dev/sdc1
Physical volume "/dev/sdc1" successfully created
root@vs01:/dev# vgcreate -s 4M pve2 /dev/sdc1
Volume group "pve2" successfully created
root@vs01:/# lvcreate -L 927GB -n data pve2
Logical volume "data" created
...and:
root@vs01:/dev# mkfs.ext4 -m 1 /dev/pve2/data
I mounted it right next to the other default local data @ /var/lib/vz2 - just to keep it consistent in the fstab and updated the fstab.
Am I overthinking this ? is there a better way of adding a local hard drive and separating it from the primary local storage on which Proxmxom is installed ?
It is working perfectly fine performance wise and I don't have any problems with it.
One thing I noticed is that in the cluster that this local storage shows proper disk size on the node on which it resides 912 GB but shows 1/10 94 GB size on the second cluster node (when you click on the storage and go to summary).
Thank you