Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 26 |
Nodes: | 6 (0 / 6) |
Uptime: | 59:22:17 |
Calls: | 633 |
Calls today: | 1 |
Files: | 1,188 |
D/L today: |
32 files (20,076K bytes) |
Messages: | 180,583 |
On a separate desk top pc which runs 2 extra programs, 1 a weather station and the other a cctv program.
Out of curiosity, I wanted to see how much free space I had left on a 250Gb ssd, so according to properties in the files app, I have 45Gb free space. So then I ran disc analiser and it give me these figures:
Kernel 479mb
Modules 23Gb
lib-a-a-a 28.5Gb
usr-a-a-a 39.6
CCTV-a-a-a 8.2kb
weather program 4.1kb
So the total usage there is approx 90Gb
And in the centre of disc analyser it says 60.2|Gb
My questions are why so little space left on my 250Gb ssd
And why the differences between what properties say is 45Gb free space and what is that 60.2Gb figure mean
On Sun, 10/5/2025 9:55 AM, RobH wrote:
On a separate desk top pc which runs 2 extra programs, 1 a weather station and the other a cctv program.
Out of curiosity, I wanted to see how much free space I had left on a 250Gb ssd, so according to properties in the files app, I have 45Gb free space. So then I ran disc analiser and it give me these figures:
Kernel 479mb
Modules 23Gb
lib-a-a-a 28.5Gb
usr-a-a-a 39.6
CCTV-a-a-a 8.2kb
weather program 4.1kb
So the total usage there is approx 90Gb
And in the centre of disc analyser it says 60.2|Gb
My questions are why so little space left on my 250Gb ssd
And why the differences between what properties say is 45Gb free space and what is that 60.2Gb figure mean
But you don't want a disk analyser. These programs can crawl slash for you. The "sudo" is so anything which only root can read, get analysed too.
sudo kdirstat / # Assuming we have a one disk system, and want to see the file distribution
sudo qdirstat / # Same thing, from a different ecosystem.
"QDirStat is based on that code, but made independent of any KDE libraries or infrastructure,
so it has much fewer library and package dependencies; basically only the Qt 5 libs and libz,
both of which most Linux / BSD machines have installed anyway if there is any graphical desktop installed."
The programs recursively descend a tree and total things up.
You can have a swapfile as in /swapfile or you can have a swap partition. When you run the "top" command, you can see if a swapon -a was done
at boot and the swap partition(s) are loaded.
*******
The utility "gnome-disks" shows you the layout of your disk drive,
so you don't miss anything. While you can study mounted things
(mounted with respect to /), if something wasn't mounted it could
take up space and miss your forensic advances.
The "df" or diskfree command, tells you of component mounts in the system, and for the partitions that are optional, can tell you whether they are mounted at the moment.
Most sessions, usually see me using gnome-disks, to see which
partitions are mounted. A mounted partition seen in gnome-disks,
has a "fill line" indicating how filled it is, and you can read the
legend in the lower pane for details. The button on the left, in the
controls under the partition box row, the triangle can mount or umount
a partition you have clicked.
Be careful with gnome-disks. It contains a couple of power user
features which can be destructive. There is a bandwidth test,
which threatens to do R/W testing instead of R only speed
tests of a drive. And there is a button for "deleting partitions",
which is a pretty dangerous button to have in an interface. Whether
it has "interlocks" or "are you sure?" things or not, a partition
delete is a danger. You will need to learn how the tool works,
thoroughly, to really enjoy it and not cause a catastrophe.
Summary: You have a space gobbling partition which is not mounted.
Use gnome-disks, and spot the partition where you "can't see
the fill", which means it is not mounted at the moment.
Paul
On 05/10/2025 17:17, Paul wrote:sudo apt install kdirstat
On Sun, 10/5/2025 9:55 AM, RobH wrote:
On a separate desk top pc which runs 2 extra programs, 1 a weather station and the other a cctv program.
Out of curiosity, I wanted to see how much free space I had left on a 250Gb ssd, so according to properties in the files app, I have 45Gb free space. So then I ran disc analiser and it give me these figures:
Kernel 479mb
Modules 23Gb
lib-a-a-a 28.5Gb
usr-a-a-a 39.6
CCTV-a-a-a 8.2kb
weather program 4.1kb
So the total usage there is approx 90Gb
And in the centre of disc analyser it says 60.2|Gb
My questions are why so little space left on my 250Gb ssd
And why the differences between what properties say is 45Gb free space and what is that 60.2Gb figure mean
But you don't want a disk analyser. These programs can crawl slash for you. >> The "sudo" is so anything which only root can read, get analysed too.
sudo kdirstat / # Assuming we have a one disk system, and want to see the file distribution
sudo qdirstat / # Same thing, from a different ecosystem.
"QDirStat is based on that code, but made independent of any KDE libraries or infrastructure,
so it has much fewer library and package dependencies; basically only the Qt 5 libs and libz,
both of which most Linux / BSD machines have installed anyway if there is any graphical desktop installed."
The programs recursively descend a tree and total things up.
You can have a swapfile as in /swapfile or you can have a swap partition.
When you run the "top" command, you can see if a swapon -a was done
at boot and the swap partition(s) are loaded.
*******
The utility "gnome-disks" shows you the layout of your disk drive,
so you don't miss anything. While you can study mounted things
(mounted with respect to /), if something wasn't mounted it could
take up space and miss your forensic advances.
The "df" or diskfree command, tells you of component mounts in the system, >> and for the partitions that are optional, can tell you whether they are
mounted at the moment.
Most sessions, usually see me using gnome-disks, to see which
partitions are mounted. A mounted partition seen in gnome-disks,
has a "fill line" indicating how filled it is, and you can read the
legend in the lower pane for details. The button on the left, in the
controls under the partition box row, the triangle can mount or umount
a partition you have clicked.
Be careful with gnome-disks. It contains a couple of power user
features which can be destructive. There is a bandwidth test,
which threatens to do R/W testing instead of R only speed
tests of a drive. And there is a button for "deleting partitions",
which is a pretty dangerous button to have in an interface. Whether
it has "interlocks" or "are you sure?" things or not, a partition
delete is a danger. You will need to learn how the tool works,
thoroughly, to really enjoy it and not cause a catastrophe.
Summary: You have a space gobbling partition which is not mounted.
Use gnome-disks, and spot the partition where you "can't see
the fill", which means it is not mounted at the moment.
Paul
Thanks for the reply.
Apologies, it is called Disc Usage Analyser in my Linux Mint system.
sudo: kdirstat: command not found
Now according to Gnome Discs, I have my 250Gb ssd which has 3
partitions: sda1, sda2 and sda3, and it is sda3 which is 76.9% full.
All partitions are mounted.
it is called Disc Usage Analyser in my Linux Mint system.
Disk Usage Analyzer is a graphical, menu-driven application to analyse
disk usage in a GNOME environment. It can easily scan either the whole filesystem tree, or a specific user-requested directory branch (local or remote).
RobH wrote:
it is called Disc Usage Analyser in my Linux Mint system.
That is a strange tool to make multicolor 'designs' as either a tree map
or a ring shaped 'analysis'.
I've never used it, but I 'don't like it'; don't see a use for it. Its webpage says that it is useful to see where space is wasted.
Its command is baobab (?!) and its package description says:
Disk Usage Analyzer is a graphical, menu-driven application to analyse
disk usage in a GNOME environment. It can easily scan either the whole
filesystem tree, or a specific user-requested directory branch (local or
remote).
https://wiki.gnome.org/Apps(2f)DiskUsageAnalyzer.html https://apps.gnome.org/Baobab/
On Sun, 10/5/2025 9:55 AM, RobH wrote:
On a separate desk top pc which runs 2 extra programs, 1 a weather station and the other a cctv program.
Out of curiosity, I wanted to see how much free space I had left on a 250Gb ssd, so according to properties in the files app, I have 45Gb free space. So then I ran disc analiser and it give me these figures:
Kernel 479mb
Modules 23Gb
lib-a-a-a 28.5Gb
usr-a-a-a 39.6
CCTV-a-a-a 8.2kb
weather program 4.1kb
So the total usage there is approx 90Gb
And in the centre of disc analyser it says 60.2|Gb
My questions are why so little space left on my 250Gb ssd
And why the differences between what properties say is 45Gb free space and what is that 60.2Gb figure mean
But you don't want a disk analyser. These programs can crawl slash for you. The "sudo" is so anything which only root can read, get analysed too.
sudo kdirstat / # Assuming we have a one disk system, and want to see the file distribution
sudo qdirstat / # Same thing, from a different ecosystem.
"QDirStat is based on that code, but made independent of any KDE libraries or infrastructure,
so it has much fewer library and package dependencies; basically only the Qt 5 libs and libz,
both of which most Linux / BSD machines have installed anyway if there is any graphical desktop installed."
The programs recursively descend a tree and total things up.
You can have a swapfile as in /swapfile or you can have a swap partition. When you run the "top" command, you can see if a swapon -a was done
at boot and the swap partition(s) are loaded.
*******
The utility "gnome-disks" shows you the layout of your disk drive,
so you don't miss anything. While you can study mounted things
(mounted with respect to /), if something wasn't mounted it could
take up space and miss your forensic advances.
The "df" or diskfree command, tells you of component mounts in the system, and for the partitions that are optional, can tell you whether they are mounted at the moment.
Most sessions, usually see me using gnome-disks, to see which
partitions are mounted. A mounted partition seen in gnome-disks,
has a "fill line" indicating how filled it is, and you can read the
legend in the lower pane for details. The button on the left, in the
controls under the partition box row, the triangle can mount or umount
a partition you have clicked.
Be careful with gnome-disks. It contains a couple of power user
features which can be destructive. There is a bandwidth test,
which threatens to do R/W testing instead of R only speed
tests of a drive. And there is a button for "deleting partitions",
which is a pretty dangerous button to have in an interface. Whether
it has "interlocks" or "are you sure?" things or not, a partition
delete is a danger. You will need to learn how the tool works,
thoroughly, to really enjoy it and not cause a catastrophe.
Summary: You have a space gobbling partition which is not mounted.
Use gnome-disks, and spot the partition where you "can't see
the fill", which means it is not mounted at the moment.
Paul
Running df -h shows sda3 on the 250GB disk, as using 175Gb
How can I find out why it is using so much space
On Sun, 5 Oct 2025 22:45:43 +0100, RobH wrote:
Running df -h shows sda3 on the 250GB disk, as using 175Gb
How can I find out why it is using so much space
Assuming it is mounted at /|e-2mount-point|e-+, then you can look at t> usage of the top-level directories on that volume with a command like
du -ks /|e-2mount-point|e-+/>
and then drill down from there. If you have other volumes mounted
under it, then they will confuse the issue. You can get around that
with a bind mount.
Good advice.
There's also the -S option to du, which totals up
usage in directories. So:
sudo du -Sx / > /tmp/d.sizes
Then:
sort -rn /tmp/d.sizes > /tmp/sorted.d.sizes
head /tmp/sorted.d.sizes
The "-x" in "du -Sx" means to stay on the same filesystem,
so if /home is separate, you'll need to repeat the process
there.
Running df -h shows sda3 on the 250GB disk, as using 175Gb
How can I find out why it is using so much space
Thanks
On 10/5/25 7:36 PM, vallor wrote:
Good advice.
There's also the -S option to du, which totals up
usage in directories. So:
sudo du -Sx / > /tmp/d.sizes
Then:
sort -rn /tmp/d.sizes > /tmp/sorted.d.sizes
head /tmp/sorted.d.sizes
The "-x" in "du -Sx" means to stay on the same filesystem,
so if /home is separate, you'll need to repeat the process
there.
Simplified without creating the file:
sudo du -Sx / | sort -rn | head -20
Thanks for the reply.
Apologies, it is called Disc Usage Analyser in my Linux Mint system.
sudo: kdirstat: command not found
Now according to Gnome Discs, I have my 250Gb ssd which has 3
partitions: sda1, sda2 and sda3, and it is sda3 which is 76.9% full.
All partitions are mounted.
On 5 Oct 2025 at 17:12:12, RobH <rob@despammer.com> wrote:
Thanks for the reply.
Apologies, it is called Disc Usage Analyser in my Linux Mint system.
sudo: kdirstat: command not found
Now according to Gnome Discs, I have my 250Gb ssd which has 3
partitions: sda1, sda2 and sda3, and it is sda3 which is 76.9% full.
All partitions are mounted.
Run
sudo apt autoremove
to clear out all the recent kernel updates.
On 10/5/25 7:36 PM, vallor wrote:
Good advice.
There's also the -S option to du, which totals up
usage in directories.-a So:
sudo du -Sx / > /tmp/d.sizes
Then:
sort -rn /tmp/d.sizes > /tmp/sorted.d.sizes
head /tmp/sorted.d.sizes
The "-x" in "du -Sx" means to stay on the same filesystem,
so if /home is separate, you'll need to repeat the process
there.
Simplified without creating the file:
-a-a-a-asudo du -Sx / | sort -rn | head -20
On 06/10/2025 01:11, Alan K. wrote:
On 10/5/25 7:36 PM, vallor wrote:Pardon me fore asking, but what do the 6 and 7 figure numbers mean on
Good advice.
There's also the -S option to du, which totals up
usage in directories.-a So:
sudo du -Sx / > /tmp/d.sizes
Then:
sort -rn /tmp/d.sizes > /tmp/sorted.d.sizes
head /tmp/sorted.d.sizes
The "-x" in "du -Sx" means to stay on the same filesystem,
so if /home is separate, you'll need to repeat the process
there.
Simplified without creating the file:
-a-a-a-asudo du -Sx / | sort -rn | head -20
the left hand side when it lists the folders etc.
On 2025-10-06, RobH wrote:
On 06/10/2025 01:11, Alan K. wrote:
On 10/5/25 7:36 PM, vallor wrote:Pardon me fore asking, but what do the 6 and 7 figure numbers mean
Good advice.
There's also the -S option to du, which totals up
usage in directories.-a So:
sudo du -Sx / > /tmp/d.sizes
Then:
sort -rn /tmp/d.sizes > /tmp/sorted.d.sizes
head /tmp/sorted.d.sizes
The "-x" in "du -Sx" means to stay on the same filesystem,
so if /home is separate, you'll need to repeat the process
there.
Simplified without creating the file:
-a-a-a-asudo du -Sx / | sort -rn | head -20
on the left hand side when it lists the folders etc.
It's the file-size. I *believe* it is in blocks on your drive; so the numbering will be dependent on your filesystem (e.g. here I have 4K
blocks, so a 13K file shows as "4"; but if you have 512B blocks, it
would be 26).
RobH wrote:
it is called Disc Usage Analyser in my Linux Mint system.
That is a strange tool to make multicolor 'designs' as either a tree map
or a ring shaped 'analysis'.
I've never used it, but I 'don't like it'; don't see a use for it. Its webpage says that it is useful to see where space is wasted.
Its command is baobab (?!) ...
On 05/10/2025 21:03, Mike Easter wrote:
RobH wrote:
it is called Disc Usage Analyser in my Linux Mint system.
That is a strange tool to make multicolor 'designs' as either a
tree map or a ring shaped 'analysis'.
I've never used it, but I 'don't like it'; don't see a use for it.
Its webpage says that it is useful to see where space is wasted.
Its command is baobab (?!) ...
I find it useful to clean out backups that I don't need (on a backup
disc).