local-lvm trying to change the ability to add iso

DogezRule

New Member
Nov 27, 2022
3
0
1
I have a dl380 g6 and it has a 3tb local-lvm and it doesnt have the property to hold an iso. I tried changing the property but i feel like something hasn't been applied because It hasnt worked.
storage.cfg file:
dir: local
path /var/lib/vz
content iso,vztmpl,backup

lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images,iso
 
local-lvm, or LVM in general, is a block type storage. You cant store files on it directly.
You can manually slice off a piece from it, format it with a filesystem of your choice, mount and create a second "dir" type storage.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Local-lvm and when I go to the page called local it gives me an option to upload an iso image but it doesnt on local-lvm
 
Local-lvm and when I go to the page called local it gives me an option to upload an iso image but it doesnt on local-lvm
ISOs are files, so you need file level storage to store them. Block level storages just can't do that. And "local-lvm" is a LVM-Thin pool which is a block level storage. You will have to use the CLI to manually create a Thin volume on your LVM-Thin pool, format that thin volume with the filesystem of your choice and mount that filesystem. After that you can use the webUI to create a new directory storage pointing to the mountpoint of your mounted filesystem. This directroy storage then can be used to store ISOs and they will consume space on your 3TB LVM-Thin pool.
 
ISOs are files, so you need file level storage to store them. Block level storages just can't do that. And "local-lvm" is a LVM-Thin pool which is a block level storage. You will have to use the CLI to manually create a Thin volume on your LVM-Thin pool, format that thin volume with the filesystem of your choice and mount that filesystem. After that you can use the webUI to create a new directory storage pointing to the mountpoint of your mounted filesystem. This directroy storage then can be used to store ISOs and they will consume space on your 3TB LVM-Thin pool.
Im kinda a newbie to proxmox is there a documentation on how to do things like this
 
This question wasn't asked the first time, so I'm sure in another thread someone already explained in detail how to do this. But I wasn't able to quickly find a tutorial for this. This is also not proxmox specific, except for the part with adding a new directroy storage. Its normal linux administration stuff, so you might also look for some Debian tutorials on how to create LVs, format block devices and mount filesystems using fstab.
 
Im kinda a newbie to proxmox is there a documentation on how to do things like this
Most of it is not "proxmox" thing but rather a Linux thing.

create a logical volume:
https://access.redhat.com/documenta..._volume_manager_administration/vol_create_ex3

making a filesystem:
https://access.redhat.com/documenta..._volume_manager_administration/make_mount_ex3

mount filesystem so it works after reboot:
https://www.redhat.com/sysadmin/etc-fstab

add it to Proxmox:
https://nubcakes.net/index.php/2019/03/05/how-to-add-storage-to-proxmox

@Dunuin :)


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: Dunuin

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!