This tag is for questions about hard disk space usage.

learn more… | top users | synonyms (2)

1
vote
0answers
17 views

218TB XFS LVM filesystem. 144TB Free. Error message “No Free Space Left on Device”

I have a giant 218TB RAID6, across LVM. It is actually 2 separate RAID6's joined together through LVM to form one giant RAID6. 'df -h' shows all space was available, and I mounted to "/share". I ...
0
votes
1answer
24 views

I have just made a 2TB CentOS vm but the disk isn't available

ok yesterday I made a fresh VM with 2.0Tb of disk. when I do df -H this is what I get [root@datastore ~]# df -H Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_datastore ...
1
vote
2answers
24 views

need to repartition logical volumes

I have bad balance between my root/home LVs. Please note that I'm extremely new to understanding disk management and Linux in general, so I'm probably going to say a few things incorrectly. My goal ...
1
vote
2answers
45 views

Using df and trying to awk a specific column

Among other problems with this script I am trying to make (this is the first unix/linux script I have ever made), I am trying to use df to get the % of disk space used and email it to the root. Our ...
1
vote
0answers
15 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 ...
1
vote
0answers
9 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 ...
2
votes
1answer
19 views

swapon command is not listing the lvm name

I am facing issues with swapon -s command. It is displaying some other filename instead of my lvm name which i have given ( swap is LVM partition ) swapon -s command is not listing my LVM Name for my ...
0
votes
2answers
24 views

Linux tools for deleting backups when they get too old?

I was looking at SQL Server 2000 today, and it has an argument in the EXECUTE command called -DelBkUps for deleting backups that are of a certain age. Does Linux have any tools for deleting backups ...
2
votes
5answers
82 views

Understanding where disk space has gone?

I am using Debian. df -h shows me that I'm using around 275GB: Filesystem Size Used Avail Use% Mounted on rootfs 315G 274G 26G 92% / udev ...
1
vote
2answers
73 views

df -h shows only half the disk space I thought I had?

I am a Linux newbie. I'm working on a DigitalOcean Debian droplet that in theory is supposed to offer 640GB of disk. When I do df -h this is what I see: Filesystem Size Used Avail ...
1
vote
2answers
35 views

du: combine both timestamps

On Linux, du offers the displaying of timestamps: atime OR ctime OR mtime Question: Is there an easy way to get all three of them displayed at the same time (one file, all three timestamps)? I guess ...
0
votes
1answer
56 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 ...
4
votes
4answers
370 views

How can I get the size of stdin?

I'm about to compress a large directory and I want to know how large, exactly, the resulting file will be. I've tried using du: $ tar -cv dir | du -h - du: cannot access '-': No such file or ...
3
votes
5answers
84 views

How can i find out what is taking space on my system

I am trying to find out what files/folders are using most space on the filesystem df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 94G 85G 4.4G 96% / tmpfs 16G ...
10
votes
2answers
290 views

Unable to copy large file onto ext2 usb stick [closed]

