Hello, I am new to Proxmox, I am moving away from VMware. I was using VMware for a straightforward virtualisation platform with 2 VLANs (LAN & DMZ) with 5 Linux VMs. Even before ESXi decided to 'spit the dummy' and not return from a managed power off I was thinking of switching because of Broadcom etc. etc. So, here I am.
I have setup Proxmox VE installing it over the top of the (wiped) VMware ESXi boot partition (HDD) and I have some questions on how to setup hard drives.
Some hardware background:
Questions:
Thanks in advance for any advice!
I have setup Proxmox VE installing it over the top of the (wiped) VMware ESXi boot partition (HDD) and I have some questions on how to setup hard drives.
Some hardware background:
- Intel NUC with 32 GB RAM
- 120 GB NVMe SSD (boot OS) = /dev/sda
- 1 TB SATA SSD (internal) = /dev/sdb
- 2 TB External SSD = /dev/sdc
Questions:
- I want to add another hard drive (storage) dedicated for VMs, I would prefer thin provisioned (blocks), so LVM-Thin not LVM. I have run searches but have not found a single clear explanation of the process. Also it is not clear if the task can be done fully via the Proxmox GUI or does part/all of it need to be done from the command line, which I don't mind doing — just need to know what the correct procedure is. For example the disk has to be wiped and initialised (GPT) but does a partition have to be created 'Initialise Disk with GPT' does not seem to create partitions.
- My situation is complicated a bit because I need to import some of the old ESXi VMs which — currently — exist only as VMDKs on the VMFS formatted partition on the internal drive (/dev/sdb), the ESXi host is no longer running. I can mount the VMFS drive I believe there is an import possibility in Proxmox for the raw VMDK files? I will ask a separate post for this. However my plan is to:
- format the external SSD (/dev/sdc) as LVM-Thin
- mount the VMFS drive & import the VMs to the newly added external LVM-Thin storage
- once I confirm the VMs are running under Proxmox (on /dev/sdc) then wipe the old internal SATA SSD (/dev/sdb) and then re-add it as a dedicated LVM-Thin storage
- move the storage for the VMs from /dev/sdc to /dev/sdb
- once all the VMs are using the internal SATA SSD for storage remove the LVM-Thin storage and wipe the external SSD and rebuild it as a dedicated backup storage — what is the best disk/storage type for that — LVM, LVM-Thin, Directory?
- Finally I would like to remove the standard installed local-lvm (LVM-Thin) and give the disk space to local to use for ISO images etc. How to do that?
Thanks in advance for any advice!
Bash:
# lsblk --ascii -M -o +HOTPLUG,ROTA,PHY-SEC,FSTYPE,MODEL,TRAN
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS HOTPLUG ROTA PHY-SEC FSTYPE MODEL TRAN
sda 8:0 0 111.8G 0 disk 0 0 512 WDC WDS120G2G0B-00EPW0 sata
|-sda1 8:1 0 1007K 0 part 0 0 512
|-sda2 8:2 0 1G 0 part /boot/efi 0 0 512 vfat
`-sda3 8:3 0 110.8G 0 part 0 0 512 LVM2_member
|-pve-swap 252:0 0 8G 0 lvm [SWAP] 0 0 512 swap
|-pve-root 252:1 0 37.7G 0 lvm / 0 0 512 ext4
,-> |-pve-data_tmeta 252:2 0 1G 0 lvm 0 0 512
'-> `-pve-data_tdata 252:3 0 49.3G 0 lvm 0 0 512
`--pve-data 252:4 0 49.3G 0 lvm 0 0 512
sdb 8:16 0 931.5G 0 disk 0 0 512 Samsung SSD 860 EVO 1TB sata
`-sdb1 8:17 0 931.5G 0 part 0 0 512 VMFS_volume_member
sdc 8:32 0 1.8T 0 disk 1 0 512 Samsung Portable SSD T5 usb
# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- 110.79g 13.75g
# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-a-tz-- 49.34g 0.00 1.59
root pve -wi-ao---- <37.70g
swap pve -wi-ao---- 8.00g
# vgs
VG #PV #LV #SN Attr VSize VFree
pve 1 3 0 wz--n- 110.79g 13.75g
# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content backup,iso,vztmpl
lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images
Last edited:

