Questions tagged [disk-usage]

Hard disk space usage: how much space do my files take?

1
vote
0answers
21 views

Centos mysterious disk space use df vs du [duplicate]

My root disk is showing 100% filled space, but checking space used via du it is far less. I tried to zero "deleted" files but still the space is not recovered. It is an xfs file system, but since it ...
0
votes
0answers
13 views

Command storcli/df hung in ESXi shell [on hold]

Getting some storage performance event from one ESXi,messages as below, would like to collect Log of RAID controller,however it hung when run command "df" or "storcli show" "esxcli storage ...
-2
votes
2answers
39 views

Command du -xh / | grep -P “G\t” explained?

Interested in switch -P what does it do? And "G\t" pattern explanation? Please do not explain du -xh or basics of command grep. du -xh / | grep -P "G\t" 5.1G /var/oracle/XE/datafile 5.1G /var/...
-2
votes
0answers
21 views

Directory's Data Usage in Ubuntu [closed]

Directory's disk usage list For indicated directory print a list of files and subdirectories in descending order according to their total disk usage. Disk usage of a simple file is equivalent to its ...
1
vote
2answers
70 views

Low disk space on “Filesystem root” 0 bytes disk remaining

I am struggling against disk space, regarding root location. Seems like I have reach 100% usage, and cannot find a way to regain space. I have used apg-get autoremove, apt-get clean, removed old ...
1
vote
2answers
37 views

My /usr directory is 100% full. Unable to download packages

What kinds of files are okay to delete in /usr directory without blowing up the server?? Is it possible to increase the size of /usr directory without blowing up server?
1
vote
1answer
26 views

Initiate rsync only if destination has enough space

Is there any option in rsync to check whether having enough space in the destination before starting to sync data? I checked the man page, but couldn't find anything related.
-2
votes
1answer
44 views

Missing space on partition

Few days back I started running into Disk Usage problems so I allocated more space on my partition (80 GB). However, I don't think it worked. If I run diskutil list I get this ("Unix" is the ...
0
votes
1answer
29 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: ...
0
votes
0answers
25 views

Partition size mismatch using df and lsblk comands

On one of our systems, Additional SSD device mounted is showing size of 5.8 TB, but same partition showing size of only 59 GB using df command- [opc@kms10]$ df -Th /data1 Filesystem Type ...
-6
votes
1answer
53 views

Script to check folder size reaches 50 GB in Linux file system and send mail to users [closed]

I am maintaining lot of data for devTeam in my firm, I want shell script to check the file system /data5 contains below folders, if any folder crosses 50 GB i would get alert mail, Below folders ...
0
votes
0answers
20 views

Disk space full after Timeshift

OS: Manjaro Linux x86_64 DE: GNOME / : Samsung SSD 850 evo 120GB I recently restored my OS using a Timeshift backup. After completion, my disk got full with only 4GB of free space. Before the ...
6
votes
4answers
449 views

How to Pin Point Large File eating space in Fedora 18

I can't determine exactly what file is eating up my disk. Firstly I used df command to list my directories: devtmpfs 16438304 0 16438304 0% /dev tmpfs ...
1
vote
1answer
27 views

Locate Large Files - Discrepancy between Parent Folder and Child Folder

System: Red Hat Enterprise Linux Server release 7.6 (Maipo), 3.10.0-957.12.1.el7.x86_64 GOAL: Find files that are large in size to see how they can be remediated. Note: Folders with "application" in ...
0
votes
0answers
128 views

How can I solve “OSError: [Errno 122] Disk quota exceeded”?

I run a python3 script and the program will output several JSON files with about 114.17 MB each. But after generating about 60 files, I get the error message: Traceback (most recent call last): ...
0
votes
0answers
37 views

Strange disk usage on Debian 9 [duplicate]

I've found strange disk usage behavior on my server. I have 2 disk /dev/vda1 mount to / and /dev/vdb1 mount to /data All application activity mostly will store file on /data. But I've found that / ...
2
votes
1answer
62 views

Difference between writing file from /dev/zero and truncate

$ timeout 1 cat /dev/zero > file1 $ wc -c file1 270422016 file1 $ du file1 264084 file1 Questions : (1) How do 270422016 null characters come out to be 264084 bytes (i.e 258M). $ truncate -s ...
0
votes
1answer
37 views

What is the command to display disk usage of current directory?