I have an 8G usb stick (I'm on linux Mint), and I'm trying to copy a 5.4G file into it, but getting No space left on device The filesize of the copied file before failing is always 3.6G An output ...
1
vote
2answers
84 views

Find largest files of a particular owner

I accidentally chown'd my entire file system to a particular user, after correcting the issue I've found disk space still being consumed by that particular user's files even though their account ...
1
vote
1answer
27 views

Search directories and return size / disk space usage for each

On my server I have a bunch of accounts that have WordPress installed and also have backup directories in the format: softaculous_backups. I can find all the directories using the command: $ find / ...
1
vote
1answer
37 views

Monitor a hard disk partition

I need to monitor a partition on a CentOS server (/, to be exact) and would like to be alerted when it is full or full to a certain percentage. What is a simple way (using built-in tools) to ...
1
vote
3answers
183 views

Why doesn't df's output default to a human-readable format? [closed]

I mean, did the developers think people would enjoy reading 19478204 rather than 19 GB? Could it be that in the older systems there weren't as much disk space so it was OK back then to count ...
8
votes
3answers
607 views

How do I compress files in-place?

I have a machine with 90% hard-disk usage. I want to compress its 500+ log files into a smaller new file. However, the hard disk is too small to keep both the original files and the compressed ones. ...
0
votes
1answer
20 views

Why does Calamares think there isn't enough space?

I am exploring the Maui distro and this is my first experience with Calamares. During the 'prepare' stage of Calamares it complains that my system doesn't have at least 6GB of available drive space. ...
0
votes
2answers
58 views

Deleting files after booting from a USB drive

I am unable to boot my laptop and, from what I have read, it is due to the disk being full, which in turn is because Evolution downloaded 6000 emails, clogging the system. I can boot from a USB memory ...
1
vote
1answer
163 views

ext4 disk space not reclaimed after deleting files

I recently got a "device full" warning for a 2 Tb external ext4 drive. I deleted a bunch of files, about 90-100 Gb of old system backups, and since I did not want to empty all trash, I deleted the ...
1
vote
1answer
121 views

How to tell the sizes of files and folders, sorted, and in MB, GB, instead of a long integer? [duplicate]

On a Mac, using Bash, I tend to do du -sh * to tell the sizes of files and folders in the current directory, in MB and GB. But if I want to sort them by the sizes, I might do du -sh * | sort -g ...
1
vote
4answers
73 views

Change apt-get's installation path

I have a machine on which the root partition is running out of space. I have another disk on which there is plenty of free space. How do I configure apt-get to install packages on a different ...
3
votes
1answer
634 views

Why does Chromium use so much disk space on Gentoo Linux?

I am a newbie on Linux, and I have chosen Gentoo for my Linux distribution. I installed it in VirtualBox for practice purposes only, so I just gave it 10GB of disk space. Yesterday when I tried to ...
0
votes
2answers
68 views

Where are all the disks used?

This is almost a little embarrassing to ask, but I just can not figure this one out myself really. I'm trying to find out where the disks of my machine are used and if they are actually used at all. ...
4
votes
2answers
137 views

My /var/log/ is mysteriously filling up GBs in minutes! Any cure before I re-install Debian 7?

Good morning, fellow *nix enthusiasts! I have been using Debian 7 for a while now and after a recent upgrade I noticed I constantly kept running out space on my root partition. I mean to the point ...
3
votes
1answer
191 views

bind mounting and df output

I have a partition, /dev/sdb1, that gets mounted at /data. In /etc/fstab I have: /dev/sdb1 /data ext4 defaults 1 2 After that partition gets mounted, I then have the following ...
4
votes
1answer
226 views

Why does `du -sh *` complain about invalid options?

I've searched my best through Google, but for the life of me I can't figure out what to use instead of * (asterisk) after a recent update (even Wikipedia seems to think du -sh * and du -sh * should ...
2
votes
1answer
54 views

How to list directory/file sizes in general on UNIX-like systems?

In general on a UNIX-like system (Linux, AIX) the following can list file/directory sizes in MByte, even if the filename is starting with a "-": du -sm -- * 2>/dev/null | sort -nr | head -25 ...
9
votes
2answers
476 views

Ubuntu - No space left on device (NTFS)

I have a server which stores a lot of data, I keep many nested directories with millions of files in them. While trying to move one big directory (~700GB) from one disk to another I get an error: mv ...
0
votes
1answer
109 views

du and ls commands reporting wrong directory size

I'm used to the du command. I often use it with -h option. I report the result in a text file which I use to track space consumers. But I was wondered today to see a directory being reported as using ...
3
votes
1answer
132 views

How to find which process is currently writing to the disk?

For some unknown reason there is no space left on my /, even 5 minutes after removing 300 MBs of junk packages, there is no space left again. So I've come to conclusion that there is some process that ...
2
votes
2answers
274 views

monitor linux file systems using df

I use df -kh to get the file system usage, but the trouble is if there is any NFS mount failure in any of the boxes the command will hang. Is there a better way to monitor file systems other than df ...
1
vote
0answers
172 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
101 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
1answer
50 views

What does the ouput of `du` mean?

I made a recursive copy of directory but according to du the two directories have different sizes. $ cp -r site2 site $ du site 838048 site/ca.oslin.org 276108 site/hts-cache 1114196 site $ du ...
0
votes
0answers
28 views

The df command shows incorrect data [duplicate]

I installed Linux Mint 17 on my Intel SSD320. Disk size is 80GB. I have root(dev/sda1) partition 79GB and 1GB swap. When I run command df -h, I get strange values. Souborový systém Velikost Užito ...
0
votes
3answers
55 views

Why do du's subdirectory values not sum up to total?

I'm trying to use du to investigate disk usage in a directory like so: du -hd1 | sort -rh This gives me a list that starts as follows 61G . 7.9G ./A 5.1G ./B 2.7G ./.C 1.6G ./.D ...
4
votes
1answer
54 views

How to check (simulate), how much space will be freed after I remove a btrfs subvolume?

The question is not trivial. BTRFS is COW file system and one object stored on hard disk can be referenced by many files. I use BTRFS snapshots as a part of a backup solution on my production ...
2
votes
4answers
76 views

space check on unix machines

I am having space issues on 1 of the UNIX servers. I am executing the below command to check the space utilization. But this command is very slow and takes hours of time to give the result. du -sg * ...
0
votes
0answers
11 views

Using snmpdf on a linux or unix machine

After searching and thrusting many different tries into play, I cannot find a command or variation of one that will print results different from: $ snmpdf -v 2c -c inserted_tries here Description ...
11
votes
5answers
1k views

How do I get the size of a directory on the command line?

I tried to obtain the size of a folder (containing folders and sub folders) by using the ls command with option l. It seems to work for files (ls -l file name), but if I try to get the size of a ...
1
vote
0answers
61 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 ...
0
votes
1answer
79 views

Disparity between output of `fsck` and `df`

fsck shows /dev/sda1 is okay, and uses 3811/49152 inodes and 105570/171776 blocks. df -i and df show that /dev/sda1 uses 443/239944 inodes and 0/959776 KiB. GParted shows /dev/sda1 uses ...
0
votes
0answers
18 views

How can I figure out the size of a block on a busybox device?

This is the output of df on my little embedded device: # df Filesystem 1k-blocks Used Available Use% Mounted on rootfs 3008 3008 0 100% / /dev/root ...
0
votes
1answer
80 views

Nand Flash; MTD; UBI; Total Space

My question should stem from my misunderstanding of ubi and MTD. However, I can't figure it out by googling (And didn't find a good tutorial). I simply want to find out the total capacity of my Nand ...
3
votes
1answer
54 views

“Ghost” files in ext4? (ktorrent allocated disk space)

I'm downloading with KTorrent, and have noticed that when I select "allocate disk space before starting torrent", it creates all the files at start, presumably empty, to avoid fragmentation. When I'm ...
3
votes
2answers
152 views

df, du report incorrect disk usage

df and du both incorrectly report that my root partition, a 100GB SSD, has no remaining space and uses 100G respectively; 85G in /home/steven alone. A simple summing of the disk usage provided by du, ...