Need to understand the architecture of proxmox default file system

Ayush

Member
Oct 27, 2023
81
2
8
I have proxmox setup installed on 1TB disk , but when I do df -h don't show 1TB , how its partition distributed ?

#df -h
Filesystem Size Used Avail Use% Mounted on
udev 126G 0 126G 0% /dev
tmpfs 26G 2.8M 26G 1% /run
/dev/mapper/pve-root 94G 27G 64G 30% /
tmpfs 126G 72M 126G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/fuse 128M 1.1M 127M 1% /etc/pve



#lvs

LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert

data pve twi-aotz-- <757.29g 0.00 0.25
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g


I want to copy an image on it of size 200GB , Where should I copy it ?
 
The default for pve is to not use a filesystem and instead use blockstorage either in lvm/lvm-thin (like in your installation with 750g) or in zvol.
To use it you would import a vm with it's disk(s) (which is technically like dd a file while you think about the cp cmd).
Best you read first more on the online doku which is available directly in the pve webui.
 
  • Like
Reactions: Johannes S
Hi Waltar,

Can you please tell me , If I have to migrate 200GB qcow2 image to proxmox, Where should I kept it ?
 
Easy would be to nfs export the filesystem where your image is actual, then something like this would do to import as vm 100:
Create a vm in webui without installing and then remove the defined disk by editing hardware by webui, then
cd </my/mount/path/to-image>
qm importdisk 100 <name-of-my-image>.qcow2 local-lvm
Edit disk to boot from and set on top for search boot image there first.
Start the vm.
 
Last edited:
But on the curious part , if we have 1TB disk and I setup proxmox , where is the disk partition and disk space, if I have to copy data.
 
But on the curious part , if we have 1TB disk and I setup proxmox , where is the disk partition and disk space, if I have to copy data.
As already stated: in your LVM thick / LVM thin. There is no filesystem, it just uses the blocks for the storage which is the most efficient way, because less software is in between your VM and the storage itelf.
 
Hello LnxBil,
@LnxBil Thanks for providing info. I am still confused , If I have to copy a 200GB file , where should I copy it ?
 
You don't copy be yourself as the import cmd will do for you to right place.
 
Hello Pro,

Can you please provide a solution , how can I transfer a 200Gb file on base installation.
 

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!