Which command in Unix is used to display the disk usage of current directory?
0
votes
2answers
55 views

df command not showing free disk space

I'm trying to find the full disk space of my whole disk. I used the df command and typed df -h and I saw my disk which is called sda however df only shows me the first partition for my sda disk which ...
0
votes
1answer
37 views

Creating intermediate object files to another directory with Makefile

Due to an error made when partitioning the system disk of my OpenBSD box, I'm running out of space on /usr now. openbsd$ df Filesystem 512-blocks Used Avail Capacity Mounted on /dev/sd0a ...
3
votes
4answers
58 views

Dual booting on SSD and HDD

I have an old laptop which I use on college. An i3, 8GB, 1TB HDD (5400rpm) and a 120GB SSD. I have a Windows 2016 running on the SSD, which uses about 90GB of that drive (OS plus other software). ...
0
votes
1answer
15 views

Unable to login for graphical session on Mint + Not available space on filesystem

I've been trying to start a graphical session with all users on my system but I've been always reverted to the login screen. After initiating a terminal with (Ctrl+Alt+F1) from there, I've been able ...
0
votes
0answers
26 views

rsync du puzzle [duplicate]

This rsync command completed successfully. rsync --recursive --archive --progress --update /a/b/c/ e@f.g.h.i:/j/k/l Yet I'm puzzled by output of these du commands: on the origin server: cd /a/b/c/; ...
0
votes
1answer
41 views

du not respecting its own flag?

Despite the following help directive: root@Andromeda:/# du --help | grep -- -x -x, --one-file-system skip directories on different file systems The following inquiry proceeds with inspecting e....
0
votes
1answer
43 views

Output of df contradicts output of du?

When I run the df -h command while SSH'd into my SUSE Linux box I get the following output: /dev/sdt1, with a capacity of 512G, is mounted on /usr/sap However, if I cd to usr/sap/<HANA server ID&...
1
vote
1answer
87 views

How to get du -ksh working without a carriage return in shell-scripting?

Working on a script to fit a specific format. I need the results of the command to be echoed between pipes | X |. When I try to use du -ksh it always brings a carriage return. Any idea how to deal ...
1
vote
2answers
70 views

du -sh * , hide directories with 0 usage

Here's what my current output looks like. 475M directorya 0 directoryb 0 directoryc 520M directoryd 42G somefolder Here is what I am trying to do. How do I hide the ...
-1
votes
1answer
35 views

Fastest way to calculate Disk usage for Larger directories in GB's

I have directories which are in GB's in linux file system. I want disk usage the fastest way to get the directories list. how much disk space is consuming for each directory. I used du in background ...
1
vote
1answer
44 views

Cannot do anything on Elementary OS due to disk being full

My disk became full without me noticing it so I was unable to react. Now when I come to the login screen it loops and I assume this is due to the disk being full. Pressing ctrl + alt + f1 gets me ...
2
votes
0answers
34 views

How a 95% full /home partition slows down processes?

I experienced a slowdown of some processes on my CentOS box. They did not use too much cpu cycles according to top. The only thing I have seen unusual was that my /home partition was 95% full. Could ...
2
votes
1answer
62 views

How to find space taken by a folder on disk?

I have a folder /opt/XYZ. To calculate space taken by it I use a mixture of ls -lR and awk to add space taken. It is a cumbersome way of finding disk space. I was hoping for a simpler way of finding ...
0
votes
2answers
40 views

Find out which users are hogging the most disk space on our data server

We are supposed to store our ongoing projects on a rather small (~4TB) data server. Not surprisingly, it is constantly overflowing and people need to move off less recent files manually. Is there an ...
0
votes
0answers
86 views

df - size doesn't equal used+available

I have such line when running df: /dev/sda4 47G 45G 0 / I have all those error messages that there is no space left on the device. I rebooted system and nothing changed. I ...
3
votes
2answers
752 views

Can not upgrade Kali,not enough space in /var/cache/apt/archives

I installed Kali Linux on VM VirtualBox(my host is Ubuntu 18.04). I am newbee to Kali,but the two linked questions are not related to my problem. When I try to upgrade Kali apt upgrade 926 upgraded, ...
0
votes
0answers
53 views

Find file and directory size while ignoring symlink in sub-directories

