Linked Questions
16 questions linked to/from du results on filesystem inconsistent with df
1
vote
3
answers
3k
views
100% disk usage for a file system [duplicate]
I see that df reports a 100% disk usage for a file system. How can I see which folder is eating the disk space?
[root@rocks7 mahmood]# df -h
Filesystem Size Used Avail Use% ...
140
votes
4
answers
17k
views
Why are there so many different ways to measure disk usage?
When I sum up the sizes of my files, I get one figure. If I run du, I get another figure. If I run du on all the files on my partition, it doesn't match what df claims is used. Why are there so many ...
27
votes
2
answers
5k
views
Purpose of cp -x (stay on file system)?
If I wanted to stay on the same file system, couldn't I just specify an output path for the same file system?
Or is it to prevent accidentally leaving the current file system?
24
votes
3
answers
24k
views
Disk usage on a specific filesystem
I need to find out what's contributing to the disk usage on a specific filesystem (/dev/sda2):
$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 96G 82G 9.9G ...
12
votes
2
answers
3k
views
What's using all the space on a seemingly empty partition?
OS: RHEL8
Filesystem: xfs
I'm guessing that some zombie process is holding the space, but I can't find it.
The problem is with /var/lib/pgsql/14, which df says is using 1.1TB of space:
$ sudo df -T -...
7
votes
2
answers
23k
views
How to determine what process is eating up all available disk space?
Suddenly all the available disk space on / has disappeared.
If I make room in the disk (by deleting ~50GB of stuff, for example), after a few minutes I am back to 0 available disk space (according to ...
0
votes
1
answer
2k
views
How do remove / inspect what uses so many disk space on my root partition? [duplicate]
I'm running out of space on my root partition. Currently, I'm using
uname -a
Linux thinkpad-nc 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) x86_64 GNU/Linux
Here is an output of df:
df ...
2
votes
1
answer
829
views
XFS mount at 100% full, how to pinpoint problem
running SLES 11.4 on a server, there are ~5 disks as Raid-5 via LSI megaraid, which provides 2.2 TB of usable space... when creating this it showed up as /dev/sdb and I created one parition as XFS, ...
0
votes
2
answers
681
views
The filesystem is already 65010688 (4k) blocks long
Please help me , when I try to increase the partition size in LVM, but when I try it doesn’t work,
I do the following:
df -h
Filesystem Size Used Avail Use% Mounted on
udev ...
1
vote
1
answer
1k
views
What's filling /dev/mapper/ubuntu--vg-ubuntu--lv if mounted on /, but total size shows only part of the used space?
I have an issue with a virtual machine running Nextcloud and the version is Ubuntu 22.04 LTS.
The system continuously indicates that the logical volume /dev/mapper/ubuntu--vg-ubuntu--lv is full (used ...
0
votes
1
answer
262
views
Phantom disk usage
Running Debian 12. According to df, I have only 22G remaining space on my main disk (nvme0n1p2); according to ncdu, I should have like 960G:
$ df -H
Filesystem Size Used Avail ...
1
vote
1
answer
162
views
How to know what consumes storage? [duplicate]
I have a Centos 7 VM and I want to know what consumes the 126G on the
/dev/mapper/centos-root fs. I have 2 mount points and I unmounted them to make sure there's nothing reserving space under them ...
0
votes
0
answers
160
views
Why do I have no disk space despite the fact my root directory only takes up a small amount?
I'm using Ubuntu Linux 16. I'm running out of disk space ...
[rails@server ~]$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 30G 29G 1.5G 96% /
but what I don't ...
1
vote
1
answer
131
views
What could be the source of drastically different disk usage reports between df, lsblk and baobab?
Disk Usage Analyzer (baobab) reports a size of 29.3 GB for the root partition, out of which 2.5 GB are available:
However, when selecting that device for
closer inspection, I am presented with only 7....
2
votes
1
answer
149
views
Moving from plain LUKS to LVM on LUKS
At installation I forgot to create a logical volume group in LUKS container. I won't reinstall the system. So how do I create LVG in LUKS container without data loss?
My plan is:
Install lvm2 package
...