Hi, I have a problem after a migration of my LXC to another new server.
My new VM server have a disk size of 365GB, what I'd want, because equal to old VM disk size.
After that, never seen a difference somewhere. Just seen my disk size was sized at 365Gb in VM details.
But, I could see it in GUI and inner the VM that the Disk size is recognized as 365Gb. And in my vz folder, file is "hugely" bigger :
############################
ON VM SIDE :
~# lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 335.8G 41% /
nvme0n1
|-nvme0n1p1
|-nvme0n1p2
| `-md2
|-nvme0n1p3
| `-md3
|-nvme0n1p4
|-nvme0n1p5
| `-md5
| `-vg-data
`-nvme0n1p6
nvme1n1
|-nvme1n1p1
|-nvme1n1p2
| `-md2
|-nvme1n1p3
| `-md3
|-nvme1n1p4
`-nvme1n1p5
`-md5
`-vg-data
AND WITH :
~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 621G 256G 336G 44% /
none 492K 4.0K 488K 1% /dev
udev 16G 0 16G 0% /dev/tty
tmpfs 16G 4.0K 16G 1% /dev/shm
tmpfs 16G 761M 15G 5% /run
tmpfs 5.0M 20K 5.0M 1% /run/lock
tmpfs 3.2G 0 3.2G 0% /run/user/1000
For my VM, disk seems to be 621G ???? But 336G available ????
############################
ON SERVER SIDE :
# df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 1.1M 3.2G 1% /run
/dev/md3 20G 4.6G 14G 25% /
tmpfs 16G 46M 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/md2 988M 166M 755M 18% /boot
/dev/mapper/vg-data 389G 279G 90G 76% /var/lib/vz
/dev/nvme0n1p1 511M 168K 511M 1% /boot/efi
/dev/fuse 128M 32K 128M 1% /etc/pve
tmpfs 3.2G 0 3.2G 0% /run/user/1000
# ls -la
total 291491600
drwxr----- 2 root root 4096 Nov 21 01:58 .
drwxr-xr-x 4 root root 4096 Nov 21 01:53 ..
-rw-r----- 1 root root 677531090944 Jan 5 07:50 vm-9000-disk-0.raw
?????
My hardware disk is only 450Gb ... I'm lost, what happened ...
############################
attached files : capture of my GUI
If you could offer me some help to understand this problem, and if it's possible to rectify the size of my raw disk, thanks in advance.
Cordially, Marvindosh.
(ps : I'm French, sorry if my request seems incorrectly exposed)
My new VM server have a disk size of 365GB, what I'd want, because equal to old VM disk size.
After that, never seen a difference somewhere. Just seen my disk size was sized at 365Gb in VM details.
But, I could see it in GUI and inner the VM that the Disk size is recognized as 365Gb. And in my vz folder, file is "hugely" bigger :
############################
ON VM SIDE :
~# lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 335.8G 41% /
nvme0n1
|-nvme0n1p1
|-nvme0n1p2
| `-md2
|-nvme0n1p3
| `-md3
|-nvme0n1p4
|-nvme0n1p5
| `-md5
| `-vg-data
`-nvme0n1p6
nvme1n1
|-nvme1n1p1
|-nvme1n1p2
| `-md2
|-nvme1n1p3
| `-md3
|-nvme1n1p4
`-nvme1n1p5
`-md5
`-vg-data
AND WITH :
~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 621G 256G 336G 44% /
none 492K 4.0K 488K 1% /dev
udev 16G 0 16G 0% /dev/tty
tmpfs 16G 4.0K 16G 1% /dev/shm
tmpfs 16G 761M 15G 5% /run
tmpfs 5.0M 20K 5.0M 1% /run/lock
tmpfs 3.2G 0 3.2G 0% /run/user/1000
For my VM, disk seems to be 621G ???? But 336G available ????
############################
ON SERVER SIDE :
# df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 1.1M 3.2G 1% /run
/dev/md3 20G 4.6G 14G 25% /
tmpfs 16G 46M 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/md2 988M 166M 755M 18% /boot
/dev/mapper/vg-data 389G 279G 90G 76% /var/lib/vz
/dev/nvme0n1p1 511M 168K 511M 1% /boot/efi
/dev/fuse 128M 32K 128M 1% /etc/pve
tmpfs 3.2G 0 3.2G 0% /run/user/1000
# ls -la
total 291491600
drwxr----- 2 root root 4096 Nov 21 01:58 .
drwxr-xr-x 4 root root 4096 Nov 21 01:53 ..
-rw-r----- 1 root root 677531090944 Jan 5 07:50 vm-9000-disk-0.raw
?????
My hardware disk is only 450Gb ... I'm lost, what happened ...
############################
attached files : capture of my GUI
If you could offer me some help to understand this problem, and if it's possible to rectify the size of my raw disk, thanks in advance.
Cordially, Marvindosh.
(ps : I'm French, sorry if my request seems incorrectly exposed)
Last edited: