Proxmox over Debian installation

Reuven

Member
Oct 22, 2019
73
2
11
58
Hi. I installed proxmox on top of Debian 11 and would like to create a thinpool but it says that no disk is available ...in fact it does not show any disks,,,please help
 

Attachments

  • no disks capture.PNG
    no disks capture.PNG
    49.2 KB · Views: 15
hi,

check with fdisk -l or lsblk -f if you really have any disks you can use.

if you find one, probably you'll need to wipe the disk and its partition table. afterwards it should show up on the GUI.
for wiping the disk just use: sgdisk --zap-all /dev/yourdisk (be careful not to delete the wrong one! :) )

hope this helps!
 
Hi. Thanks for your reply...my storage is in the /var/lib/vz type directory ...how can i create a thin lvm or disk there ?
 

Attachments

  • path target.PNG
    path target.PNG
    14 KB · Views: 12
Thanks for your reply...my storage is in the /var/lib/vz type directory ...how can i create a thin lvm or disk there ?
that one is already used for the root filesystem and is created by default.
could you check the output of the commands i've sent? (you can execute them on the node shell via SSH or GUI). feel free to post them here as well (tip: use [code][/code] tags when posting the outputs)
 
here it is:
1) lsblk: i: not a block device

2) root@debian2000:~# fdisk -l
Disk /dev/mmcblk0: 115.25 GiB, 123748745216 bytes, 241696768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C098B599-5B64-4A28-9D04-D63039A7115D

Device Start End Sectors Size Type
/dev/mmcblk0p1 2048 1050623 1048576 512M EFI System
/dev/mmcblk0p2 1050624 239695871 238645248 113.8G Linux filesystem
/dev/mmcblk0p3 239695872 241694719 1998848 976M Linux swap
 
that one is already used for the root filesystem and is created by default.
could you check the output of the commands i've sent? (you can execute them on the node shell via SSH or GUI). feel free to post them here as well (tip: use [code][/code] tags when posting the outputs)
Hi Oguz...I posted my reply with the results...what should i do next? also altough we bbought a subscription the server keeps telling me we dont have one
 
If Oguz is not available perhaps someone else could give me a hand with this please? I have a large project for a client and I am sure they will need tons of support bbut unfortunately I can not make it happen with proxmox...
 
the GUI only allows you to initialize LVM thin/ZFS/.. on empty disks.. you only have a single disk (SD-card?? if it is one I'd really advise you to rethink and use a proper disk!) that is already used by the Debian/Proxmox install itself..
 
  • Like
Reactions: oguz
This SD Card is the latest generation...it is very very fast (250mb/sec) and in this project only one VM will be used per server and since the hardware involved (IOT application with a mini Stick PC running proxmox) we have no other disk option and we had to install Debian and on top of it Proxmox unless you allow the Proxmox installation to install on this card.
 
just keep in mind that PVE is not optimized at all for this kind of usage - things like logs, lock files, pmxcfs and its backing DB will cause a lot of wear on the card and might cause it to fail soon.
 
This SD Card is the latest generation...it is very very fast (250mb/sec) and in this project only one VM will be used per server and since the hardware involved (IOT application with a mini Stick PC running proxmox) we have no other disk option and we had to install Debian and on top of it Proxmox unless you allow the Proxmox installation to install on this card.
Like fabian already said, PVE will write every minute to the SD card. Could for example be 30GB per day and normal SD cards got no wear leveling so they might die within weeks or months. So performance isn't the problem, they just can't handle all the writes. Industial SLC SD cards might work, but these aren't cheaper than buying a way faster USB-SSD that would work too.
 
Last edited:
My client will be running 1 windows 11 VM per server. Those VMs will only be for regular desktop usage perhaps up to 8 hours a day...noone will be logged into the GUI...given that scenario how much data can be expected to be written per day ?
 
30GB writes per day with only 1 VM running ? how so what is being written ?
30GB per day without any VM running. It writes logs, metrics, configs files are written every minute again and again because of clustering and so on.
You can search the forum on how to disable specific PVE services, move metrics and logs to RAM disk and similar hacks to increase the live expectation if you really don't want to use a proper drive.
 
Hi Dunuin....Thanks for the info...but fabian is this 30GB a correct figure ? I mean without being logged into the GUI and only 1 VM PVE will write 30GB/day ?
 
Like fabian already said, it will write enough to kill a sd card or usb stick quite fast so they shouldn't be used.
 
I understand but need confirmation about the 30GB...since the feasibility of this project may be affected...
 
I think the 30GB was reported with ZFS, which amplifies the problem. we don't do anything special - but PVE has an sqlite DB with writes every few seconds, plus the usual Linux logging, plus some scheduled tasks that cause churn. it's mostly small writes, but if your system suffers from write amplification (like most cheap SSDs), you can easily end up with lots of physical writes even if the actual amount of data that changes is not that much.
 
Hi Fabian. Thanks for your reply. 2 questions:
1) I need your best-guess estimate since, I understand, the 30GB is a very high estimate ?
2) what should i do to reduce the writes of Proxmox ? is there a guide ?
 
I don't have an estimate, since it's very much settings, load and hardware dependent. the 'logical' amount of data written/day on an idle PVE system should be way below 30G.

the usual things people do (if those parts are not needed/used!):
- disable HA services (HA writes at least a timestamp every few seconds to /etc/pve, which is backed by the sqlite DB)
- move logs of the disk (e.g., by mounting a tmpfs on /var/log, setting up networked syslog, ...)
- tune storage layer to improve write aggregation (so that multiple small writes become one big write - that might come with a performance penalty though)
- disable scheduled things you don't use (although that is probably the least concern compared to the other ones ;))
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!