disk-usage

Why does df contain several tmpfs entries?

Why does df contain several tmpfs entries? I understand that df -a includes "pseudo, duplicate, and inaccessible file systems". This results in quite a few mounts being hidden such as: udev 8055632 0 8055632 0% /dev devpts 0 0 0 – /dev/pts … which don’t appear unless I pass the -a option. However, I’m interested …

Total answers: 2

How to clean up a Linux system to free up disk space?

How to clean up a Linux system to free up disk space? What are some generic ways to free up lots of storage space without deleting personal files? I’m doing a distro upgrade (Debian11->12) and it needs lots of disk space on the root partition / which doesn’t have a large size and I’d like …

Total answers: 1

Ubuntu 20.04 is telling me I have no space whilst I do have space

Ubuntu 20.04 is telling me I have no space whilst I do have space My laptop (Ubuntu 20.04) is giving me this popup telling me that I have no space left. I have looked everywhere and nothing seems to work. The only temporary fix i have is that if I reboot it works but it …

Total answers: 1

filesystem on disk without partition

filesystem on disk without partition One may help me with this, because its confusing me: I have a 1.8T Disk (it’s a VM virtual disk), here a snippet of df: df -TH Filesystem Type Size Used Avail Use% Mounted on /dev/sdb ext4 1.8T 1.6T 91G 95% /af Here the partition info: parted /dev/sdb print Model: …

Total answers: 3

Debian/Ubuntu Random Disk Expansion

Debian/Ubuntu Random Disk Expansion Running mysql 8.0.34 on debian 12 (BookWorm). I get this random issue where the disk looks like it is being steadily consumed, but when I step into the disk or search the disk there doesn’t seem to be anything that is eating space, it then resets back to normal disk after …

Total answers: 1

Disk space is not freed up when deleting files on a hard drive

Disk space is not freed up when deleting files on a hard drive After deleting files on a veracrypt-encrypted drive with no disk space left, no disk space is freed up. I’m trying to sync a hard drive to another one as described here. That target drive is full and I can’t free disk space …

Total answers: 3

Resize a LVM partition on linux disk of Azure

Resize a LVM partition on linux disk of Azure I have created a Vm in Azure with Oracle Linux 9. I have selected a 128G disk but when I see the size of the partitions I see that it was not fully used. [root@oraclelinux ~]$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 …

Total answers: 1

How to indicate that the shell was spawned by ncdu – NCurses Disk Usage?

How to indicate that the shell was spawned by ncdu – NCurses Disk Usage? I employ ncdu, the NCurses Disk Usage tool, in conjunction with zsh and p10k. Pressing ‘b’ triggers the spawning of a shell in the current directory. How can I present this information on-screen to ensure that I retain my previous mental …

Total answers: 1

Can't purge old kernels

Can't purge old kernels I have ubuntu 20.04. I have been having problems with the /boot folder running out of space. $ sudo apt list –installed | grep linux-image WARNING: apt does not have a stable CLI interface. Use with caution in scripts. linux-image-5.11.0-38-generic/focal-updates,focal-security,now 5.11.0-38.42~20.04.1 amd64 [installed] linux-image-5.11.0-40-generic/focal-updates,focal-security,now 5.11.0-40.44~20.04.2 amd64 [installed,automatic] linux-image-5.11.0-41-generic/focal-updates,focal-security,now 5.11.0-41.45~20.04.1 amd64 [installed,automatic] …

Total answers: 3

Problem changing owner and permissions on new external drive

Problem changing owner and permissions on new external drive I just installed a new 2TB external drive (Ubuntu 20.04), created one partition, and formatted it to ext4. I mounted it to /mnt/ssk2TB. Now the drive shows in my Nautilus file explorer, but when I use copy-paste to copy a file to the new drive, I …

Total answers: 1

How to anticipate the time before disk space would be close to exhaustion?

How to anticipate the time before disk space would be close to exhaustion? I have a task to make alerts if there’s free disk space for only 2 hours for dinamycally growing directory. Honestly I don’t know what’s the best way to it. I’m not sure if the space will grow linearly and there would …

Total answers: 1

Is there some universally recommended Reserved block count (for root) for large Ext4 drives?

Is there some universally recommended Reserved block count (for root) for large Ext4 drives? By the following question: Is there some universally recommended Reserved block count (for root) for large Ext4 drives? I specifically mean the following: Let us consider (almost) everyone has a rather large root drive (partition) nowadays. Let us consider for example …

Total answers: 1

System drive (1TB) 82% full? All "my" files are on separate HDD

System drive (1TB) 82% full? All "my" files are on separate HDD This is a desktop system, with a 1TB SSD for the OS Xubuntu 20.04.6, and several HDDs for all my files. So the OS shouldn’t be taking up that much space. But there’s the output of df: Filesystem 1K-blocks Used Available Use% Mounted …

Total answers: 3

How to get the size of a large directory?

How to get the size of a large directory? How can I get the size of a large directory with lot of small sub-directories on Linux? I just want the total size the parent directory. I tried du -s mydirectory/ but it is taking a long time to execute and I cannot keep the terminal …

Total answers: 4

Disk storage full

Disk storage full First of all, I am a complete beginner to Ubuntu. I was trying to follow along the Ubuntu dual boot installation section from Odin project. According to the guide, I allocated two partitions, the root partition to mount the systems files, and /Home partition to house apps & personal files. After installing …

Total answers: 1

How to move .julia folder to another partition in Ubuntu?

How to move .julia folder to another partition in Ubuntu? I use the Julia programming language on a Chromebook with only 32 GB internal storage. The .julia directory in the home folder consumes several gigabytes of space. This directory contains all the julia packages (similar to python libraries), and it is essential for Julia to …

Total answers: 1

Can't write to Live CD system

Can't write to Live CD system I am not new to Linux, but am new to creating my own virtual machine environment. I am using Linux to learn how to do penetration testing, and have been required to download lots of different software to do so. I added a virtual hard drive to my machine, …

Total answers: 1

df and where a folder is mounted

df and where a folder is mounted I have linux system. When I do df I get something like Filesystem 1k-blocks Used Available Use% Mounted on …. some data here /dev/mmcblk0pyy yyy yyy 0 100% / /dev/mmcblk0pxx xxxx xxx xxxx 98% /thefolder Now, when I do ls / I got a list of some folders …

Total answers: 1

22.04.2 server image is *three* times the size of 22.04.1: why?

22.04.2 server image is *three* times the size of 22.04.1: why? I’m sorry to have to say it, but the 22.04.2 server install has exploded. Unreasonably. What’s going on? I’ve been packaging Ubuntu-based VMs for several years, first on 20.04.x, then 22.04, 22.04.1, and now 22.04.2. These are based on the server downloads. The last …

Total answers: 1