max space without lvm

maxicom

Active Member
May 22, 2017
9
0
41
59
Hi
im install proxmox in debian witch soft raid1 2x1TB and need only

1. kvm qcow2 image - linux VM
2. full backup and snapshot

no lxc no extra HDD resize no LVM , simple use to few VM in linux

I would like to install everything in the one partition / to max space ,without partitioning the /date /home /var/liv/vz ect

Is one partition without lvm a problem? with this case
 
im now how install ect im ask if im not use LVM and make one partition / ,there will be a problem with qcow2, backup and snapshot ?
 
Footnote for what it is worth. Just do a clean install and follow the guide, as per:
https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Jessie
which Tom already directed you towards. ie, yes, use the recommended LVM / config as per the guide. It just works. Re-inventing the wheel is fun, maybe, if you really like doing that sort of thing, but there is a well documented solution here already :-)

For a scenario where maybe you have 4 x HDDs, 2 x raid mirrors..
- debian install on first pair of disks software raid (assuming you have no HW Raid controller)
- install must be attentive to the LVM config precisely as documented
- once proxmox is there, you will have a working instance of proxmox with disk space on just ths first raid disk pair
- then can create a new SW raid device, composed of the other 2 disks in your set. (or bring some SSD drives in and play with bcache, and have better disk performance :-)
- then attach that raid to some local place like /raid-storage
- and then in proxmox tell it, "new local storage, is at /raid-storage"
- and now you have another storage pool available in proxmox.

but generally (my 2 cents) - Disks are cheap. Especially SATA disks :-) . Optimizing for '5% more free space for VMs' implies that money is very tight, and time is very abundant. :-) which maybe is true, but maybe not. IMHO anyhow.

Tim
 
  • Like
Reactions: iPanini