Skip to main content

All Questions

Tagged with
1 vote
1 answer
56 views

MySQL general_log.CSV is 47GB in Production – How to Free Space?

I’m managing a production MySQL server running on a VM, and I just discovered that the general_log.CSV file in /var/lib/mysql/mysql/ has grown to 47GB, consuming almost 70% of the disk space. Here’s ...
Zakaria Ait Yakoub's user avatar
0 votes
0 answers
20 views

`du` reports wildly different sizes for the same folder depending on arguments [duplicate]

While working on a Seafile server migration, I noticed my rsync of the data took quite a bit longer than I calculated it should. I ended up noticing that some of the directories were already bigger on ...
kRYOoX's user avatar
  • 113
1 vote
0 answers
371 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. The version is Ubuntu 22.04 LTS. The system continuously indicates that the logical volume /dev/mapper/ubuntu--vg-ubuntu--lv is full (used 100%...
Changetzu's user avatar
0 votes
1 answer
79 views

Rsync backup is almost twice as big as source

I'm using rsync to back up my home directory: time rsync -iia --append-verify --progress --exclude cloudDrive/ /home /usr/local/share/applications /etc/yum.repos.d /home/user/cloudDrive/Backups/"...
bit's user avatar
  • 1,166
0 votes
1 answer
48 views

du fails to show size of home directory

du -sh $HOME gets stuck when running. This is the last few lines of output: du: cannot access '/home/user/.local/share/waydroid/data/media/0/DCIM/Camera': Permission denied du: cannot access '/home/...
bit's user avatar
  • 1,166
0 votes
1 answer
91 views

How to check how much space is free in the current working directory?

How to check how much space is free in the current working directory on a Linux system? I have a filesize file which contains 1073741824 which is the amount of disk space in bytes that is needed. I ...
user447274's user avatar
2 votes
1 answer
146 views

No space left on device when building Docker image

I am trying to build a Docker image, but got an error like: make: *** [slave.mk:1119: target/docker-lldp.gz] Error 1 mkdir: cannot create directory './target/versions/build/log-20240530215300': No ...
laogao's user avatar
  • 31
0 votes
1 answer
40 views

Find ever growing file(s) held by open process filling disk to 100%

I have linux server which has started filling up the root disk to 100% in the last few days. df -h shows 100% and any file write attempts fail stating disk is full. du -sh of the drives contents show ...
user avatar
1 vote
1 answer
24k views

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 ...
mYnDstrEAm's user avatar
  • 4,588
-1 votes
1 answer
45 views

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 ...
palmasd1's user avatar
  • 127
0 votes
1 answer
121 views

Partition size differ in fdisk and df by 240 GB. why?

I have a 4 TB Seagate Drive. Apart from 22 GiB of other partitions, there rest is for sda1. The Problem? I miss about 240 GiB of sda1! I can't see where it is. whole sda1 partition has a filesystem in ...
Euphoria's user avatar
0 votes
1 answer
2k views

Working out if inodes are responsible for low disk space

I am running out of disk space on my CENTOS 7.9 server. When I type the command sudo df -h / Filesystem Size Used Avail Use% Mounted on /dev/md2 436G 405G 9.0G 98% / When I type the ...
stackQA's user avatar
  • 103
-1 votes
1 answer
70 views

Why are there missing commands on some manpages? [closed]

Early on in my Linux journey, I found some manpages to be lacking. One example is that on Fedora 37, I forgot the command to display the total filesize of all files in a directory. I knew it involved ...
the_endian's user avatar
3 votes
1 answer
367 views

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 ...
Ethan Gamble's user avatar
2 votes
0 answers
722 views

LVM Device-mapper (dm-2) 100% busy

We have set up LVM stripping across 06 disk in our DB server for improving IOPS performance. However during heavy load, it has been observed that device-mapper dm-2 asscociated with these 6 disks is ...
curious's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
15