This tag is for questions about hard disk space usage.

learn more… | top users | synonyms (2)

0
votes
0answers
9 views

RHEL 7 Install - Main partition taking up entire allotted space + other problems

I hope this is the proper place to ask RHEL questions, I have already asked on the RHEL discussions area and have not gotten any replies after a week of posting. I am having a few problems in setting ...
0
votes
0answers
50 views

“No space left on device” when trying to copy small folder to an external drive with alot of free space

I have an Hitachi XL1000 1TB external drive. It shows around 300GB of free space, either via the file explorer properties or via df command. But I get an "Error creating directory: No space left on ...
1
vote
1answer
15 views

Why does baobab estimate my usage as less than half compared to du or pan_quota? [duplicate]

On a panfs filesystem: pan_quota says I'm using 8.67 GB. du -hcsx says I'm using 8.1 GB. baobab says I'm using 3.3 GB. This is for my home directory, with a 8 GB soft and 10 GB hard quota. What ...
2
votes
2answers
26 views

what occupy space at overlayfs

I have a linux with a read only root filesystem and a read-write overlayfs mounted over it: # mount overlayfs on / type overlayfs (rw,relatime,lowerdir=/root_ro/,upperdir=/root_rw/) ... The ...
2
votes
2answers
42 views

Why does df show negative available space?

Filesystem Size Used Avail Capacity Mounted on /dev/ada0p2 1G 624M 302M 67% / devfs 1.0k 1.0k 0B 100% /dev /dev/ada0p4 503M 20k 463M 0% ...
0
votes
2answers
58 views

Disk busy 101% all the time

I have an OpenNMS Linux server which is having poor disk performance. The machine is a EC2 inside a VPC. atop shows: iotop shows: How do I reduce the IO numbers and bring down the disk ...
3
votes
1answer
26 views

reserve disk space before copying files

I would like to reserve (or is the keyword "claim"?) some amount of disk space before an rsync occurs so other programs will believe a disk has less space (because after the rsync, the disk will have ...
2
votes
1answer
36 views

Setting a disk space quota on a samba share residing on an ZFS pool

I have several samba shares, one of which is used for storing some backups. I want to set a disk space quota on said share, as the ZFS volume the share resides on is huge and multi-purpose... I don't ...
3
votes
1answer
47 views

Ignore unmounted file systems

I've got two devices on my LAN: a Raspbian jessie and an Ubuntu 14.04. The latter has some nfs shared folders, which are available from Raspbian at startup, set up in its /etc/fstab file as: ...
2
votes
0answers
25 views

ZFS groupused value not current

On my Solaris 11 box I have a zfs pool (z) that uses 100G group quotas on each user in /org/users folder. One user had reached their quota and cleaned up their data. The df output, that had previously ...
0
votes
1answer
40 views

How to move empty disc space between partitions

I want to move an empty disc space from one partition to another. Is this possible? In the below image, I have free space under /local (/dev/sda3). I want to allocate this space to / which is on ...
0
votes
1answer
25 views

I need to activate quotas on my centOS 7 machine

Okay. I'm very new at this so it might be an easy one for many of you. I have a virtual machine installed with centOS 7. I want to activate quotas for a specific user using the / partition. How can I ...
-1
votes
1answer
17 views

du access failures

I ran du on a particular machine and two instances of failure: Since I ran as superuser I do understand how I can get denied. Second problem was with the proc tree: I kind of get the gist of why ...
0
votes
0answers
30 views

Disk usage for a mounted drive shows up completely between the host and a container

When comparing the disk usage for a mounted harddrive the usage is completely different when compared between the host and the container. I am running Ubuntu 14.04 on the host and in the lxc ...
0
votes
1answer
22 views

Problems with crontab du to curl

I am trying to send the output of a treesize command to my webserver for further processing. This is not going well, I guess mainly because I am very new to Linux/Debian7 :). Hope you can help me. ...
1
vote
2answers
87 views

Does LVM eats my disk space or does df lie?

Please look at the output below: bob ~ # df -h Filesystem Size Used Avail Use% Mounted on udev 5,7G 4,0K 5,7G 1% /dev tmpfs 1,2G 1,5M ...
1
vote
2answers
37 views

How to detect which process filled up disk space

