Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 40

Thread: Why is my root large?

  1. #21
    Join Date
    Nov 2013
    Beans
    Hidden!

    Re: Why is my root large?

    Could you give the return of :
    sudo du -shx /* | sort -rh

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

    Re: Why is my root large?

    Thanks for putting up with my line of inquiry. Here is the output:

    Code:
    david@MainSqueeze:~$ sudo du -shx /* | sort -rh
    [sudo] password for david: 
    du: cannot access `/home/david/.gvfs': Permission denied
    du: cannot access `/proc/5318/task/5318/fd/3': No such file or directory
    du: cannot access `/proc/5318/task/5318/fdinfo/3': No such file or directory
    du: cannot access `/proc/5318/fd/3': No such file or directory
    du: cannot access `/proc/5318/fdinfo/3': No such file or directory
    8.0G	/root
    6.5G	/home
    4.4G	/usr
    2.1G	/var
    1.3G	/opt
    542M	/lib
    145M	/boot
    17M	/etc
    9.3M	/sbin
    8.9M	/bin
    4.0M	/ubiquity-apt-clone
    3.4M	/lib32
    1.1M	/run
    116K	/gapcmon-0.8.2.tar.bz2
    76K	/tmp
    36K	/mnt
    20K	/media
    16K	/lost+found
    12K	/gapcmon.spec
    4.0K	/srv
    4.0K	/selinux
    4.0K	/lib64
    4.0K	/dev
    4.0K	/dead.letter
    4.0K	/cdrom
    0	/vmlinuz.old
    0	/vmlinuz
    0	/sys
    0	/proc
    0	/initrd.img.old
    0	/initrd.img
    david@MainSqueeze:~$
    The output appears to segregate directories like /home,/usr, /var, /opt etc from /root, are some of these (or all) not infact contained within root. Perhaps I am not understanding this but I had thought that File System, Root and / were all the same thing
    Last edited by SuperFreak; January 22nd, 2014 at 04:31 PM.
    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:

  3. #23
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Why is my root large?

    8G under /root!!!!!!! There is an issue.
    On my machines /root has under 50MB - mostly scripts and data used only by root for backups or kernel cleanup stuff.
    That /gapcmon*bz2 file in / ... scary.

    How often do you use the root account for normal desktop stuff? It can be very dangerous to download files with root.

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

    Re: Why is my root large?

    I may be a little careless downloading and installing 3rd party software. gapcmon*bz2 is used to monitor my UPS, graphically showing power failures and such.
    I think I followed the instructions HERE to install it (not sure it was a bookmark I saved)
    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. #25
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Why is my root large?

    Almost all temp files should be put into ... er ... /tmp. It is cleaned up with every reboot.

    Downloading files while root is asking for trouble ... begging for it really.

    I'm still freaked out by the 8G under /root. Never heard of anyone using it that way. root is meant to be used in an extremely limited way, not as the default userid.

    "root", /root", /, and "file system" ARE NOT the same thing. There are times when they overlap and "root" is ambiguous.

    / - the root directory
    /root - the HOME directory for the root userid; no other userid can view it normally.
    Last edited by TheFu; January 22nd, 2014 at 05:58 PM.

  6. #26
    Join Date
    Nov 2013
    Beans
    Hidden!

    Re: Why is my root large?

    / and /root are two things different
    Could you now do :
    sudo du -sh /root/* | sort -rh
    Last edited by jeanjd63; January 22nd, 2014 at 06:04 PM.

  7. #27
    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 jeanjd63 View Post
    / and /root are two things different
    Could you now do :
    sudo du -sh /root/* | sort -rh
    result:
    Code:
    david@MainSqueeze:~$ sudo du -sh /root/* | sort -rh
    [sudo] password for david: 
    du: cannot access `/root/*': No such file or directory
    david@MainSqueeze:~$
    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:

  8. #28
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Why is my root large?

    Quote Originally Posted by SuperFreak View Post
    result:
    Code:
    david@MainSqueeze:~$ sudo du -sh /root/* | sort -rh
    [sudo] password for david: 
    du: cannot access `/root/*': No such file or directory
    david@MainSqueeze:~$
    The '*' gets expanded by the current userid - before sudo takes effect. I'd do it this way (it looked fine to me before too).

    Code:
    sudo -s
    du -sh /root/* | sort -rh
    That works here.

  9. #29
    Join Date
    Nov 2013
    Beans
    Hidden!

    Re: Why is my root large?

    And what return :
    sudo ls -l /root/.local/share/Trash/files

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

    Re: Why is my root large?

    @ The Fu
    Code:
    david@MainSqueeze:~$ sudo -s
    [sudo] password for david: 
    root@MainSqueeze:~# du -sh /root/* | sort -rh
    28K	/root/Boot-Info_2013-04-21__19h04.txt
    4.0K	/root/gparted_details.htm
    4.0K	/root/Desktop
    root@MainSqueeze:~#
    @jeandj63
    Code:
    david@MainSqueeze:~$ sudo ls -l /root/.local/share/Trash/files
    [sudo] password for david: 
    total 2566092
    -rw-r--r-- 1 squeezeboxserver nogroup 655443968 Jul 28 23:07 artwork.2.db
    -rw-r--r-- 1 squeezeboxserver nogroup 586689536 Jan 14 22:24 artwork.3.db
    -rw-r--r-- 1 squeezeboxserver nogroup 599079936 Jun 25  2013 artwork.db
    -rw-r--r-- 1 squeezeboxserver nogroup     32768 Jul 28 23:07 artwork.db-shm
    -rw-r--r-- 1 squeezeboxserver nogroup    232688 Jul 28 20:41 artwork.db-wal
    -rw-r--r-- 1 squeezeboxserver nogroup 137900032 Jan 14 22:24 cache.2.db
    -rw-r--r-- 1 squeezeboxserver nogroup  14802944 Jun 25  2013 cache.db
    -rw-r--r-- 1 squeezeboxserver nogroup      1715 Jan 14 22:24 cookies.2.dat
    -rw-r--r-- 1 squeezeboxserver nogroup       910 Jun 25  2013 cookies.dat
    drwxr-xr-x 7 root             root         4096 Nov  1  2012 cxoffice
    -rw-r----- 1 squeezeboxserver nogroup     24576 Jun 25  2013 __db.001
    -rw-r----- 1 squeezeboxserver nogroup    196608 Jun 25  2013 __db.002
    -rw-r----- 1 squeezeboxserver nogroup    270336 Jun 25  2013 __db.003
    -rw-r----- 1 squeezeboxserver nogroup     24576 Jan 14 21:57 __db.2.001
    -rw-r----- 1 squeezeboxserver nogroup    196608 Jan 14 21:57 __db.2.002
    -rw-r----- 1 squeezeboxserver nogroup    270336 Jan 14 21:57 __db.2.003
    -rw-r--r-- 1 squeezeboxserver nogroup      8538 Sep  1 19:14 extrastrings.2.json
    -rw-r--r-- 1 squeezeboxserver nogroup      8019 Apr 22  2013 extrastrings.json
    -rw-r--r-- 1 squeezeboxserver nogroup      3072 Jun 25  2013 FileCache-InformationScreen-Mail-0.2.3183-Screens.db
    -rw-r--r-- 1 squeezeboxserver nogroup      7168 Jun 25  2013 FileCache-InformationScreen-Mail-0.2.3183-ScreenTemplates.db
    -rw-r--r-- 1 squeezeboxserver nogroup    113474 Dec  7 18:33 fontcache.2.x86_64-linux.bin
    -rw-r--r-- 1 squeezeboxserver nogroup    113474 Jun 25  2013 fontcache.x86_64-linux.bin
    -rw-r--r-- 1 squeezeboxserver nogroup 302809088 Jan 14 22:24 imgproxy.2.db
    -rw-r--r-- 1 squeezeboxserver nogroup    125952 Jun 20  2013 imgproxy.db
    -rw-r--r-- 1 squeezeboxserver nogroup     32768 Jun 25  2013 imgproxy.db-shm
    -rw-r--r-- 1 squeezeboxserver nogroup         0 Jun 25  2013 imgproxy.db-wal
    -rw-r--r-- 1 squeezeboxserver nogroup       731 Apr 22  2013 infobrowser.opml
    -rw-r--r-- 1 squeezeboxserver nogroup       165 Apr 22  2013 infobrowser.opml.backup
    -rw-r----- 1 squeezeboxserver nogroup   1335296 Jan 14 21:57 libmediascan.2.db
    -rw-r----- 1 squeezeboxserver nogroup   1368064 Jun 24  2013 libmediascan.db
    -rw-r--r-- 1 squeezeboxserver nogroup 133022720 Jan 14 22:24 library.2.db
    -rw-r--r-- 1 squeezeboxserver nogroup 131540992 Jun 25  2013 library.db
    -rwxrwxr-x 1 david            david         483 Jan 15 16:36 mmserver
    -rw-r--r-- 1 squeezeboxserver nogroup  34197504 Jan 14 21:57 persist.2.db
    -rw-r--r-- 1 squeezeboxserver nogroup  23901184 Jun 25  2013 persist.db
    -rw-r--r-- 1 squeezeboxserver nogroup   1362944 Jan 14 16:16 PluginCache-CustomBrowse.2.db
    -rw-r--r-- 1 squeezeboxserver nogroup   1360896 Jun 25  2013 PluginCache-CustomBrowse.db
    -rw-r--r-- 1 squeezeboxserver nogroup     63488 Jun 25  2013 PluginCache-InformationScreen.db
    -rw-r--r-- 1 squeezeboxserver nogroup     12288 Apr 22  2013 PluginCache-LicenseManagerPlugin.db
    -rw-r--r-- 1 squeezeboxserver nogroup     63488 Jan 14 22:24 PluginCache-MultiLibrary.2.db
    -rw-r--r-- 1 squeezeboxserver nogroup     79872 Jun 25  2013 PluginCache-MultiLibrary.db
    -rw-r--r-- 1 squeezeboxserver nogroup    261120 Jan 14 16:16 PluginCache-SQLPlayList.2.db
    -rw-r--r-- 1 squeezeboxserver nogroup    263168 Jun 25  2013 PluginCache-SQLPlayList.db
    -rw-r--r-- 1 squeezeboxserver nogroup     33694 Dec  7 18:33 plugin-data.2.yaml
    -rw-r--r-- 1 squeezeboxserver nogroup     36051 Jun 25  2013 plugin-data.yaml
    -rw-r--r-- 1 root             root        11997 Dec 17 14:04 smb.conf
    -rw-r--r-- 1 squeezeboxserver nogroup    100891 Jan 14 17:39 stringcache.2.x86_64-linux.bin
    -rw-r--r-- 1 squeezeboxserver nogroup    211303 Jun 25  2013 stringcache.x86_64-linux.bin
    drwxr-xr-x 3 root             root         4096 Oct 19 22:51 YUMI
    david@MainSqueeze:~$
    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 3 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
  •