Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #212225

Re: where is my disk space

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: where is my disk space
Date 2019-08-04 11:30 +0200
Message-ID <yrkZX-5PP-3@gated-at.bofh.it> (permalink)
References <yrkdA-5je-3@gated-at.bofh.it> <yrkdA-5je-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, Aug 04, 2019 at 08:32:00AM +0000, Long Wind wrote:
> i have stretch at sda2, which has 9.8Gfree space is far more than 1 Gbut some program i'm unware of take all space
> how to find out and solve? Thanks!

Your request is too general for a meaningful answer.

First off, space on a file system is taken up by "files". If you want
to find out where the space is missing, "du" is a good command.

Files live on file systems, so "sda2" (the device) is pretty meaningless
in this context [1]. Let's assume /dev/sda2 is mounted on / -- then

  sudo du -sh /*

will give you, directory for directory, where the space goes (the option
"-s" says "summary", the option "-h" is for "human readable" (i.e. it
would say "1.2G" instead of "1201345", for example).

Then you can work your way down. May be you find a file you "know" and
decide you can remove it. Maybe you aren't sure -- then the next step
would be to find out which program is generating those files.

There are many details I left off, but you'd have to be more specific
if you want more specific help.

Cheers

[1] Blame stupid desktop environments for leading users to mix up
   all that stuff.

-- tomás

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

where is my disk space Long Wind <longwind2@yahoo.com> - 2019-08-04 10:40 +0200
  Re: where is my disk space <tomas@tuxteam.de> - 2019-08-04 11:30 +0200
    Re: where is my disk space Long Wind <longwind2@yahoo.com> - 2019-08-04 11:40 +0200
      Re: where is my disk space Étienne Mollier <etienne.mollier@mailoo.org> - 2019-08-04 11:50 +0200
        Re: where is my disk space Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-04 12:00 +0200
          Re: where is my disk space Étienne Mollier <etienne.mollier@mailoo.org> - 2019-08-04 12:30 +0200
      Re: where is my disk space "Thomas Schmitt" <scdbackup@gmx.net> - 2019-08-04 12:00 +0200
      Re: where is my disk space <tomas@tuxteam.de> - 2019-08-04 12:30 +0200
        Re: where is my disk space Long Wind <longwind2@yahoo.com> - 2019-08-04 12:50 +0200
          Re: where is my disk space Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-08-04 13:10 +0200
            Re: where is my disk space David Wright <deblis@lionunicorn.co.uk> - 2019-08-04 17:40 +0200
              Re: where is my disk space Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-08-04 23:40 +0200
              Re: where is my disk space David Wright <deblis@lionunicorn.co.uk> - 2019-08-05 06:10 +0200
                Re: where is my disk space Long Wind <longwind2@yahoo.com> - 2019-08-05 06:20 +0200
                Re: where is my disk space davidson <davidson@freevolt.org> - 2019-08-05 18:10 +0200
                Re: where is my disk space Curt <curty@free.fr> - 2019-08-05 18:40 +0200
                Re: where is my disk space David Wright <deblis@lionunicorn.co.uk> - 2019-08-06 02:10 +0200
                Re: where is my disk space Long Wind <longwind2@yahoo.com> - 2019-08-12 10:00 +0200
                Re: where is my disk space David Wright <deblis@lionunicorn.co.uk> - 2019-08-12 16:50 +0200
                Re: where is my disk space Long Wind <longwind2@yahoo.com> - 2019-08-13 01:00 +0200
    Re: where is my disk space Étienne Mollier <etienne.mollier@mailoo.org> - 2019-08-04 11:40 +0200
  Re: where is my disk space Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-04 12:00 +0200

csiph-web