During weekend my Debian based proxy crashed due to insufficient free space. After reboot it was fine again, so on monday I went hunting for logs and/or explanations for saturday hang but I couldn't ...
0
votes
0answers
45 views

mysterious out-of-space message from rsync

I am mystified by the out-of-space message from rsync - I have enough freespace on the destination to hold everything, and I blv enough also on --vg-root as well. This doesn't seem to be the same ...
3
votes
2answers
39 views

where could my disk space be if it is not sparse, deleted or hidden by a mount point

I appear to have lost a couple of GB in an ext4 root filesystem (under llvm on centos 7.1 in a VMWare ESX VM if that matters). [someone@somewhere ~]$ sudo du -xsm / 4561 / yet: ...
4
votes
2answers
122 views

show only physical disks when using df and mount

When I use df or mount, I'm most of all interested in physical disk partitions. Nowadays the output of those commands is overwhelmed by temporary and virtual filesystems, cgroups and other things I am ...
0
votes
0answers
63 views

How to use df -h for only for path I am currently using for copy files and put the output to variable?

I am looking for a way to check the disk space only for partition which I am using to backup some folders and files to. As an example: I am in folder /var/usr/local/foo and I need to copy this ...
0
votes
0answers
37 views

History of folder size

Is there any way in Linux to track the changes of a specific folder's size over time? i.e let's say we created a folder PHOTO one year ago. Is there any way to see how the folder size changed over ...
0
votes
1answer
32 views

%100 space on ubuntu/media [closed]

ubuntu@ubuntu:~$ df -k Filesystem 1K-blocks Used Available Use% Mounted on udev 1969072 4 1969068 1% /dev tmpfs 396184 1408 394776 1% /run /dev/sdb1 ...
0
votes
1answer
21 views

How to install dfc package in Debian Jessie

The nice disk-usage tool dfc does not exist in Debian jessie, although it does in wheezy and stretch. How do I install it in Debian 8?
0
votes
0answers
26 views

difference between output of df and blkid

When I run blkid I get /dev/vda1 ...etc /dev/vda2 ...etc However, when I run df -h I do not see the second drive. I only see /dev/vda1 ...etc /devtmpfs ...etc Is this because df only ...
0
votes
1answer
446 views

Fedora 23 — Can I safely delete files in /var/cache/PackageKit/metadata/updates/packages?

I noticed that the folder referenced in the subject line is taking up 1.5 GB. Can I run the below to clear it without causing permanent damage to my system? rm -rf ...
1
vote
1answer
39 views

Interpreting results of commands

I am having a hard time interpreting the results of the below commands. The more I read about them the more I'm convinced that what I am seeing is somehow not what it's supposed to be. The results ...
2
votes
0answers
24 views

Space efficiency of Btrfs reflinks vs hardlinks

A webpage referenced by the Wikipedia article on Btrfs claims that (emphasis mine) [Btrfs] reflinks have the same use as hardlinks, but are more space efficient. I thought that the opposite was ...
0
votes
1answer
47 views

how do I make sda1 or sdb1 bigger

I'm working with Google Cloud services. After I've cloned a VM, I type lsblk after ssh'ing into it and can see that the partition sda1 is only 10 GB, which is only 10% of what I paid for. I am not a ...
1
vote
1answer
55 views

Get the real, apparent size of a folder

I am using the du command in order to get the size of the folder. As I am interested in the actual size I ended up with the following command: du –sh --apparent-size <someFolder>/ In this ...
2
votes
3answers
42 views

How to automatically handle low disk space?

Currently one of our prototypes has a very bad caching system. In a matter of minutes it fills up it's harddrive and makes the system unusable. What I need to do then is to restart mysql service to ...
1
vote
4answers
121 views

What command would I use to find out how much total space my hard drive has left?

What's a single command I can run that shows me the total amount of space free on a hard drive? I don't want to do any math, I just want a command that shows me the total free space on my hard drive.
1
vote
2answers
225 views

DF output inconsistency

I moved about 12G files from Linux / partition (to a NFS directory), however it seems that the available size hasn't increased. Here is df result: Filesystem 1K-blocks Used ...
0
votes
1answer
51 views

Disk space full not changing after mount folder on other disk

