Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 40

Thread: Why is my root large?

  1. #11
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Why is my root large?

    The df output is correct.
    The storage used is by partition.

    If you ever had a /home under / (on the same partition)and put files there before creating the /home mount point and mounting a new partition there, then all those files are still sitting under the / partition (sda3) - effectively hidden because the other partition mounted as /home (sda4) hides it. That data is "hidden", if it exists. I've seen this happen with backup partitions that weren't mounted for 1 backup job, so / got filled.

    All of us have thought there was no way that files existed eating up storage over the yrs. Looking closer, I've always been able to find where the "lost space" was ... eventually. Usually, I start with the df -h command, then use the du -sh * as I move down the directory tree to find the files/directories hogging storage. Please trust us. You have files that are NOT on /home that are under sda3 on /.

    I'm with steeldriver - use the CLI tools, not GUIs for this. GUIs tend to oversimplify things and might not show the truth. We care about truth here, not a pretty diagram.
    Last edited by TheFu; January 20th, 2014 at 10:35 PM. Reason: missing letters added.

  2. #12
    Join Date
    Sep 2010
    Beans
    898

    Re: Why is my root large?

    The du command is handy for digging into this.

    Example:
    Code:
    sudo du -h /var --max-depth=1

  3. #13
    Join Date
    Nov 2011
    Beans
    2,336
    Distro
    Ubuntu

    Re: Why is my root large?

    You have a single filesystem that uses multiple partitions. You might easily have put /boot, /etc, /tmp, /var, /usr/local, and more on their own partitions, or on their own partitions on their own drives.

    The "Disk Usage Analyzer" seems to display results using the filesystem's view of things. All files and directories are part of a hierarchy beneath "/".

  4. #14
    Join Date
    Apr 2007
    Location
    Out in Left Field
    Beans
    1,167
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Why is my root large?

    This is clearer now. I opened File Sytem and found home which ontained a few files including trash and lost and found but my home directory "david" was as everyone seems to be saying a symbolic link not the actual directory.
    Thank you all for providing the commands I will try them and see if there is a big resource hog in Root
    MB: Asrock Extreme4-M CPU: Intel(R) Core(TM) i7-3770K CPU @3.50GHz Memory: Corsair Low Profile Vengeance 16.00 GB. GC On CPU HD4000 Platform: x86_64 Distribution:

  5. #15
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Why is my root large?

    The advantage (one of several) of keeping home on a separate partition is that if your root drive/partition gets trashed, you could boot a LiveUSB and mount your home partition and have all of your work and personal files preserved. The downside is that some tools (as you have noticed) will hide the relationship between disk space use and the directory tree. Add a few remote file servers to your mount table and things quickly get confusing.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  6. #16
    Join Date
    Apr 2007
    Location
    Out in Left Field
    Beans
    1,167
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Why is my root large?

    Quote Originally Posted by tgalati4 View Post
    The advantage (one of several) of keeping home on a separate partition is that if your root drive/partition gets trashed, you could boot a LiveUSB and mount your home partition and have all of your work and personal files preserved. The downside is that some tools (as you have noticed) will hide the relationship between disk space use and the directory tree. Add a few remote file servers to your mount table and things quickly get confusing.
    Presumably this is why it does in fact appear that my home folder contents are counted towards the total capacity of the Root Directory both in GParted and Disk Usage Analyzer. Presumably this is because they are on the same disk although separate partitions. The /media/Music directory is on a separate disk and partition and is not counted towards Roots capacity
    Using
    Code:
    sudo du -h /var --max-depth=1
    command that Dave_L gave I looked at all the directories in my Root and added them up. Unless I add in the value for Home I don't get a total equal to what GParted( where as I said before root and home are separate partitions) said root is.

    Please forgive my confusion. I enjoy tinkering and using computers but I really have very little technical experience
    MB: Asrock Extreme4-M CPU: Intel(R) Core(TM) i7-3770K CPU @3.50GHz Memory: Corsair Low Profile Vengeance 16.00 GB. GC On CPU HD4000 Platform: x86_64 Distribution:

  7. #17
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Why is my root large?

    gparted/parted tells the truth at the partition level. If /home is mounted to a different partition, then that storage is NOT included in the / mount storage reports.

    I cannot speak to how other GUI tools work. Don't use them.
    I trust df and du.

    I'd have to check a little to see how LVM LVs munge this stuff. It doesn't, df still works as expected. Just checked.

    BTW, /home is not some mandatory name or location. It can be named anything you like, just the passwd entry data would need to be modified to know where it is for each userid. Different users can have their HOME on the same or different partitions as well. At prior work places, our HOME directories were NFS mounted to every UNIX machine we had logins on. Same HOME regardless of the platform is handy, though it can mess with startup and config scripts - especially when the tools are in different locations for different machine architectures.

  8. #18
    Join Date
    Apr 2007
    Location
    Out in Left Field
    Beans
    1,167
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Why is my root large?

    gparted/parted tells the truth at the partition level. If /home is mounted to a different partition, then that storage is NOT included in the / mount storage reports.
    That being the case I have to wonder about whether I have home within the root partition as well as as it's own partition, because otherwise the numbers don't seem to add up.
    If I add up all the directories below (file system which I believe is Root or /)I get approximately 15 GB with Home included but media excluded(as it clearly is not counted part of root in Gparted). This is a bit shy of the 16.7 GParted says is used in Root partition but much closer than if I didn't count Home(6.5GB) in Root. Is the home directory duplicated then in Root and in it's own partition?
    Code:
    david@MainSqueeze:~$ sudo du -h /bin --max-depth=1
    8.9M	/bin
    david@MainSqueeze:~$ sudo du -h /boot --max-depth=1
    487K	/boot/efi
    2.4M	/boot/grub
    4.4M	/boot/grub.bak
    1.6M	/boot/extlinux
    146M	/boot
    david@MainSqueeze:~$ sudo du -h /dev --max-depth=1
    0	/dev/snd
    0	/dev/cpu
    4.0K	/dev/.udev
    0	/dev/usb
    0	/dev/disk
    0	/dev/bsg
    0	/dev/dri
    0	/dev/char
    0	/dev/block
    0	/dev/pts
    0	/dev/mapper
    0	/dev/input
    0	/dev/bus
    0	/dev/net
    4.0K	/dev
    david@MainSqueeze:~$ sudo du -h /etc --max-depth=1
    20K	/etc/gnome
    8.0K	/etc/insserv
    84K	/etc/cron.daily
    8.0K	/etc/gnome-app-install
    8.0K	/etc/python
    28K	/etc/pm
    28K	/etc/dpkg
    32K	/etc/NetworkManager
    1.1M	/etc/bash_completion.d
    96K	/etc/sgml
    8.0K	/etc/sudoers.d
    12K	/etc/ca-certificates
    24K	/etc/avahi
    8.0K	/etc/cron.hourly
    204K	/etc/default
    28K	/etc/skel
    20K	/etc/cron.weekly
    8.0K	/etc/at-spi2
    12K	/etc/emacs
    8.0K	/etc/postgresql-common
    256K	/etc/xdg
    12K	/etc/systemd
    16K	/etc/apparmor
    8.0K	/etc/rc3.d
    24K	/etc/menu-methods
    348K	/etc/fonts
    44K	/etc/dhcp
    20K	/etc/ConsoleKit
    12K	/etc/libnl-3
    560K	/etc/mono
    96K	/etc/speech-dispatcher
    48K	/etc/polkit-1
    36K	/etc/ghostscript
    12K	/etc/doc-base
    8.0K	/etc/.java
    16K	/etc/openal
    32K	/etc/squeezeboxserver
    332K	/etc/sane.d
    8.0K	/etc/ldap
    8.0K	/etc/profile.d
    12K	/etc/cron.monthly
    
    144K	/etc/alternatives
    8.0K	/etc/qemu
    60K	/etc/grub.d
    4.0K	/etc/fstab.d
    68K	/etc/apport
    20K	/etc/gnome-system-tools
    12K	/etc/kbd
    156K	/etc/console-setup
    12K	/etc/vim
    32K	/etc/iproute2
    68K	/etc/gimp
    24K	/etc/udev
    8.0K	/etc/bonobo-activation
    16K	/etc/foomatic
    32K	/etc/logcheck
    540K	/etc/X11
    56K	/etc/sound
    8.0K	/etc/calendar
    4.0K	/etc/update-notifier
    12K	/etc/checkbox.d
    1.9M	/etc/apparmor.d
    8.0K	/etc/gufw
    3.7M	/etc/brltty
    16K	/etc/rsyslog.d
    60K	/etc/xml
    20K	/etc/libreoffice
    4.0K	/etc/ODBCDataSources
    300K	/etc/apt
    76K	/etc/network
    8.0K	/etc/menu
    12K	/etc/lightdm
    40K	/etc/apm
    8.0K	/etc/thunderbird
    8.0K	/etc/icedtea-web
    4.0K	/etc/lsb-base
    16K	/etc/chatscripts
    228K	/etc/ImageMagick
    12K	/etc/pkcs11
    4.0K	/etc/sensors.d
    32K	/etc/update-motd.d
    4.0K	/etc/libpaper.d
    44K	/etc/resolvconf
    4.0K	/etc/usb_modeswitch.d
    76K	/etc/samba
    24K	/etc/gconf
    104K	/etc/pam.d
    12K	/etc/newt
    64K	/etc/apcupsd
    72K	/etc/initramfs-tools
    224K	/etc/dbus-1
    8.0K	/etc/gdb
    260K	/etc/init.d
    12K	/etc/groff
    24K	/etc/vlc
    8.0K	/etc/rc6.d
    44K	/etc/wpa_supplicant
    20K	/etc/smartmontools
    16K	/etc/cupshelpers
    8.0K	/etc/gamin
    340K	/etc/init
    8.0K	/etc/terminfo
    8.0K	/etc/pcmcia
    12K	/etc/mysql
    996K	/etc/ssl
    8.0K	/etc/esound
    44K	/etc/kernel
    28K	/etc/perl
    8.0K	/etc/snmp
    8.0K	/etc/UPower
    32K	/etc/bluetooth
    8.0K	/etc/python2.7
    16K	/etc/firefox
    52K	/etc/security
    12K	/etc/qt3
    28K	/etc/compizconfig
    8.0K	/etc/depmod.d
    12K	/etc/xul-ext
    16K	/etc/ginn
    20K	/etc/update-manager
    156K	/etc/java-7-openjdk
    4.0K	/etc/dictionaries-common
    12K	/etc/dhcp3
    32K	/etc/defoma
    12K	/etc/cron.d
    48K	/etc/modprobe.d
    12K	/etc/obex-data-server
    8.0K	/etc/ifplugd
    12K	/etc/gtk-3.0
    24K	/etc/pulse
    44K	/etc/motion
    112K	/etc/ppp
    8.0K	/etc/gnome-settings-daemon
    8.0K	/etc/rc2.d
    8.0K	/etc/rcS.d
    80K	/etc/logrotate.d
    36K	/etc/sysctl.d
    84K	/etc/postfix
    8.0K	/etc/rc4.d
    20K	/etc/ld.so.conf.d
    12K	/etc/wireshark
    64K	/etc/ufw
    152K	/etc/java-6-openjdk
    8.0K	/etc/rc1.d
    8.0K	/etc/rc0.d
    8.0K	/etc/hp
    8.0K	/etc/rc5.d
    12K	/etc/insserv.conf.d
    132K	/etc/ssh
    260K	/etc/acpi
    16K	/etc/opt
    488K	/etc/apache2
    16K	/etc/gnome-vfs-2.0
    92K	/etc/cups
    8.0K	/etc/grub.d.bak
    248K	/etc/fail2ban
    17M	/etc
    david@MainSqueeze:~$ sudo du -h /home --max-depth=1
    du: cannot access `/home/david/.gvfs': Permission denied
    6.5G	/home/david
    244K	/home/.Trash-0
    24K	/home/hts
    16K	/home/lost+found
    6.5G	/home
    david@MainSqueeze:~$ sudo du -h /lib --max-depth=1
    100K	/lib/cryptsetup
    120K	/lib/systemd
    8.0K	/lib/apparmor
    16K	/lib/lsb
    459M	/lib/modules
    49M	/lib/firmware
    1.7M	/lib/udev
    52K	/lib/recovery-mode
    748K	/lib/brltty
    16K	/lib/hdparm
    12K	/lib/linux-sound-base
    8.0K	/lib/resolvconf
    16K	/lib/bridge-utils
    1.1M	/lib/xtables
    24K	/lib/init
    204K	/lib/terminfo
    28K	/lib/crda
    328K	/lib/plymouth
    60K	/lib/security
    11M	/lib/i386-linux-gnu
    16M	/lib/x86_64-linux-gnu
    40K	/lib/ufw
    8.0K	/lib/oss-compat
    540M	/lib
    david@MainSqueeze:~$ sudo du -h /lib32 --max-depth=1
    3.4M	/lib32
    david@MainSqueeze:~$ sudo du -h /lib64 --max-depth=1
    4.0K	/lib64
    david@MainSqueeze:~$ sudo du -h /lost+found --max-depth=1
    16K	/lost+found
    david@MainSqueeze:~$ sudo du -h /media --max-depth=1
    85G	/media/Documents
    1.9T	/media/Videos
    689G	/media/Music
    5.0G	/media/26BC-A8C2
    2.6T	/media
    david@MainSqueeze:~$ sudo du -h /mnt --max-depth=1
    16K	/mnt/boot-sav
    16K	/mnt/BootInfo
    36K	/mnt
    david@MainSqueeze:~$ sudo du -h /opt --max-depth=1
    208M	/opt/google
    71M	/opt/BitDefender
    200K	/opt/brother
    540M	/opt/libreoffice4.0
    183M	/opt/BitDefender-scanner
    1000M	/opt
    david@MainSqueeze:~$ sudo du -h /proc --max-depth=1
    0	/proc/asound
    0	/proc/dri
    0	/proc/scsi
    0	/proc/acpi
    0	/proc/irq
    0	/proc/sys
    0	/proc/bus
    0	/proc/tty
    0	/proc/driver
    0	/proc/fs
    0	/proc/sysvipc
    0	/proc/1
    0	/proc/2
    0	/proc/3
    0	/proc/5
    0	/proc/6
    0	/proc/7
    0	/proc/8
    0	/proc/9
    0	/proc/10
    0	/proc/11
    0	/proc/12
    0	/proc/13
    0	/proc/14
    0	/proc/16
    0	/proc/17
    0	/proc/18
    0	/proc/19
    0	/proc/20
    0	/proc/21
    0	/proc/22
    0	/proc/23
    0	/proc/24
    0	/proc/26
    0	/proc/27
    0	/proc/28
    0	/proc/29
    0	/proc/31
    0	/proc/32
    0	/proc/33
    0	/proc/34
    0	/proc/35
    0	/proc/36
    0	/proc/37
    0	/proc/38
    0	/proc/39
    0	/proc/40
    0	/proc/41
    0	/proc/42
    0	/proc/43
    0	/proc/44
    0	/proc/45
    0	/proc/46
    0	/proc/47
    0	/proc/48
    0	/proc/49
    0	/proc/50
    0	/proc/51
    0	/proc/52
    0	/proc/53
    0	/proc/54
    0	/proc/55
    0	/proc/56
    0	/proc/57
    0	/proc/58
    0	/proc/60
    0	/proc/61
    0	/proc/62
    0	/proc/63
    0	/proc/64
    0	/proc/65
    0	/proc/66
    0	/proc/77
    0	/proc/80
    0	/proc/82
    0	/proc/101
    0	/proc/102
    0	/proc/104
    0	/proc/275
    0	/proc/276
    0	/proc/277
    0	/proc/278
    0	/proc/279
    0	/proc/280
    0	/proc/285
    0	/proc/287
    0	/proc/288
    0	/proc/292
    0	/proc/293
    0	/proc/297
    0	/proc/298
    0	/proc/318
    0	/proc/321
    0	/proc/322
    0	/proc/372
    0	/proc/373
    0	/proc/486
    0	/proc/487
    0	/proc/735
    0	/proc/736
    0	/proc/738
    0	/proc/739
    0	/proc/740
    0	/proc/743
    0	/proc/744
    0	/proc/747
    0	/proc/748
    0	/proc/761
    0	/proc/766
    0	/proc/792
    0	/proc/821
    0	/proc/872
    0	/proc/899
    0	/proc/938
    0	/proc/941
    0	/proc/945
    0	/proc/948
    0	/proc/1036
    0	/proc/1042
    0	/proc/1077
    0	/proc/1117
    0	/proc/1191
    0	/proc/1209
    0	/proc/1210
    0	/proc/1245
    0	/proc/1254
    0	/proc/1278
    0	/proc/1329
    0	/proc/1331
    0	/proc/1334
    0	/proc/1346
    0	/proc/1367
    0	/proc/1399
    0	/proc/1406
    0	/proc/1416
    0	/proc/1417
    0	/proc/1419
    0	/proc/1432
    0	/proc/1434
    0	/proc/1435
    0	/proc/1436
    0	/proc/1442
    0	/proc/1444
    0	/proc/1525
    0	/proc/1537
    0	/proc/1551
    0	/proc/1552
    0	/proc/1565
    0	/proc/1655
    0	/proc/1689
    0	/proc/1690
    0	/proc/1702
    0	/proc/1716
    0	/proc/1782
    0	/proc/1822
    0	/proc/1833
    0	/proc/1835
    0	/proc/1842
    0	/proc/1877
    0	/proc/1879
    0	/proc/1903
    0	/proc/1906
    0	/proc/1908
    0	/proc/1909
    0	/proc/2136
    0	/proc/2225
    0	/proc/2229
    0	/proc/2260
    0	/proc/2271
    0	/proc/2272
    0	/proc/2281
    0	/proc/2494
    0	/proc/2505
    0	/proc/2551
    0	/proc/2562
    0	/proc/2599
    0	/proc/2602
    0	/proc/2603
    0	/proc/2612
    0	/proc/2622
    0	/proc/2624
    0	/proc/2631
    0	/proc/2642
    0	/proc/2647
    0	/proc/2649
    0	/proc/2656
    0	/proc/2660
    0	/proc/2661
    0	/proc/2666
    0	/proc/2669
    0	/proc/2673
    0	/proc/2674
    0	/proc/2677
    0	/proc/2679
    0	/proc/2680
    0	/proc/2688
    0	/proc/2693
    0	/proc/2697
    0	/proc/2714
    0	/proc/2717
    0	/proc/2722
    0	/proc/2801
    0	/proc/2904
    0	/proc/2923
    0	/proc/2945
    0	/proc/2985
    0	/proc/3051
    0	/proc/3185
    0	/proc/6122
    0	/proc/7468
    0	/proc/8938
    0	/proc/9884
    0	/proc/10121
    0	/proc/10181
    0	/proc/10238
    0	/proc/10325
    0	/proc/10329
    0	/proc/10426
    0	/proc/10455
    0	/proc/10527
    0	/proc/10533
    0	/proc/10534
    0	/proc/10661
    0	/proc/10668
    0	/proc/10696
    0	/proc/10697
    0	/proc/10698
    0	/proc/10699
    0	/proc/10700
    0	/proc/10701
    0	/proc/10734
    0	/proc/10767
    0	/proc/10768
    0	/proc/10769
    0	/proc/10770
    0	/proc/10771
    0	/proc/10772
    0	/proc/10773
    0	/proc/10774
    0	/proc/10775
    0	/proc/10776
    0	/proc/10777
    0	/proc/10778
    0	/proc/10779
    0	/proc/10780
    0	/proc/10783
    du: cannot access `/proc/10784/task/10784/fd/3': No such file or directory
    du: cannot access `/proc/10784/task/10784/fdinfo/3': No such file or directory
    du: cannot access `/proc/10784/fd/3': No such file or directory
    du: cannot access `/proc/10784/fdinfo/3': No such file or directory
    0	/proc/10784
    0	/proc
    david@MainSqueeze:~$ sudo du -h /run --max-depth=1
    0	/run/udisks
    0	/run/pm-utils
    4.0K	/run/fail2ban
    0	/run/apache2
    0	/run/pppconfig
    4.0K	/run/xfs
    4.0K	/run/console
    4.0K	/run/ConsoleKit
    4.0K	/run/lightdm
    152K	/run/samba
    12K	/run/cups
    0	/run/udev-configure-printer
    4.0K	/run/avahi-daemon
    4.0K	/run/network
    4.0K	/run/dbus
    220K	/run/shm
    4.0K	/run/lock
    0	/run/mount
    8.0K	/run/resolvconf
    8.0K	/run/sendsigs.omit.d
    860K	/run/udev
    0	/run/initramfs
    1.4M	/run
    david@MainSqueeze:~$ sudo du -h /sbin --max-depth=1
    9.3M	/sbin
    david@MainSqueeze:~$ sudo du -h /selinux --max-depth=1
    4.0K	/selinux
    david@MainSqueeze:~$ sudo du -h /srv --max-depth=1
    4.0K	/srv
    david@MainSqueeze:~$ sudo du -h /sys --max-depth=1
    0	/sys/fs
    0	/sys/bus
    0	/sys/dev
    0	/sys/devices
    0	/sys/block
    0	/sys/class
    0	/sys/power
    0	/sys/firmware
    0	/sys/kernel
    0	/sys/module
    0	/sys/hypervisor
    0	/sys
    david@MainSqueeze:~$ sudo du -h /tmp --max-depth=1
    4.0K	/tmp/at-spi2
    4.0K	/tmp/.winbindd
    4.0K	/tmp/plugtmp
    4.0K	/tmp/pulse-PKdhtXMmr18n
    8.0K	/tmp/pulse-weOzMmjUZvV2
    16K	/tmp/par-squeezeboxserver
    4.0K	/tmp/keyring-RN56Yb
    4.0K	/tmp/ssh-esmVEhfK2562
    4.0K	/tmp/.X11-unix
    4.0K	/tmp/.font-unix
    4.0K	/tmp/.ICE-unix
    4.0K	/tmp/orbit-david
    4.0K	/tmp/pulse-2L9K88eMlGn7
    76K	/tmp
    david@MainSqueeze:~$ sudo du -h /ubiquity-apt-clone --max-depth=1
    4.0M	/ubiquity-apt-clone
    david@MainSqueeze:~$ sudo du -h /usr --max-depth=1
    160K	/usr/lib64
    1.6G	/usr/share
    606M	/usr/src
    8.4M	/usr/include
    280M	/usr/bin
    34M	/usr/sbin
    6.5M	/usr/lib32
    508K	/usr/games
    1.9G	/usr/lib
    4.8M	/usr/local
    4.4G	/usr
    david@MainSqueeze:~$ sudo du -h /var --max-depth=1
    1.5M	/var/mail
    8.0K	/var/www
    91M	/var/log
    4.0K	/var/crash
    3.6M	/var/spool
    4.0K	/var/games
    1.6G	/var/lib
    183M	/var/tmp
    5.8M	/var/backups
    185M	/var/cache
    4.0K	/var/opt
    4.0K	/var/local
    2.1G	/var
    david@MainSqueeze:~$
    Last edited by SuperFreak; January 22nd, 2014 at 01:46 AM.
    MB: Asrock Extreme4-M CPU: Intel(R) Core(TM) i7-3770K CPU @3.50GHz Memory: Corsair Low Profile Vengeance 16.00 GB. GC On CPU HD4000 Platform: x86_64 Distribution:

  9. #19
    Join Date
    Nov 2011
    Beans
    2,336
    Distro
    Ubuntu

    Re: Why is my root large?

    Quote Originally Posted by SuperFreak View Post
    That being the case I have to wonder about whether I have home within the root partition as well as as it's own partition, because otherwise the numbers don't seem to add up.
    If I add up all the directories below (file system which I believe is Root or /)I get approximately 15 GB with Home included but media excluded(as it clearly is not counted part of root in Gparted). This is a bit shy of the 16.7 GParted says is used in Root partition but much closer than if I didn't count Home(6.5GB) in Root. Is the home directory duplicated then in Root and in it's own partition?
    Code:
    david@MainSqueeze:~$ sudo du -h /bin --max-depth=1
    8.9M    /bin
    david@MainSqueeze:~$ sudo du -h /boot --max-depth=1
    487K    /boot/efi
    2.4M    /boot/grub
    4.4M    /boot/grub.bak
    1.6M    /boot/extlinux
    146M    /boot
    david@MainSqueeze:~$ sudo du -h /dev --max-depth=1
    0    /dev/snd
    0    /dev/cpu
    4.0K    /dev/.udev
    0    /dev/usb
    0    /dev/disk
    0    /dev/bsg
    0    /dev/dri
    0    /dev/char
    0    /dev/block
    0    /dev/pts
    0    /dev/mapper
    0    /dev/input
    0    /dev/bus
    0    /dev/net
    4.0K    /dev
    david@MainSqueeze:~$ sudo du -h /etc --max-depth=1
    20K    /etc/gnome
    8.0K    /etc/insserv
    84K    /etc/cron.daily
    8.0K    /etc/gnome-app-install
    8.0K    /etc/python
    28K    /etc/pm
    28K    /etc/dpkg
    32K    /etc/NetworkManager
    1.1M    /etc/bash_completion.d
    96K    /etc/sgml
    8.0K    /etc/sudoers.d
    12K    /etc/ca-certificates
    24K    /etc/avahi
    8.0K    /etc/cron.hourly
    204K    /etc/default
    28K    /etc/skel
    20K    /etc/cron.weekly
    8.0K    /etc/at-spi2
    12K    /etc/emacs
    8.0K    /etc/postgresql-common
    256K    /etc/xdg
    12K    /etc/systemd
    16K    /etc/apparmor
    8.0K    /etc/rc3.d
    24K    /etc/menu-methods
    348K    /etc/fonts
    44K    /etc/dhcp
    20K    /etc/ConsoleKit
    12K    /etc/libnl-3
    560K    /etc/mono
    96K    /etc/speech-dispatcher
    48K    /etc/polkit-1
    36K    /etc/ghostscript
    12K    /etc/doc-base
    8.0K    /etc/.java
    16K    /etc/openal
    32K    /etc/squeezeboxserver
    332K    /etc/sane.d
    8.0K    /etc/ldap
    8.0K    /etc/profile.d
    12K    /etc/cron.monthly
    
    144K    /etc/alternatives
    8.0K    /etc/qemu
    60K    /etc/grub.d
    4.0K    /etc/fstab.d
    68K    /etc/apport
    20K    /etc/gnome-system-tools
    12K    /etc/kbd
    156K    /etc/console-setup
    12K    /etc/vim
    32K    /etc/iproute2
    68K    /etc/gimp
    24K    /etc/udev
    8.0K    /etc/bonobo-activation
    16K    /etc/foomatic
    32K    /etc/logcheck
    540K    /etc/X11
    56K    /etc/sound
    8.0K    /etc/calendar
    4.0K    /etc/update-notifier
    12K    /etc/checkbox.d
    1.9M    /etc/apparmor.d
    8.0K    /etc/gufw
    3.7M    /etc/brltty
    16K    /etc/rsyslog.d
    60K    /etc/xml
    20K    /etc/libreoffice
    4.0K    /etc/ODBCDataSources
    300K    /etc/apt
    76K    /etc/network
    8.0K    /etc/menu
    12K    /etc/lightdm
    40K    /etc/apm
    8.0K    /etc/thunderbird
    8.0K    /etc/icedtea-web
    4.0K    /etc/lsb-base
    16K    /etc/chatscripts
    228K    /etc/ImageMagick
    12K    /etc/pkcs11
    4.0K    /etc/sensors.d
    32K    /etc/update-motd.d
    4.0K    /etc/libpaper.d
    44K    /etc/resolvconf
    4.0K    /etc/usb_modeswitch.d
    76K    /etc/samba
    24K    /etc/gconf
    104K    /etc/pam.d
    12K    /etc/newt
    64K    /etc/apcupsd
    72K    /etc/initramfs-tools
    224K    /etc/dbus-1
    8.0K    /etc/gdb
    260K    /etc/init.d
    12K    /etc/groff
    24K    /etc/vlc
    8.0K    /etc/rc6.d
    44K    /etc/wpa_supplicant
    20K    /etc/smartmontools
    16K    /etc/cupshelpers
    8.0K    /etc/gamin
    340K    /etc/init
    8.0K    /etc/terminfo
    8.0K    /etc/pcmcia
    12K    /etc/mysql
    996K    /etc/ssl
    8.0K    /etc/esound
    44K    /etc/kernel
    28K    /etc/perl
    8.0K    /etc/snmp
    8.0K    /etc/UPower
    32K    /etc/bluetooth
    8.0K    /etc/python2.7
    16K    /etc/firefox
    52K    /etc/security
    12K    /etc/qt3
    28K    /etc/compizconfig
    8.0K    /etc/depmod.d
    12K    /etc/xul-ext
    16K    /etc/ginn
    20K    /etc/update-manager
    156K    /etc/java-7-openjdk
    4.0K    /etc/dictionaries-common
    12K    /etc/dhcp3
    32K    /etc/defoma
    12K    /etc/cron.d
    48K    /etc/modprobe.d
    12K    /etc/obex-data-server
    8.0K    /etc/ifplugd
    12K    /etc/gtk-3.0
    24K    /etc/pulse
    44K    /etc/motion
    112K    /etc/ppp
    8.0K    /etc/gnome-settings-daemon
    8.0K    /etc/rc2.d
    8.0K    /etc/rcS.d
    80K    /etc/logrotate.d
    36K    /etc/sysctl.d
    84K    /etc/postfix
    8.0K    /etc/rc4.d
    20K    /etc/ld.so.conf.d
    12K    /etc/wireshark
    64K    /etc/ufw
    152K    /etc/java-6-openjdk
    8.0K    /etc/rc1.d
    8.0K    /etc/rc0.d
    8.0K    /etc/hp
    8.0K    /etc/rc5.d
    12K    /etc/insserv.conf.d
    132K    /etc/ssh
    260K    /etc/acpi
    16K    /etc/opt
    488K    /etc/apache2
    16K    /etc/gnome-vfs-2.0
    92K    /etc/cups
    8.0K    /etc/grub.d.bak
    248K    /etc/fail2ban
    17M    /etc
    david@MainSqueeze:~$ sudo du -h /home --max-depth=1
    du: cannot access `/home/david/.gvfs': Permission denied
    6.5G    /home/david
    244K    /home/.Trash-0
    24K    /home/hts
    16K    /home/lost+found
    6.5G    /home
    david@MainSqueeze:~$ sudo du -h /lib --max-depth=1
    100K    /lib/cryptsetup
    120K    /lib/systemd
    8.0K    /lib/apparmor
    16K    /lib/lsb
    459M    /lib/modules
    49M    /lib/firmware
    1.7M    /lib/udev
    52K    /lib/recovery-mode
    748K    /lib/brltty
    16K    /lib/hdparm
    12K    /lib/linux-sound-base
    8.0K    /lib/resolvconf
    16K    /lib/bridge-utils
    1.1M    /lib/xtables
    24K    /lib/init
    204K    /lib/terminfo
    28K    /lib/crda
    328K    /lib/plymouth
    60K    /lib/security
    11M    /lib/i386-linux-gnu
    16M    /lib/x86_64-linux-gnu
    40K    /lib/ufw
    8.0K    /lib/oss-compat
    540M    /lib
    david@MainSqueeze:~$ sudo du -h /lib32 --max-depth=1
    3.4M    /lib32
    david@MainSqueeze:~$ sudo du -h /lib64 --max-depth=1
    4.0K    /lib64
    david@MainSqueeze:~$ sudo du -h /lost+found --max-depth=1
    16K    /lost+found
    david@MainSqueeze:~$ sudo du -h /media --max-depth=1
    85G    /media/Documents
    1.9T    /media/Videos
    689G    /media/Music
    5.0G    /media/26BC-A8C2
    2.6T    /media
    david@MainSqueeze:~$ sudo du -h /mnt --max-depth=1
    16K    /mnt/boot-sav
    16K    /mnt/BootInfo
    36K    /mnt
    david@MainSqueeze:~$ sudo du -h /opt --max-depth=1
    208M    /opt/google
    71M    /opt/BitDefender
    200K    /opt/brother
    540M    /opt/libreoffice4.0
    183M    /opt/BitDefender-scanner
    1000M    /opt
    david@MainSqueeze:~$ sudo du -h /proc --max-depth=1
    0    /proc/asound
    0    /proc/dri
    0    /proc/scsi
    0    /proc/acpi
    0    /proc/irq
    0    /proc/sys
    0    /proc/bus
    0    /proc/tty
    0    /proc/driver
    0    /proc/fs
    0    /proc/sysvipc
    0    /proc/1
    0    /proc/2
    0    /proc/3
    0    /proc/5
    0    /proc/6
    0    /proc/7
    0    /proc/8
    0    /proc/9
    0    /proc/10
    0    /proc/11
    0    /proc/12
    0    /proc/13
    0    /proc/14
    0    /proc/16
    0    /proc/17
    0    /proc/18
    0    /proc/19
    0    /proc/20
    0    /proc/21
    0    /proc/22
    0    /proc/23
    0    /proc/24
    0    /proc/26
    0    /proc/27
    0    /proc/28
    0    /proc/29
    0    /proc/31
    0    /proc/32
    0    /proc/33
    0    /proc/34
    0    /proc/35
    0    /proc/36
    0    /proc/37
    0    /proc/38
    0    /proc/39
    0    /proc/40
    0    /proc/41
    0    /proc/42
    0    /proc/43
    0    /proc/44
    0    /proc/45
    0    /proc/46
    0    /proc/47
    0    /proc/48
    0    /proc/49
    0    /proc/50
    0    /proc/51
    0    /proc/52
    0    /proc/53
    0    /proc/54
    0    /proc/55
    0    /proc/56
    0    /proc/57
    0    /proc/58
    0    /proc/60
    0    /proc/61
    0    /proc/62
    0    /proc/63
    0    /proc/64
    0    /proc/65
    0    /proc/66
    0    /proc/77
    0    /proc/80
    0    /proc/82
    0    /proc/101
    0    /proc/102
    0    /proc/104
    0    /proc/275
    0    /proc/276
    0    /proc/277
    0    /proc/278
    0    /proc/279
    0    /proc/280
    0    /proc/285
    0    /proc/287
    0    /proc/288
    0    /proc/292
    0    /proc/293
    0    /proc/297
    0    /proc/298
    0    /proc/318
    0    /proc/321
    0    /proc/322
    0    /proc/372
    0    /proc/373
    0    /proc/486
    0    /proc/487
    0    /proc/735
    0    /proc/736
    0    /proc/738
    0    /proc/739
    0    /proc/740
    0    /proc/743
    0    /proc/744
    0    /proc/747
    0    /proc/748
    0    /proc/761
    0    /proc/766
    0    /proc/792
    0    /proc/821
    0    /proc/872
    0    /proc/899
    0    /proc/938
    0    /proc/941
    0    /proc/945
    0    /proc/948
    0    /proc/1036
    0    /proc/1042
    0    /proc/1077
    0    /proc/1117
    0    /proc/1191
    0    /proc/1209
    0    /proc/1210
    0    /proc/1245
    0    /proc/1254
    0    /proc/1278
    0    /proc/1329
    0    /proc/1331
    0    /proc/1334
    0    /proc/1346
    0    /proc/1367
    0    /proc/1399
    0    /proc/1406
    0    /proc/1416
    0    /proc/1417
    0    /proc/1419
    0    /proc/1432
    0    /proc/1434
    0    /proc/1435
    0    /proc/1436
    0    /proc/1442
    0    /proc/1444
    0    /proc/1525
    0    /proc/1537
    0    /proc/1551
    0    /proc/1552
    0    /proc/1565
    0    /proc/1655
    0    /proc/1689
    0    /proc/1690
    0    /proc/1702
    0    /proc/1716
    0    /proc/1782
    0    /proc/1822
    0    /proc/1833
    0    /proc/1835
    0    /proc/1842
    0    /proc/1877
    0    /proc/1879
    0    /proc/1903
    0    /proc/1906
    0    /proc/1908
    0    /proc/1909
    0    /proc/2136
    0    /proc/2225
    0    /proc/2229
    0    /proc/2260
    0    /proc/2271
    0    /proc/2272
    0    /proc/2281
    0    /proc/2494
    0    /proc/2505
    0    /proc/2551
    0    /proc/2562
    0    /proc/2599
    0    /proc/2602
    0    /proc/2603
    0    /proc/2612
    0    /proc/2622
    0    /proc/2624
    0    /proc/2631
    0    /proc/2642
    0    /proc/2647
    0    /proc/2649
    0    /proc/2656
    0    /proc/2660
    0    /proc/2661
    0    /proc/2666
    0    /proc/2669
    0    /proc/2673
    0    /proc/2674
    0    /proc/2677
    0    /proc/2679
    0    /proc/2680
    0    /proc/2688
    0    /proc/2693
    0    /proc/2697
    0    /proc/2714
    0    /proc/2717
    0    /proc/2722
    0    /proc/2801
    0    /proc/2904
    0    /proc/2923
    0    /proc/2945
    0    /proc/2985
    0    /proc/3051
    0    /proc/3185
    0    /proc/6122
    0    /proc/7468
    0    /proc/8938
    0    /proc/9884
    0    /proc/10121
    0    /proc/10181
    0    /proc/10238
    0    /proc/10325
    0    /proc/10329
    0    /proc/10426
    0    /proc/10455
    0    /proc/10527
    0    /proc/10533
    0    /proc/10534
    0    /proc/10661
    0    /proc/10668
    0    /proc/10696
    0    /proc/10697
    0    /proc/10698
    0    /proc/10699
    0    /proc/10700
    0    /proc/10701
    0    /proc/10734
    0    /proc/10767
    0    /proc/10768
    0    /proc/10769
    0    /proc/10770
    0    /proc/10771
    0    /proc/10772
    0    /proc/10773
    0    /proc/10774
    0    /proc/10775
    0    /proc/10776
    0    /proc/10777
    0    /proc/10778
    0    /proc/10779
    0    /proc/10780
    0    /proc/10783
    du: cannot access `/proc/10784/task/10784/fd/3': No such file or directory
    du: cannot access `/proc/10784/task/10784/fdinfo/3': No such file or directory
    du: cannot access `/proc/10784/fd/3': No such file or directory
    du: cannot access `/proc/10784/fdinfo/3': No such file or directory
    0    /proc/10784
    0    /proc
    david@MainSqueeze:~$ sudo du -h /run --max-depth=1
    0    /run/udisks
    0    /run/pm-utils
    4.0K    /run/fail2ban
    0    /run/apache2
    0    /run/pppconfig
    4.0K    /run/xfs
    4.0K    /run/console
    4.0K    /run/ConsoleKit
    4.0K    /run/lightdm
    152K    /run/samba
    12K    /run/cups
    0    /run/udev-configure-printer
    4.0K    /run/avahi-daemon
    4.0K    /run/network
    4.0K    /run/dbus
    220K    /run/shm
    4.0K    /run/lock
    0    /run/mount
    8.0K    /run/resolvconf
    8.0K    /run/sendsigs.omit.d
    860K    /run/udev
    0    /run/initramfs
    1.4M    /run
    david@MainSqueeze:~$ sudo du -h /sbin --max-depth=1
    9.3M    /sbin
    david@MainSqueeze:~$ sudo du -h /selinux --max-depth=1
    4.0K    /selinux
    david@MainSqueeze:~$ sudo du -h /srv --max-depth=1
    4.0K    /srv
    david@MainSqueeze:~$ sudo du -h /sys --max-depth=1
    0    /sys/fs
    0    /sys/bus
    0    /sys/dev
    0    /sys/devices
    0    /sys/block
    0    /sys/class
    0    /sys/power
    0    /sys/firmware
    0    /sys/kernel
    0    /sys/module
    0    /sys/hypervisor
    0    /sys
    david@MainSqueeze:~$ sudo du -h /tmp --max-depth=1
    4.0K    /tmp/at-spi2
    4.0K    /tmp/.winbindd
    4.0K    /tmp/plugtmp
    4.0K    /tmp/pulse-PKdhtXMmr18n
    8.0K    /tmp/pulse-weOzMmjUZvV2
    16K    /tmp/par-squeezeboxserver
    4.0K    /tmp/keyring-RN56Yb
    4.0K    /tmp/ssh-esmVEhfK2562
    4.0K    /tmp/.X11-unix
    4.0K    /tmp/.font-unix
    4.0K    /tmp/.ICE-unix
    4.0K    /tmp/orbit-david
    4.0K    /tmp/pulse-2L9K88eMlGn7
    76K    /tmp
    david@MainSqueeze:~$ sudo du -h /ubiquity-apt-clone --max-depth=1
    4.0M    /ubiquity-apt-clone
    david@MainSqueeze:~$ sudo du -h /usr --max-depth=1
    160K    /usr/lib64
    1.6G    /usr/share
    606M    /usr/src
    8.4M    /usr/include
    280M    /usr/bin
    34M    /usr/sbin
    6.5M    /usr/lib32
    508K    /usr/games
    1.9G    /usr/lib
    4.8M    /usr/local
    4.4G    /usr
    david@MainSqueeze:~$ sudo du -h /var --max-depth=1
    1.5M    /var/mail
    8.0K    /var/www
    91M    /var/log
    4.0K    /var/crash
    3.6M    /var/spool
    4.0K    /var/games
    1.6G    /var/lib
    183M    /var/tmp
    5.8M    /var/backups
    185M    /var/cache
    4.0K    /var/opt
    4.0K    /var/local
    2.1G    /var
    david@MainSqueeze:~$

    Can't have partitions inside of partitions. If you created /home as a separate partition, it is.

    Some tools use 1024k as a kilobyte. Others round down to 1000k. That might account for the slight difference. (Actually, all those numbers have been rounded to a single decimal place. I.e., 1,024,001 bytes and 995,001 bytes both get rounded to 1.0M, obscuring the difference of 29000 bytes.)
    Last edited by buzzingrobot; January 22nd, 2014 at 02:52 AM.

  10. #20
    Join Date
    Apr 2007
    Location
    Out in Left Field
    Beans
    1,167
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Why is my root large?

    It makes sense what you are saying but if I don't include the home volume in the total for Root then Root works out to less than 9 GB which is considerably less than the 16.7 GB GParted reports Root as. That is not really a slight difference. And yes I did create separate partitions for / and home using Something Different option in the installation.

    We seem to be rehashing the same points. My issue is I don't understand why my Root partition as reported by Gparted is so big since home is a separate partition (see first image post 1) and I have added up the volumes using both graphical and CLI and the only explanation I can come up with is either home is duplicated in root (which you say is not possible) or Gparted is not reporting correctly or the more obvious explanation I have misunderstood the matter
    Last edited by SuperFreak; January 22nd, 2014 at 04:37 AM.
    MB: Asrock Extreme4-M CPU: Intel(R) Core(TM) i7-3770K CPU @3.50GHz Memory: Corsair Low Profile Vengeance 16.00 GB. GC On CPU HD4000 Platform: x86_64 Distribution:

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •