Can someone explain folder size? Folder contains only 1 file with 360Gb size. ls and du show used 440Gb  [root@liz DECSC]# ls -lha total 440G drwxrwxr-x  2 geo geo  4.0K Dec  6 19:56 . drwxrwxr-x 14 geo geo  20K  Dec  6 19:39 .. -rwxrwxrwx  1 geo geo  360G Apr  8 2018 vor_gainzp2.dat [root@liz DECSC]# du -hs 440G    . [root@liz DECSC]#
3127
When I sum up the sizes of my files, I get one figure. If I run du, I get another figure. If I run du on all the files on my partition, it doesn't match what df claims is used. Why are there so many different figures for the total size of my files? Can't computers add?  Speaking of adding: when I add the “Used” and “Available” columns of df, I don't get the total figure. And that total figure is smaller than the size of my partition. And if I add up my partition sizes I don't get my disk size! What gives?
80593
My root filesystem is running out of inodes.  If this were an issue of disk space, I'd use du -s to get a top-level overview of where the space is going, then head down the directory tree to find particular offenders.  Is there an equivalent option for inodes?   will point out individual directories with high usage, but in my case, that's no good: the Linux source directory, for example, gets scattered across 3000+ directories with low inode counts, rather than showing up as /usr/src/linux-4.0.5 52183.
111731
I noticed that copying 24Mb worth of data from one folder to another took about 30 seconds because (I'm assuming this is the reason) it was over 1,000 separate files. Copying 24Mb shouldn't take so long. Why does the number of files make a different?  I'm running Windows 7 on a MacBook (4GB ram, Intel(R) Core(TM)2 Duo CPU P7450 @ 2.13GHz, 32-bit Operating System)  EDIT: NTFS is the file system used on the drive
12805
How can I visualize which folders and files are taking up all of the space on my hard drive?  I'm getting some conflicting reports on the size of hard drive contents. Namely what is and isn't there and what folders are actually using the space.   I need to know which of the files or folders the culprits behind all this hidden bloat. Also there should be a print option to get it on paper.
74022
Just discovered I have gotten a FOUND.000 folder on my usb drive. I guess from running chkdsk once. It has three files in it:   FILE0000.CHK FILE0001.CHK FILE0002.CHK   What exactly can I do with these files? What are my options? Are they lost files? Are they garbage? Can I use them for anything at all? Or will I just have to delete them?
38338
System drive, OS is Windows 7 x64 SP1 Ultimate.    Windows Explorer shows 100GB of used space.  TreeSizeFree shows 75GB of used space.  Total Commander and FAR confirm TreeSizeFree's measurements (counting hidden files).  Shadow copy is using up to 5GB with the current usage of 1.36GB.  Running FAR from Win7 PE shows the same.  Checkdisk shows no bad sectors. Disk is an OCZ SSD.  SMART monitor suggests SSD condition is perfect.    Where is the rest of space gone?
86334
I want to give some scenarios:   A movie file shows 700 MB in Windows but it shows around 735 MB in Ubuntu, which is in my drive having NTFS partition. Similarly another file shows 446 MB in Windows but 467 MB in Ubuntu. Also when I download files from internet they change once downloaded in Ubuntu but do not change in Windows. I generally have to upload torrents mentioning the file sizes. Most of the time I use Ubuntu, I use Windows to play games only.   Actually my questions are:   Which size should I mention while creating torrents? Is there any tool or software or formula to calculate the file size in Ubuntu equivalent to file size in Windows?   I have already tried following links but could not find my actual answers:
34705
I used du to list all folders and sort by size, the results simply doesn't add up to how much disk space is used(using df). There's about 20G in discrepency, why?   [root@xxx lib]# du --max-depth=1 -h /| sort -n -r 310M    /lib 123M    /root 96K /dev 88M /etc 75G / 73G /var 30M /sbin 20M /boot 20K /tmp 18M /lib64 16K /mnt 16K /lost+found 12K /home 8.0K    /srv 8.0K    /selinux 8.0K    /opt 8.0K    /misc 8.0K    /media 7.0M    /bin 1.2G    /usr 0   /sys 0   /proc [root@xxx lib]# df -h Filesystem            Size  Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00                       298G   94G  189G  34% / /dev/sda1              99M   26M   69M  28% /boot tmpfs                 2.0G     0  2.0G   0% /dev/shm
82562
I have an AWS linux instance with a root drive of 32GB. I have an EBS mount of 20GB  On my root I ran out of space, so I cleared out some files. However my root drive is still full. I can't find out why because when I look at sizes of the directories using du and ncdu they show the drive should have a lot of space.    df   I get the following results   Filesystem     1K-blocks     Used Available Use% Mounted on /dev/xvda1      32894812 31946092    848472  98% / devtmpfs         2017224       60   2017164   1% /dev tmpfs            2025364        0   2025364   0% /dev/shm /dev/xvdh       20511356  4459276  15003504  23% /mnt/ebs   My /dev/xvda1 is still full  After some research I installed a great tool ncdu to display disk space and the results are:  ncdu 1.10 ~ Use the arrow keys to navigate, press ? for help                                                                                                                                                                                                                                                                                                     --- / -------------------------------------                 4.2GiB [##########] /mnt                                1.5GiB [###       ] /var      1.2GiB [##        ] /usr    684.9MiB [#         ] /opt    464.3MiB [#         ] /home    141.7MiB [          ] /lib     53.5MiB [          ] /boot     21.2MiB [          ] /lib64     10.8MiB [          ] /sbin      8.1MiB [          ] /bin      7.1MiB [          ] /etc      2.7MiB [          ] /tmp     60.0KiB [          ] /dev     48.0KiB [          ] /root  e  16.0KiB [          ] /lost+found  e   4.0KiB [          ] /srv  e   4.0KiB [          ] /selinux  e   4.0KiB [          ] /media  e   4.0KiB [          ] /local  .   0.0  B [          ] /proc      0.0  B [          ] /sys      0.0  B [          ]  .autofsck   If I du -h my total is  8.3G    /  So why would my disk be 95% full when it clearly has a lot of space. Am I missing something to do with the mounts and is there any other tool I can run to find out why it is 95% full?
31198
I just noticed that the root partition of my not-so-long-ago configured server is only 5gb  thats not much seeing as i allready use 4gb and still need to install a lot of things...  i was foolish enough to use the default config from OVH assuming they know their stuff :P  since i have some data on the data partition it would be a pain in the ... to backup and reconfigure it all  is it possible to repartition the drive to use a new part of the drive say 15-20gb without data loss ? by simply copying the root partition to a new place (from sda2) ? i can live with loosing the 5gb of the start of the drive :P    heres df -h  Filesystem            Size  Used Avail Use% Mounted on /dev/sda1             5.0G  3.9G  897M  82% / tmpfs                 998M     0  998M   0% /lib/init/rw udev                   10M  144K  9.9M   2% /dev tmpfs                 998M     0  998M   0% /dev/shm /dev/sda2             226G  7.2G  208G   4% /home   and fdisk -l  Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0000db26     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *           1         653     5242880+  83  Linux Partition 1 does not end on cylinder boundary.    &lt;== now this is bad.. thx OVH :F /dev/sda2             653       30336   238426112   83  Linux /dev/sda3           30336       30401      526016   82  Linux swap / Solaris
114352
I understand why .  I have three NTFS-formatted drives with the same exact data on it. Their allocation unit is 4096 bytes. The number of files and folders as well as the size matches on all three.  However when I open the properties for the root folder of these mirrored drives, only on the first two have the Size on disk match though. On the third, it is slightly larger.  Is this a potential signal of file corruption, or a mere byproduct of the file system?
95901
I installed Ubuntu 14.04 recently. During the installation I did not create a separate partition for my home folder. I also accidentally encrypted my home folder. When i did    sudo df   I got the result as  Filesystem                   Size  Used Avail Use% Mounted on /dev/mapper/ubuntu--vg-root  455G  181G  251G  42% / ....   Why does this have a funny name instead of a normal '/dev/sdx'?  Please explain to me what this is?
71744
In typical PCs the Size of Windows Folder is 6 to 8 GB but in my Case its 25GB. How can I delete the unwanted files from the Windows Folder (which, in turn, will optimize my C Drive size).  My system is Windows 7 with 60 GB in C Drive with 59 GB occupied.
88433
I'm new to Linux and wondered where I can get useful info so started here. 1st off can I use the same PICTURES, VIDEOS, MUSIC &amp; DOCS already on hard drive. I remember a window appearing during Linux installation saying it would require about 300gb for this, I clicked on OK but don't know how to get to them to appear.  Since this my hard drive has gone down by 300 odd gb?
110003
I just made an image of a freshly installed dual boot (Ubuntu and Windows) using this command (which I've been using for a while for smaller images):  dd if=/dev/sda | gzip &gt; /mnt/drive.img.gz   On this drive less than 60G out of 500G are used. Nevertheless that image-file now is 409G big.   How is that? Shouldn't gzip manage to compress all those zeros? As I said, it is a freshly installed system. It couldn't be that cluttered.  Now I didn't expect for the file to be 60G, but 400G seems very huge to me.
98695
I tried to obtain the size of a directory (containing directories and sub directories) by using the ls command with option l. It seems to work for files (ls -l file name), but if I try to get the size of a directory (for instance, ls -l /home), I get only 4096 bytes, although altogether it is much bigger.
26233
I have two hard drives (same size, same partitions, same model) that have been synchronized using FreeFileSync. They are used to store data, not the system. After sync, the drives should report same free and used disk space but it is not the case.  First drive (used for storage) reports 781 GB of used disk space, while second drive (backup) report only 778 GB. To get that information, I right clicked on the disk then choose properties.  First, I was thinking that synchronising tool was not doing is job (by excluding some files) but using other file synchronisation tools (like SyncToy or DirSyncPro) give me same result (no difference in files reported justify a delta of 2 GB).  Also: if I go to drive root folder, select everything (all files and folders) and right click then choose properties, total reported files size is 778 GB on both drives. If i look closer at the numbers, there is a small difference of a few megabytes between the two drives however.   Notes :   Computer have been restarted several times. Recycle bin have been emptied on both drives (if I go to $RECYCLE.BIN folder, both are almost empty (only a few KB). Shadow copy is disabled. vssadmin list shadows doesn't report anything. Windows Explorer folder settings have been modified to display system files and hidden files.  I have run "Error checking" tool (with "Automatically fix file system" enabled) on both disks.   Why is there a difference in used and free space between the two drives? How can I solve this?