I have a Virtual Machine setup on azure. I see basic disk was getting full so I attached disk to it and mounted /home/user/mydata folder to the new disk. I forgot to add configuration in fstab. My ...
0
votes
2answers
73 views

No space on the boot disk to update kernel

I have installed centos 7 on vmware and seem to have ran out of space on the boot drive. Is there a way to add more space without formatting the disk? [root@centos7 /]# df -h /dev/sda1 Filesystem ...
0
votes
1answer
36 views

Where is the space from LVM partitions?

Additionally, output from my df -h command and fdisk -l command. Where and how could I utilize space from my /dev/sda4 and /dev/sda5 partitions? I suspect /dev/mapper/fedora-root to be my LVM ...
1
vote
2answers
44 views

how can I take only file name and size from the du -sh command result

Here is my result: These are my postgresql backup files: But I want to keep only the size and filenames for log file. I dont wanna display directory path. Is there a simple solution? This is my ...
1
vote
1answer
87 views

How to get Proper Out for df -k command

I am facing one issue when using df -k command. I need the result to be in proper format so that I can use it for another purpose. System 1 - I have used this command ( df -k | tr -s " " ) Output 1 ...
0
votes
1answer
15 views

Manipulate du's output to get a custom printout [duplicate]

I typically run the command below to check size on each directory. du -sBM /* | sort -nr | head -n20 However, specifying a block size of "M" here will give everything a value in "M". The problem ...
1
vote
1answer
19 views

How can I find only the catalogs and sort them by size

How can I find only the catalogs and sort them by the size (human-readable). I tried with find -type d | xargs du -h | sort -rn But something goes wrong. And all the time its sorted by the ...
1
vote
1answer
79 views

No space left to free up on rootfs partition to upgrade kernel

I want to upgrade Linux kernel from 3.16 to 4.3. Unfortunately when I run aptitude install linux-image-4.3.0-1-amd64 installation fails due to no space on rootfs partition. 117MB left, 174MB needed. ...
0
votes
1answer
113 views

df reports 100% full filesystem, du shows only 25% used even though there's no unlinked file [duplicate]

I have strange issue, df shows rootfs is 100% full but du shows it's 25% used. So I check on the unlinked files from the rootfs using lsof +aL1 / and it does not show me any deleted/unlinked files ...
1
vote
0answers
63 views

Siemens NX 10 installation: Could not determine filesystem containing /usr/ugs100

I debug script to install Siemens NX 10 applications for Debian 8.2, and get the warning: Could not determine filesystem containing /usr/ugs100 space calculations may be incorrect. The source ...
3
votes
0answers
69 views

tune2fs - how much space to reserve on large ext4 filesystem

I am aware that there are several questions concerning how much space to reserve on a filesystem using tune2fs -m, but some of the advice is contradictory, some seems to be relevant only to the ...
1
vote
1answer
86 views

How to print the total available space percentage on a specific file system in both linux and solaris?

I've searched for an answer to this question and I found that this command: df /dev/sda1 | awk {print '{(100 -$5 )}' | tail -1 | sed '/s/$/%/g' does the job pretty well on my linux system but I ...
1
vote
2answers
56 views

How to ONLY print the number that is being produced from du -sh /home?

I am new at unix systems and I wanted to know how to ONLY print the number that is being produced from: du -sh /home because if I execute that command it will print: 44M /home I only want the 44M ...
1
vote
2answers
52 views

Weird disk usage on Enterprise Linux

I'm little bit worried about this (note the 99% used space in the root): $ df -h File System Size Used Free Use% Mounted To /dev/mapper/scientific-root 50G 50G 735M ...
0
votes
2answers
39 views

Unix equivalent of `du -sb` to get summarized size in bytes

On Linux using GNU du to calculate the size of directory recursively in bytes I can run: du -sb /etc What is equivalent syntax for BSD du based on the fact that -b parameter is not available?
2
votes
3answers
45 views

Is it possible to keep files on a disk partition without an OS?

I want to switch from Linux Mint to Musix. I want to backup my files and copy them after installation, but I was unable to do this because my only external medium for storage is an 8 Gb USB stick. ...
1
vote
2answers
85 views

`du -b` shows different size than `ls`

I have a directory with a few hundred files (real files, no symlinks, no subdirectories). When I use ls -la and sum up the sizes in Excel I get 287190 bytes(?). When I use du -b or du ...