First a question on installation storage. Proxmox had a 500G drive and IMO it wasted it. Here is what it looks like:
Filesystem Size Used Avail Use% Mounted on
udev 122G 0 122G 0% /dev
tmpfs 25G 10M 25G 1% /run
/dev/mapper/pve-root 94G 2.2G 88G 3% /
tmpfs 123G 40M 122G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 123G 0 123G 0% /sys/fs/cgroup
/dev/fuse 30M 16K 30M 1% /etc/pve
tmpfs 25G 0 25G 0% /run/user/0
Anyway, I bought a 2T disk for internal storage. This is not to run a business but just to mess with. I needed to add storage for iso's, I did this the old fashioned unix way and just created a partition and mounted it on /var/lib/vz. If there i a better way, please let me know.
Second is to add storage for vm's. Since I will want to thin provision any vm's, it appears I want to add to the already existing pool local-lvm but I cannot find any examples of how to do this. I am expecting a VG to exist that I would add a pv to. When I go to add storage I have way to may choices when there IMO ought to be just ask me where the partiton is and where you want to add it
If I have to create a volume group, then how do I add this to something that already exists like local-lvm. I don't actually care if it is in an already existing "thing" as long as the vm's when created are local provisioned but then if I have to create a volume group et. al. then why do these objects like local,local-lvm exist in the first place?
Filesystem Size Used Avail Use% Mounted on
udev 122G 0 122G 0% /dev
tmpfs 25G 10M 25G 1% /run
/dev/mapper/pve-root 94G 2.2G 88G 3% /
tmpfs 123G 40M 122G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 123G 0 123G 0% /sys/fs/cgroup
/dev/fuse 30M 16K 30M 1% /etc/pve
tmpfs 25G 0 25G 0% /run/user/0
Anyway, I bought a 2T disk for internal storage. This is not to run a business but just to mess with. I needed to add storage for iso's, I did this the old fashioned unix way and just created a partition and mounted it on /var/lib/vz. If there i a better way, please let me know.
Second is to add storage for vm's. Since I will want to thin provision any vm's, it appears I want to add to the already existing pool local-lvm but I cannot find any examples of how to do this. I am expecting a VG to exist that I would add a pv to. When I go to add storage I have way to may choices when there IMO ought to be just ask me where the partiton is and where you want to add it
If I have to create a volume group, then how do I add this to something that already exists like local-lvm. I don't actually care if it is in an already existing "thing" as long as the vm's when created are local provisioned but then if I have to create a volume group et. al. then why do these objects like local,local-lvm exist in the first place?