9.2TB raw file on a 1TB SSD?

sonuyos

Active Member
Jun 18, 2020
45
0
26
29
Hello,

I have a 9.2TB raw file in a 1TB SSD. how is that even possible?

And on top of that i still have 300gb available - https://prnt.sc/u159wq

I am moving my VM from one server to another and this 9.2TB is being downloaded from scratch, is there any way to compress it or something?

If i run ls -lh it shows 9.2TB too but in du -sh it shows only 25GB.

https://prnt.sc/u15aze

Because 9.2TB is a lot of bandwidth for 25GB file while moving the VM from one server to anotther.

Also this is not the only file or server i have seen this issue, i have seen it across many, why is it like this?
 
ASnother server, 268gb actual size but 876gb apparent size, however while downloading it downloads 876GB via sftp.
 
Looks like a sparse file. Could you run ls -lsh to confirm this guess?

total 25G 624K -rw-r----- 1 root root 4.4M Jul 26 12:36 vm-254-cloudinit.qcow2 124M -rw-r--r-- 1 root root 124M Jul 16 10:12 vm-254-disk-0.qcow2 24G -rw-r----- 1 root root 9.2T Aug 18 02:44 vm-254-disk-1.raw

looks like it. How can i transfer?