I've recently just installed Ubuntu 16 as a dualboot with Windows 10. I gave the partion around 20Gb when asked during the  install process. I haven't really used it all that much yet now I can't download or even do some basic commands as there is no space available.   Filesystem      Size  Used Avail Use% Mounted on udev            7.8G     0  7.8G   0% /dev tmpfs           1.6G  9.5M  1.6G   1% /run /dev/sda6       5.8G  5.8G     0 100% / tmpfs           7.8G   21M  7.8G   1% /dev/shm tmpfs           5.0M  4.0K  5.0M   1% /run/lock tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup /dev/sda8       9.8G  1.1G  8.3G  11% /home /dev/sda1       256M   51M  206M  20% /boot/efi tmpfs           1.6G   64K  1.6G   1% /run/user/1000 /dev/sda3       209G  113G   97G  54% /media/myfullname/TIH0435382   I see that my "/" directory is full but I'm just wondering why it is so small relative to the amount assigned and how that works given my "/home" is relatively empty in comparison. Can I change it to use my /home directory for downloads?   If anyone could help me fix this it  would be much appreciated.
9131
My Ubuntu cloud server has left only 900MB of disk space.   I'll just empty the directory /tmp and wondering if there is any other location to clean up.
15714
I have a linux server, which currently has below space usage:  /dev/sda3              20G   15G  4.2G  78% / /dev/sda6              68G   42G   23G  65% /u01 /dev/sda2              30G  7.4G   21G  27% /opt /dev/sda1              99M   19M   76M  20% /boot tmpfs                  48G  8.2G   39G  18% /dev/shm   As you can see. / is at 78%. I want to check, which files or folders are consuming space.  I tried this:  find . -type d -size +100M   Which shows result like this:  ./u01/app/june01.dbf ./u01/app/temp01.dbf ./u01/app/smprd501.dbf ./home/abhishek/centos.iso ./home/abhishek/filegroup128.jar   Now this is my issue. I only want the name of those files located in folders that are consuming space at / and not at /u01 or /home. Since / is base of everything, it is showing me every file of my server.  Is is possible to get big files that is contributing to 78% of / ?
24249
Story:  Yesterday I wanted to make my Ubuntu partition bigger so I ran Windows (Dual boot) and decreased size of my D drive size. It wanted me to reboot computer, when it was starting up it done everything and rebooted once again. Then I saw grub rescue with "no filesystem" or something like that. I ran Ubuntu live CD to fix that and it is now working.  Problem:  Problem is when I want to add unallocated part of HDD to my Ubuntu partition I can't, because GParted thinks whole disk is unallocated! I tried fixing filesystem by: fsck /dev/sda5 -f -r, but I think that's not it (or I'm doing it wrong way). I have also tried chkdsk from Windows Installation CD, but it didn't fix anything. Also, both of systems are working.  Is it just GParted problem, or maybe HDD is bad for real? If so, how to fix it?  fdisk -l can see partitions:  root@ubuntu:/home/ubuntu# fdisk -l  Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xa118d672     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT /dev/sda2          206848   286719999   143256576    7  HPFS/NTFS/exFAT /dev/sda3       286720000   811972349   262626175    7  HPFS/NTFS/exFAT /dev/sda4       915726335   976771071    30522368+   f  W95 Ext'd (LBA) /dev/sda5       915726336   968652799    26463232   83  Linux /dev/sda6       968652800   976771071     4059136   82  Linux swap / Solaris   Images:
38624
I had resized my root partition from 30gb to 70gb using gparted. But Ubuntu still shows that I have the same old disk size while gparted shows that I acually have 70gb and that the other 40gb is somehow used. How can I fix this?  Output of 'df -h':  Filesystem      Size  Used Avail Use% Mounted on /dev/sda5        30G   16G   13G  55% / none            4.0K     0  4.0K   0% /sys/fs/cgroup udev            1.9G  8.0K  1.9G   1% /dev tmpfs           391M  884K  390M   1% /run none            5.0M     0  5.0M   0% /run/lock none            2.0G  284K  2.0G   1% /run/shm none            100M   48K  100M   1% /run/user /dev/sda6       341G  115G  227G  34% /media/Data /dev/sdb1       932G  459G  474G  50% /media/sidharth/passport   Output of mount:  /dev/sda5 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/cgroup type tmpfs (rw) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) udev on /dev type devtmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) none on /run/shm type tmpfs (rw,nosuid,nodev) none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755) /dev/sda6 on /media/Data type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) gvfsd-fuse on /run/user/sidharth/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=sidharth) /dev/sdb1 on /media/sidharth/passport type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
34502
I have backups up everything, but I'm still uneasy about the process and would like confirmation. I'd rather do this one time correctly. I want to shrink /dev/sda6/ by 200GB and reallocate it to /dev/sda2. I boot a LiveCD and turn off LinuxSwap (locked otherwise). I've been reading that it is very hard to move &quot;left&quot; when partitioning and other AskUbuntu threads are confusing me. Do I need to resize /dev/sda6 by 200GB &quot;preceding&quot; (rather than &quot;following&quot;), and then resize /dev/sda4 by 200GB? A little guidance would ease my nerves of messing everything up. Thank you ahead of time.
96909
I mount /tmp on tmpfs using:  sudo systemctl enable tmp.mount sudo systemctl start tmp.mount   But this way /tmp takes up all the free RAM:  $ df -h /tmp Filesystem      Size  Used Avail Use% Mounted on tmpfs           3.9G   12K  3.9G   1% /tmp $   How do I tell systemd tmp.mount to use only 1G? I know I can alternatively not use systemd and manually add an entry to /etc/fstab and specify the size there. But I don't want to do that. I want to use systemd backed tmpfs.
73891
I resized the root partition with GParted, from 20 GB to 40 GB, but the filesystem still reports a size of 20 GB.  How can I use all 40 GB?    Update  The resized partition was an LVM Physical Volume (/dev/sda2), and the boot partition is ext4 (/dev/sda1).
88970
I Installed Ubuntu 16.04 LTS next to Windows 10. I decided to increase my Ubuntu partition because I don't have enough space for apps, So i went to Windows 10 and shrink my larger Partition and now I have 50 GB of unallocated space.. So my question is:  How can I safely expand my Ubuntu partion using this unallocated space? I also have a bootable pendrive with Ubuntu .iso
47404
Is there a way to quickly check the amount of free / used disk space in Ubuntu?  I would assume you could right click on 'file system' in the file browser and choose 'properties' or something but there is no such option.
34658
I dual boot Ubuntu 16.04 and Windows 8.1.  All of Ubuntu lives on an SSD, and the core Windows stuff lives there too, in a separate partition.  The main User folders for Windows (Documents, Downloads, etc.) live on a separate hard drive.  I'm running out of space in Ubuntu. I'd like to move /opt and /usr/local to the hard drive.  All the Q&amp;A I've found about this, however, starts with the assumption that these folders are already mounted on a different partition, or that I can format the destination drive. Neither of these is true for me.  I don't remember exactly what I did when I set this computer up, but I do know the hard drive is accessible from Ubuntu (and is at /dev/sdb1, mounted at /media/steve/storage).  Is it possible to do what I'm asking?
1619
I have a Linux CentOS server, the OS+packages used around 5GB. Then, I transferred 97GB data from a Windows server to two folders on this Linux server, after calculated the disk usage, I see the total size of the two folders is larger than the disk used size.  Run du -sh on each folder, one use 50GB, the other one use 47GB  But run df -h, the used space is 96GB. (50GB + 47GB + 5GB) > 96GB  Is there any problem? Those two folders contain lots of files (1 million+). Thanks.
56143
I've just had a message today from Ubuntu 11.04 that I have only 100 MB left, so I cleaned up some files, and I got 200 MB. Then, after a couple of hours, suddenly I have only 26 MB?! I tried df, du via mount --bind, /forcefsck with reboot - nothing could should what the culprit is - finally I searched big files, realized /var/log/syslog is 100MB+ and /var/log/kern.log is 200MB+ - blanked them with sudo bash -c 'echo &gt; ...' and rebooted, and now I have some spare MB.  But now, I realize I have another problem with df:  $ df -h Filesystem            Size  Used Avail Use% Mounted on /dev/sda5             9,7G  8,8G  385M  96% / none                  963M  696K  962M   1% /dev none                  969M   12K  969M   1% /dev/shm none                  969M  252K  969M   1% /var/run none                  969M     0  969M   0% /var/lock /dev/sda6             9,7G  8,1G  1,1G  89% /media/disk  $ df -h --block-size M Filesystem           1M-blocks      Used Available Use% Mounted on /dev/sda5                9845M     8960M      385M  96% / none                      963M        1M      962M   1% /dev none                      969M        1M      969M   1% /dev/shm none                      969M        1M      969M   1% /var/run none                      969M        0M      969M   0% /var/lock /dev/sda6                9845M     8235M     1110M  89% /media/disk   Note so for /, it says there are 9845M total; and Used 8960M - then remaining would be 9845-8960 = 885 M, however, here I have only 385M Available.  Also, for /media/disk, it says total 9845M, Used 8235M - then remaining would be 9845-8235 = 1610, however, here I have only 1110M Available.  In both cases, there is exactly 500 MB difference.  Where did this difference come from - and can I reclaim it?  Here is also lsof | grep 'deleted' - can't see nothing suspicious here:  $ lsof | grep 'deleted' nautilus  1911 user   21u      REG        8,5   142760     260562 /home/user/.local/share/gvfs-metadata/home (deleted) nautilus  1911 user   22w      REG        8,5    32768     268807 /home/user/.local/share/gvfs-metadata/home-fe882154.log (deleted) python    1919 user    8u      REG        8,5     4096     392258 /tmp/ffiqRK968 (deleted) python    2165 user    5w      REG        8,5        0     132261 /home/user/.[SNIP].lock (deleted) python    2166 user    5w      REG        8,5        0     132261 /home/user/.[SNIP].lock (deleted) python    2185 user   21r      REG        8,5   142760     260562 /home/user/.local/share/gvfs-metadata/home (deleted) python    2185 user   22r      REG        8,5    32768     268807 /home/user/.local/share/gvfs-metadata/home-fe882154.log (deleted) gnome-ter 2279 user   27u      REG        8,5      640     392575 /tmp/vte5KDX2X (deleted) gnome-ter 2279 user   28u      REG        8,5     4936     392605 /tmp/vteKRDX2X (deleted) gnome-ter 2279 user   29u      REG        8,5      648     392947 /tmp/vteMZDX2X (deleted) ubuntuone 2544 user   17u      REG        8,5     4096     392335 /tmp/ffiMErq0V (deleted) bamfdaemo 3235 user   12r      REG        8,5   143868     269077 /home/user/.local/share/gvfs-metadata/root (deleted) bamfdaemo 3235 user   13r      REG        8,5    32768     272310 /home/user/.local/share/gvfs-metadata/root-18092a02.log (deleted) firefox   5291 user   59u      REG        8,5    33288     132262 /var/tmp/etilqs_YdeZiWSd5iQwJ4U (deleted) firefox   5291 user   60w      REG        8,5    32768     132271 /var/tmp/etilqs_MNLXhEaEqoXMm9b (deleted) firefox   5291 user   70u      REG        8,5    34952     132297 /var/tmp/etilqs_yXDdwVeMxmmdpNz (deleted)
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
97750
I am wondering, when you select the option of just "Try Ubuntu" instead of installing, where does Ubuntu store the files that you download / copy / save?  I right click in the Home folder, and it specified I had 4GB free space. Where did it get this 4GB space from, and if I transition to another OS system, how can I access or delete all the previous data from the session of "Try Ubuntu"?  Thank you!
123573
i started installing ubuntu and took out windows 10 completely during the installation.. but after the installation, when i checked my disk partitions  927gb on linux filesystem 3 gb on linux swap 512 mb on efi  but my hard disk size is 1tb (1024gb so now rest 94 gb is missing  can anyone help me out. i tried if the windows 10 is still existing on the disk, but i didnt get any method  and while booting the system i get a message on the top left corner  /dev/sda2: clean,223062/60760064 files, 5079494/243030464 blocks ... so does this mean.
28078
Every time update manager prompts an update I get a message saying that there is not enough space available, however  the partition with Ubuntu installed  has over 10 GB of free space available.  I'm lost as to what needs to be done.  df -h returns:  Filesystem            Size  Used Avail Use%   Mounted on /dev/loop0            5.6G  5.1G  237M  96% / udev                  2.0G  4.0K  2.0G   1% /dev tmpfs                 786M  792K  786M   1% /run none                  5.0M     0  5.0M   0% /run/lock none                  2.0G  332K  2.0G   1% /run/shm /dev/sda6              20G  6.7G   13G  34% /host /dev/sda5             175G  120G   56G  69% /media/DATA   It would be great if someone could help me out on how to solve this problem. I'm a newbie to Ubuntu.
116899
On my Amazing 2GB EeePC Surf, I have no more space left!  This is quite normal, and it happens every now and then. Just delete a few large, unneeded files and everything should be good, right?  So I go and find a 2MB file in /tmp, and rm -rf it. Check free space again, and -- still nothing?!  I had to remove about 30MB of files before it registered some free space.  Now, my question is, what's up with this strange behaviour?