[SOLVED] Why the XFS partitioning layout?

dataprolet

New Member
Aug 8, 2023
9
0
1
Can someone explain me why Proxmox automatically partitioned my 256 GB SSD like it did using XFS?

Code:
12345678910sdc 8:32 0 238.5G 0 disk
├─sdc1               8:33   0  1007K  0 part
├─sdc2               8:34   0     1G  0 part /boot/efi
└─sdc3               8:35   0 237.5G  0 part
├─pve-swap       253:0    0   7.6G  0 lvm  [SWAP]
├─pve-root       253:1    0  69.5G  0 lvm  /
├─pve-data_tmeta 253:2    0   1.4G  0 lvm 
│ └─pve-data     253:4    0 141.5G  0 lvm 
└─pve-data_tdata 253:3    0 141.5G  0 lvm 
└─pve-data     253:4    0 141.5G  0 lvm

What is sdc1 for? Why 1 GB for /boot? Why 70 GB for /root? And waht is pve-data_tmeta in comparison to pve-data_tdata?
 
it did using XFS?
XFS? Where is XFS in your output?

What is sdc1 for?
That is your internal disk

Why 1 GB for /boot?
It's EFI and it is for multiple kernels and initrd. That's normal.

Why 70 GB for /root?
Because you did not specify otherwise.

And waht is pve-data_tmeta in comparison to pve-data_tdata?
That is your thin-LVM pool consisting of data and metadata.
 
XFS? Where is XFS in your output?
I selected XFS as a filesystem when installing Proxmox.

That is your internal disk
No it's not, it's a 1007K partition for no apparent reason.

Because you did not specify otherwise.
So the installer is rolling a dice to determine the size? This surely is based on something, a ratio, that's what I'm asking for.

That is your thin-LVM pool consisting of data and metadata.
So tdata is for data and tmetadata for metadata and both partitions are thin provisioned and therefore showing 141,5 GB of free space?
 
Partition 1 is for padding AFAIU, please correct me if I am wrong.
Partition 2 is for booting in UEFI mode, as already explained by @LnxBil
Partition 3 contains LVM which is split into swap, root FS, storage for guests. The root FS is either ext4 or xfs, depending on what you choose. The storage for guests is a thin LVM to enable thin provisioning and snapshots of the guests.

If you had selected ZFS during the installation, partition 3 would have been used for the ZFS pool, multiple disks or a single, depending on the redundancy you selected.

The size for the LV containing the root FS (pve-root) is a percentage of the overall disk size.

You can control the sizes of the LVs and overall used size of the disk with a few parameters during installation, see https://pve.proxmox.com/pve-docs/pve-admin-guide.html#advanced_lvm_options for more details.
 
  • Like
Reactions: Azunai333
Thanks, I probably overlooked the parameters to specify the size of the partition during 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!