Hi all,
According to the GUI memory sizes should be in GiB (GibiBytes) but seems to actually be in GB (GigaBytes)?
It is correct for disks (GiB as in GibiBytes)
pve manager: 5.4-13
I have and example:
/etc/pve/qemu-server/128.conf
agent: 1
balloon: 2048
bootdisk: scsi0
cores: 2
cpu: Opteron_G5
ide2: none,media=cdrom
memory: 4096
name: mastodon
net0: virtio=3A:FC6:09:A1:37,bridge=vmbr10
numa: 0
onboot: 1
ostype: l26
scsi0: omnios_ib:vm-128-disk-0,size=50G
scsihw: virtio-scsi-pci
smbios1: uuid=ae6b6c26-82d8-42b5-92fb-d4702023c5eb
sockets: 1
vga: qxl
vmgenid: 841002d9-710f-4acf-98be-2529b5fdfdba
From inside the vm:
free -h
total used free shared buff/cache available
Mem: 3.8G 1.0G 275M 140M 2.6G 2.4G
Swap: 0B 0B 0B
free --giga
total used free shared buff/cache available
Mem: 4 1 0 0 2 2
Swap: 0 0 0
According to the GUI memory sizes should be in GiB (GibiBytes) but seems to actually be in GB (GigaBytes)?
It is correct for disks (GiB as in GibiBytes)
pve manager: 5.4-13
I have and example:
/etc/pve/qemu-server/128.conf
agent: 1
balloon: 2048
bootdisk: scsi0
cores: 2
cpu: Opteron_G5
ide2: none,media=cdrom
memory: 4096
name: mastodon
net0: virtio=3A:FC6:09:A1:37,bridge=vmbr10
numa: 0
onboot: 1
ostype: l26
scsi0: omnios_ib:vm-128-disk-0,size=50G
scsihw: virtio-scsi-pci
smbios1: uuid=ae6b6c26-82d8-42b5-92fb-d4702023c5eb
sockets: 1
vga: qxl
vmgenid: 841002d9-710f-4acf-98be-2529b5fdfdba
From inside the vm:
free -h
total used free shared buff/cache available
Mem: 3.8G 1.0G 275M 140M 2.6G 2.4G
Swap: 0B 0B 0B
free --giga
total used free shared buff/cache available
Mem: 4 1 0 0 2 2
Swap: 0 0 0
Last edited: