Questions tagged [disk-space-utilization]

For questions related to disk space utilisation.

Filter by
Sorted by
Tagged with
2 votes
1 answer
108 views

Monitoring LVM Thin Pool with lvs -a regularly using Zabbix (or any other method)

For my OpenStack setup, I'm using LVM as Cinder Block storage backend. I've created a cinder-volumes vg for Thin Provisioning. Now, I want to monitor how much that vg is used (not seperate disks in ...
0 votes
2 answers
9k views

PowerShell script to report free disk space on servers

I am required to get reports about free disk space on our exchange servers. I found this link : https://gallery.technet.microsoft.com/scriptcenter/PowerShell-Script-Sample-f7164554 But I am unable to ...
16 votes
9 answers
93k views

Disk usage per user in Linux / Unix

I need to find out how much disk space is being occupied by each user on the network. I am aware of df and du commands: I could list the entire filesystem and AWK the output, but I wonder if there is ...
10 votes
2 answers
21k views

How can I eliminate the huge, cached MSI files in C:\Windows\Installer?

The size of the MSI cache folder (C:\Windows\Installer) has grown substantially, and is now taking up way too much disk space on my (domain) computers. Can this folder be eliminated or shrunk? Same ...
0 votes
1 answer
119 views

Shrink/Reduce disk size on a Linux RAID 1 server

i am looking for a way to clone my HDD to SSD without loosing data or the Linux system itself. The problem is the size of current HDD is 1TB and the SSD we got have 480GB, so i can't clone directly ...
1 vote
1 answer
7k views

How do I extend the space of /dev/sda3 on Oracle Linux Server 7.9

Disk capacity is at 105GB, but the root directory (/dev/sda3) capacity is only 39GB, I want to increase the capacity. How can we do this? By the way, the OS is Oracle Linux Server 7.9. $ df -h ...
1 vote
1 answer
481 views

Managing Orphaned .avhdx Files in Hyper-V with PowerShell

I'm managing a Hyper-V environment and looking to clean up my hard drive to free up space. Specifically, I want to delete orphaned .avhdx files and possibly move some to external storage. I prefer ...
0 votes
1 answer
96 views

df reports zfs used space as 128K, not the actual used space

I have a ZFS mirror pool in my Proxmox instance. I am trying to get it to mount to an LXC container read-only (preferably not giving full filesystem access) so I can have Homepage detect the used and ...
247 votes
17 answers
483k views

df in linux not showing correct free space after file removal

I have file servers which are used to store files. Files might reside there for a week, or for a year. Unfortunately, when I remove files from the server, df command doesn't reflect the freed up space....
1 vote
2 answers
12k views

Ubuntu - unable to extend partition with growpart - partition 1 could only be grown by 2046

I want to extend /dev/sdb1 partition I extended disk for 2 GB in Hypervisor and new disk size is shown for /dev/sdb disk (from 20 to 22 GB) Device Boot Start End Sectors Size Id Type /...
4 votes
2 answers
1k views

VMWare - Lower the size of a disk

We need to lower the size of a VM disk, we have 2 disk in the Virtual Hardware of that virtual machine, one of them is 8TB but at the end, only 600gb is used. Current configuration: If we tried to ...
16 votes
3 answers
15k views

How to 're-balance' data in zfs? (Make sure the data is spread amongst all striped mirrors)

Using a striped mirror (Raid 10) as an example, if two disks are expanded to four, how can the data from the two disks be 're-balanced' (spread out) amongst the two mirrors? That is, how can the ...
128 votes
18 answers
305k views

How do you increase a KVM guest's disk space?

I setup an Ubuntu guest on a CentOS KVM host with initially 6GB of disk space. How do I go about increasing the Ubuntu guest's disk space from the command line? EDIT #1: I'm using a disk image file (...
27 votes
7 answers
11k views

Disk usage treemap software for headless Linux

There are some programs which can display used disk space using a treemap, such as WinDirStat for Windows and KDirStat for KDE/Linux: I'm looking for something similar, but for a headless Linux box. (...
3 votes
1 answer
1k views

Windows Server: not enough space on disk (yet still plenty of free space even in the error message itself)

I've got a fileserver running Windows Server and I'm using the storage pool technology to create volumes where I store the files. I tried to move some files from one of the volumes to another but I ...
0 votes
0 answers
1k views

Podman using all disk space

I am running AlmaLinux 9 (RHEL 9 clone), and am new to podman. I have been running my first and only container for a month, and today my disk is full: df -h Filesystem Size Used Avail Use% ...
23 votes
6 answers
9k views

Best way to prevent the root system filling up when a mount fails?

We have an internal web server (virtualized, hosting ReviewBoard, but not super relevant) and we have a relatively consistent failure mode with failed NFS mounts causing / to fill up. Distro is Ubuntu ...
1 vote
1 answer
140 views

umount a bind source won't work, and device out of space

I think I may have shot myself in the foot. Long ago I tried to backup a old linux machine to a nas using the mount bind command: mount --bind / /mnt/src tar -C /mnt/src -c . > /mnt/backup_to_nas/...
1 vote
1 answer
542 views

proxmox image import creates an 50GB disk regardless of image size

If I import a disk image for vm 101 from a raw image, it will create an 50GB disk image: # qm importdisk 101 disk.img local-zfs importing disk '446-jenkinsmite.img' to VM 101 ... transferred 0.0 B of ...
1 vote
1 answer
815 views

/dev/vda1 is consuming too much space - no space left on device

I am facing a problem during a web service deployment. The web service runs in a docker container and the first couple of times it started and worked properly. Last time during the load of the image I ...
1 vote
1 answer
1k views

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message I've created new partition(/dev/sda6) and mounted it(on /hulk). Edited /etc/fstab file to give quotas on the ...
1 vote
2 answers
2k views

Can I get the "Active Time Percentage" of the physical drives programmatically?

How can I get the "Highest Active Time" of the drives programmatically? I can see it on Resources Monitor, but I want to get it programmatically with a script (VBScript, Batch) or application, so I ...
1 vote
1 answer
905 views

rsync: No space left on device (28)... with a lot of free space

I need to make a copy of 200GB in a 500GB external SSD disk to a 2TB NVMe M2 SSD, which has more than 1TB free. All my other disks and partitions have lots of GBs of free space, too (well, except for ...
4 votes
2 answers
1k views

Does the ReFS filesystem reserve space for itself?

I recently formatted a single disk from the line of new 14TB Seagates on Windows 10 with ReFS, with a 4K block size, to use the full capacity available and noticed that out of the approximately 12.7TB ...
1 vote
1 answer
132 views

Windows Server 2016: Users dir taking over C: drive due to high load. Can I set a default location for new and current user AppData on another drive?

I'm working with a virtual Windows Server 2016 that's C: drive is filling up due to a high number of Users (over 2,000). The server acts as a Citrix host, which is leading to AppData dirs averaging ...
19 votes
6 answers
75k views

How can I move /var/log directory

On our production server there is a small drive for the root mount point /, /var/log is taking too much space and I have to manually delete some files. How can I move /var/log/ to let's say /home/log ...
0 votes
0 answers
233 views

Why are "wmic diskdrive get size" and "(Get-Disk).Size" returning slightly different values?

As you can see, the following commands provide slightly different output. Why? I was expecting them to be the same. There is a 2.66MB difference between the two. How can I get the values from "...
5 votes
2 answers
9k views

Decreasing Root Disk Size of an "EBS Boot" AMI on EC2

So I have followed Eric's wonderful article here: http://alestic.com/2009/12/ec2-ebs-boot-resize This was the code basically that helped me increase the default size of the AMI: ec2-run-sintances ...
19 votes
11 answers
24k views

How does one find which files are taking up 80% of the space on a Linux webserver?

The drive is constantly filling up. You've hunted down all the spare and random files you can. grep'd for coredump files and even removed some of the un-needed backups... What would be your next move....
2 votes
1 answer
222 views

Discrepancy in file usage after rsync

I copied files from an exFAT filesystem to an ext4 filesystem: sudo rsync -avz /media/user/1TB-SD-EX/ -e ssh example.com:/data/pc/sd1tb After successful run I check source and destination size with ...
0 votes
0 answers
60 views

Is that possible to monitor mysql in cloudwatch?

I have some server in EC2, In that i have configured memory/disk usage metric in cloudwatch it is showing overall usage but i want to check memory of particular path How to check that? Is that ...
0 votes
1 answer
353 views

Why does `chattr +e <file>` fail with no space left on the device when there's plenty?

I have a problem. chattr +e <file> does not work, if the file does not have the +e attr set on it, or if it's removed and re-added. [root@ip-203-0-113-13 log]# df -Th Filesystem Type ...
0 votes
1 answer
44 views

MSA volume is more used than the StoreEasy disk

I meet a problem on connection between MSA - Proliant servers. The volume has been created on MSA in raid 6: https://i.stack.imgur.com/6lUIY.png https://i.stack.imgur.com/u1LP7.png https://i.stack....
0 votes
0 answers
216 views

deleted files doesn't free up space on nfs volume

I would like to hear your suggestion on why space is not released after files deletion. Jira application uses nfs volume as shared jira home. 12 gb indexes snapshot is created per hour (oldest one is ...
0 votes
0 answers
159 views

What's the Difference between xvda15 and root on AWS ubuntu?

So I ran df -hT on my AWS EC2 Ubuntu instance to check the disk storage. I get the following response: Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 7.6G 7.0G 671M 92%...
0 votes
0 answers
372 views

How to diagnose out of space errors?

Twice I've noticed out of space errors in my php app and both times I've received the error "No space left on device while writing config" when attempting to login via ssh to troubleshoot ...
0 votes
2 answers
607 views

df -h --total command showing wrong total disk size

I have 512GB attached to my linux centos 7.9 server I'm trying to know how much total disk size used from overall disk size from inside the server I tried to use df -h --total command to show the ...
0 votes
1 answer
872 views

Ubuntu server: after upgrading to 22.04 LTS my disk space decreased from 54% to 30%. How can I free up some space?

I recently upgraded an old VM from Ubuntu 18.04 to 20.04 and 22.04. Before the update, I had ~50GB of free space, now I have 24GB. I already run apt autoremove, I purged unused kernel files and ...
0 votes
2 answers
3k views

Expanding synology virtual machine disk - disk space not recognized

I've created a Virtual Machine in Synology Disk Station Manager (an ubuntu server) with a specific amount of storage space in a virtual disk, but I have depleted it. Went to Synology Disk Station / ...
1 vote
4 answers
6k views

Ubuntu quota format not supported in kernel

I was trying implement disk user and group quotas at Google Compute Engine with Ubuntu 16.04 LTS, but till now i'm unsuccessful. Quota allows you to specify limits on two aspects of disk storage: the ...
1 vote
1 answer
3k views

Windows Server 2012 C:\Windows\Installer occupying more than 200 GB

As the title says, I've been having a problem with a production WS 2012 R2 whose C:\Windows\Installer folder takes more than the 85% of the disk space. I tried the solution commented here: Is it safe ...
0 votes
0 answers
53 views

Issue adding space from /home to /var with ext4 fs debian 11

My /var is full on 9.1GB and I need to increase space to 100GB from /home that has 1.4TB. When I run fdisk it keeps giving me the same default amount of space (9.1GB). Is the another way of adding ...
7 votes
4 answers
6k views

Email when Linux server disk is full?

How can I set up an email notification on a Linux server for when a disk/volume exceeds a certain usage quota?
2 votes
1 answer
2k views

Windows Update Cleanup - Disk Cleanup via script/command prompt

We've noticed that when running Disk Cleanup utility manually on a windows server 2019 that 'Windows Update Cleanup' takes up a substantial amount of space. Is there away to clean this up via a ...
1 vote
1 answer
3k views

Reclaim free space after deleting NFS file

I deleted a 137G file in a NFS mount (from a Linux host), and it dissapeared from the directory but the free space reported by df is still the same the NFS server is a NAS device with almost no ...
2 votes
0 answers
871 views

How to get Dovecot quota status to message correctly?

I have a testing VM running Ubuntu with postfix, dovecot and a couple of users set up using Roundcube to send mail locally via SMTP. If I set the Dovecot quota of User A to 20K and then send about 18K ...
0 votes
1 answer
119 views

Linux: 1 TB HDD showing 7 TB partition!

I replaced a 1 TB HDD (which holds a single EXT4 partition with lots of hardlinks to backup files/directories also inside this partition. It has also a bunch of regular files/directories) with a 2 TB ...
0 votes
1 answer
122 views

How to merge in Dovecot extra fields from system accounts to passwd-file format?

I'm running an Ubuntu mail server with Dovecot 2.2.33 and am using system accounts: passdb { driver = pam I have about 100 mail users. I would like to impose per-user storage quotas, but the ...
0 votes
1 answer
1k views

VirtualBox wont allow choose "dynamically allocated" hard disk file on creation dialog

I need to create a "dynamically allocated" hard disk file on virtual box but on creation dialog there is no option to it, there is only "Pre-allocated Full size" and "Split ...
7 votes
4 answers
16k views

Determining disk space usage & file counts for extremely large data sets (any tricks?)

Long time reader, first time asker: I'm a junior-level Linux admin who's increasingly supporting very large data sets/stores on local & NFS storage. The data is generally in the form of massive ...

1
2 3 4 5
13