I have a directory structure where there are multiple symlinks at random depths. For illustration purpose: /fs /fs/afile /fs/blink -> /usr/local/lib /fs/cdir/cfile /fs/cdir/cdir/cdir/clink -> ...
2
votes
0answers
44 views

Strange difference of disk size

I have a Google Cloud Instance: When i check the disk space with two different command it show: df -H Filesystem Size Used Avail Use% Mounted on /dev/sda2 11G 3.1G 7.5G 30% / ...
1
vote
2answers
38 views

Printing the column names using the output of “df -h” (macOS)

I am trying to: Print the output of the command "df -h" (in macOS),but only with /dev/disk* as ouptut. I used the following command: df -h|awk -F"\t" '/\/[d-v]{3}\/[a-z]{4}[0-9]{1}[s-t]{1}[0-9]{1}/{...
0
votes
1answer
43 views

Can the phone storage device of an android phone be shown when connected to Lubuntu?

My Android phone has 1GB Phone space, and 2GB MicroSD card. When I connect the phone to my computer (Ubuntu) via a USB cable, only the 2GB MicroSD card is shown in sudo parted -l and df -l commands. ...
0
votes
1answer
22 views

searching/showing size of files

is there an easy way to look through a directory and say, for every file that starts with a-z, print the total size of those files? for example for i in {97..122}; du (something); done i.e output>>...
0
votes
1answer
83 views

Why some of my LVM filesystems use /dev/dm paths instead of /dev/mapper/ paths in df output?

All my filesystems are hosted by LVM logical volumes : $ lsblk -l | grep lvm vids_VG-iso (dm-11) 252:11 0 32G 0 lvm vids_VG-vids (dm-12) 252:12 0 586,6G 0 lvm vids_VG-vids ...
5
votes
3answers
513 views

sum all numbers from “du”

We want to calculate the first numbers that we get from du du -b /tmp/* 6 /tmp/216c6f99-6671-4865-b8bc-7205f5388752_resources 668669 /tmp/hadoop7887078727316788325.tmp 6 /tmp/hadoop-hdfs ...
0
votes
0answers
25 views

Unable to find disk space usage [duplicate]

These are the 10 heaviest directories on the system, ubuntu@ip-172-31-25-207:/$ sudo du -hs * | sort -nr | head -n10 360M lib 172M opt 172M boot 172K tmp 41M run 29G var 28M home 16M bin ...
0
votes
1answer
93 views

What is the purpose of `.Trash-1000` in my external hard drive and how can I clean it up?

I have a Western Digital external hard drive with one partition and a NTFS filesystem. In Lubuntu, under its top directory: $ sudo du -d 0 -h * | sort -h 0 temp 7.5K $RECYCLE.BIN 25K System ...
3
votes
2answers
1k views

Ubuntu: bash: cannot create temp file for here-document: No space left on device [duplicate]

I receive the error No space left on device from bash upon filename tab completion. As I try to spot what has eaten up my space, as suggested on similar question, I'm confused by df -ah results. My ...
-1
votes
1answer
138 views

Why do gparted and df -h report different size, used, and avail sizes of a partition? [closed]

$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 260G 16G 231G 7% / /dev/sda4 550G 323G 200G 62% /home gparted shows: Why are the size and used and avail sizes ...
0
votes
0answers
79 views

CentOS 6.6 - Another df vs du issue

I know this has been discussed many times, but I couldn't find my solution anywhere. I have a CentOS 6.6 system that has the root filesystem with 28GB used when I use df command. However, du shows me ...
1
vote
1answer
116 views

What is taking up my disk space? [duplicate]

root@ubuntu:/home/user8# df -h Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 218M 3.0G 7% ...
-1
votes
1answer
92 views

Fedora: Low disk on Filesystem root

I'm running a Fedora Workstation VM on Oracle VirtualBox. After using the VM for about a month now, I get a "Low disk on filesystem root" popup when I login. The Disk Usage Analyzer shows this: I ran ...
0
votes
3answers
80 views

How to find the first X gb of data?

I've been trying to find a way to free up some space on a drive by moving folders to another. I have a folder full of stuff I can move, doesn't need to be all of it, to free up some space. In Windows ...
0
votes
0answers
91 views

How do I find what's hogging my storage space?

I have a problem on my server. The disk is full but I can not find which directory is the responsible: /dev/sda1 97G 91G 1.9G 98% / udev 3.9G 4.0K 3.9G 1% /dev tmpfs ...