This tag is for questions about hard disk space usage.

learn more… | top users | synonyms (2)

1
vote
4answers
130 views

Bash script to list items in directory by size

How do I write a script that for each argument, the script should display the largest item in the directory along with its size. Something like this: [user]$ maxls /boot 2> /dev/null | sort -n ...
2
votes
2answers
689 views

Debian 7.6 OpenVZ VPS claims full disk usage when it's clearly not true

I have Debian 7.6 installed on an OpenVZ VPS with 10G hard drive space, but for some reason it claims 100% is used when I'm clearly not using that much. I ran df -h to find out the following: $ df -h ...
1
vote
2answers
236 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 ...
1
vote
2answers
244 views

du -sh ./* returning non-empty folders as 0 bytes

This may end up being a dual part question so bear with me. In the past if I want to see the size of all folders within my current directory, I would use the following: du -sh ./* When I do this on ...
1
vote
2answers
65 views

Disk usage in stat output and inode

Below is my stat output: [alankoh@SJOAM swap]$ stat myswapfile File: `myswapfile' Size: 2147483648 Blocks: 4194312 IO Block: 4096 regular file Device: fd03h/64771d Inode: 1179650 ...
0
votes
2answers
119 views

No space left on device- on Amazon EC2 instance Ubuntu

I just expanded my storage space on Amazon EC2, after I ran out of volume. However, even after doing so, I receive an error message as follows: ubuntu@ip-172-31-30-27:~/walt/bin$ LC_ALL=C sort -k 1,...
0
votes
2answers
118 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 ...
4
votes
1answer
560 views

GNU/Linux, IO performance problems

I have some problems with my system performance. As I was adviced here, I used sar: $sar -u 5 and found out that the problems are caused by a low HDD performance, as I supposed (high %iowait). ...
2
votes
1answer
34 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 ...
1
vote
1answer
21 views

how to get /log fS usage in two remote servers

how to trigger mail with below format by getting df -h /log fS usage server1 | server 2 75% | 50% Below are step how i check FS usage manually login to putty ssh server1 give the ...
1
vote
1answer
44 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 ...
0
votes
1answer
98 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 /dev/...
0
votes
1answer
37 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 ...
0
votes
1answer
31 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. ...
0
votes
1answer
60 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
1answer
651 views

Mounted Filesystems showing wrong details

I am using SLES 11 SP3. When I run df -lh in order to see mounted filesystems I get following results, which are correct: Filesystem Size Used Avail Use% Mounted on /dev/sdb3 9.9G 2.9G ...
0
votes
1answer
138 views

Help Deciphering Disk Usage. Where Did the Space Go?

The System An instance running on Amazon EC2 It is an m1.large EC2 instance The instance is running Ubuntu Server 12.04 LTS Here's What Happens... To begin, let's execute the following: root@...
-1
votes
1answer
61 views

“df -h” unable to show the command output on a Linux System

I was trying to check the amount of hard drive by typing df -h Its showing me below status since long time. svn_manager@fileserver:~$ df -h ^C^C^C^C^C^C^C^C^C^Z^Z^Z^X^X^C^C^C^C^C^C^C^C I have ...
4
votes
0answers
84 views

Fixing terrible performance when watching/reading video and writing video files to disk

I have had this issue for quite some time and tried many times to fix it on my own and it always fails. IP schedulers, ionice and things like that always yield no result. I even went and bought an ...
3
votes
0answers
99 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 ...
3
votes
0answers
36 views

Can I determine the exclusive space usage of groups of btrfs subvolumes?

I want to free up some space in my btrfs filesystem by deleting some snapshots. But I cannot work out which ones would be effective to delete. This question's answer explains how to show the amount of ...
2
votes
0answers
54 views

CentOS 7: RAID 1 high I/O wait

I am running CentOS 7, with RAID 1 (md) on the hard drives. I have the partitions set as shown below. md0 -> root (sda1, sdb1) md2 -> swap (sda2, sdb2) md3 -> misc (sda3, sdb3) on md3, I ...
2
votes
0answers
38 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 ...
2
votes
0answers
90 views

df human-readable calculation

I was wonder why there is a difference between the reported size of a filesystem with df -h and calculating it manually. for example: The size according to LVM: # lvdisplay system/var | grep -i ...
1
vote
0answers
17 views

Migrate by disk usage

How to migrate home directories all of users which have disk usage greater than 1MB to mounted disk /home2. New directories can look like /home2/login. I have mounted disk i need to know only how to ...
1
vote
0answers
67 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 ...
1
vote
0answers
35 views

Exchanging huge file trees between disks

I have two 1TB disks and a huge file tree on each. Each takes up about 85% of their disk. I want to swap/exchange the trees between disks. The only spare (USB) disk that big I have is nearly full. ...
1
vote
0answers
109 views

overlayfs root filesystem, cannot read /etc/mtab

I'm doing the following: mkdir /tmp/upper /tmp/work mount -t overlay overlay -o lowerdir=/,upperdir=/tmp/upper,workdir=/tmp/work / ls -l /etc/mtab > lrwxrwxrwx 1 root root 19 27. Feb 09:16 /etc/...
1
vote
0answers
75 views

keep same inodes metadata with rsync or ignore metadata with du

I'm trying to synchronize two folders from a remote computer. I want to use rsync to send the folder, and du to check if the space used is identical on the remote computer. The problem is even with a ...
1
vote
0answers
379 views

No space left on device, with 320 GB free

I'm a bit lost. I have a 500 GB external hard drive with its original filesystem still in place. The last command (dd writing to a file within this filesystem) failed with "no space left on device". ...
1
vote
0answers
344 views

How to mount sdb directly or using LVM partitions on sda?

I am new to LVM and VM yet, and I need to be able to access sdb like /mybackup/ 1 - should I have sdb1 created then mount? 2 - should I mount sdb as whole disk without LVM? 3 - create lvm and than ...
1
vote
0answers
134 views

When using btrfs, why “Size”, “Used” and “Avail” values from df do not match?

I have similar problem like unix.stackexchange.com/questions/37489/ btrfs filesystem show Label: none uuid: 3fdeaf6d-ca88-4cc8-8405-f882f02693f7 Total devices 3 FS bytes used 1.53MB devid ...
1
vote
0answers
213 views

What is the most elegant way to limit /tmp?

Recently I was struck by this tricky bug. In it, /tmp gets overflowed with symlinks until the system runs out of inodes. What is the best way to be sure that this can never happen again? I'd like to, ...
1
vote
0answers
264 views

Limiting the total size of samba's vfs_recycle by pruning oldest deleted files first

Running SerNet Samba 4.0.9 on CentOS 6.4 serving as an AD DC and fileshare for XP clients. Added recycler per the example here. My concern is that the recycle dir will eventually grow large. ...
1
vote
0answers
2k views

why is df update slow?

When I remove large files, then use df to check the disk usage, often it takes a noticeable amount of time to update the disk usage percentage appropriately. This affects several data management ...
0
votes
0answers
21 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
82 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 ...
0
votes
0answers
37 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 container....
0
votes
0answers
50 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 ...
0
votes
0answers
72 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
51 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
0answers
40 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
0answers
40 views

Help me with C-shell Script: Disk checking

i am new in shell script. i have given a task to make a C-shell script. I have list of ip address and device name respectively. For example; cal 1 : 100.21.25.10 cal 2 : 100.21.25.11 cal 3 : 100.21....
0
votes
0answers
97 views

MS Windows Folder Properties Size / Unix du -bs

I use MS Windows Folder Properties Size as a means to check the integrity of folders as I make copies, archives and backups. There have been multiple posts on the difference between the Unix system ...
0
votes
0answers
55 views

User mounted secondary drive as /var

I have a drive that someone else mounted using mount /dev/sdc1 /var At some point they complained that all the data was missing Now: mount /dev/sdc1 /media/testdrive df -h shows 130GB used du -h ...