Skip to main content

All Questions

Tagged with
1 vote
1 answer
44 views

Why is an incorrect size reported on multi-partition USB flash drive?

I'm creating a custom Linux installer which uses two partitions on a 4GB USB flash drive: an EFI partition for booting and a data partition for installer files. The size reported by df is unexpected. ...
Danny's user avatar
  • 191
1 vote
1 answer
177 views

2T file system full! du says only 70G consumed. Where is the rest?

When I run df / I get Filesystem Size Used Avail Use% Mounted on /dev/mapper/ubuntu--vg-ubuntu--lv 2.0T 1.9T 0 100% / When I run sudo ncdu -x / I get Total disk usage: ...
vijayvithal's user avatar
0 votes
2 answers
792 views

What happens if I dont resize filesystem after increasing storage

My question is built on top of this post: why df vs lsblk command have different results? The command, df and lsblk, yielded different result since I increased the storage. From the above post, it ...
Alan Chen's user avatar
0 votes
1 answer
44 views

Linux + what are the preferred options in order to resolve inodes that reached 100%

we have RHEL machine , and from df -i , we can see that some partitions are with 100% ( about inodes ) , in spite by df -h we have space Note - disks are VMDK disks df -h /dev/sdc ...
King David's user avatar
2 votes
1 answer
2k views

linux df -h not showing some info

I have Ubuntu 20.04 linux and I create a second disk, and second filesystem. Right now when I want to see info my second filesystem df is not showing. I use default mount specification. df -ah ...
thargalin's user avatar
1 vote
1 answer
3k views

How can I find out the capacity of the nfs mounted directory on the disk?

I cloud not find files filling the disk. df -h command print out / part usage %86 ( capacity is 15G ) but du -sh / command print out 3G. I am using nfs share on my system. the nfs mounted to /mnt. i ...
Hasan's user avatar
  • 23
0 votes
0 answers
219 views

Why my disk not in /dev/diskstats

I can see the device /dev/xsda by df -h command. But the device not shown in /proc/diskstats. Instead, there are devices names as below: sda sda0 .... sda6 lsbk does not show the device either $...
Kramer Li's user avatar
  • 101
4 votes
1 answer
1k views

Not the same output format from `df` in different Linux distributions

In Ubuntu the output of this command df --exclude={tmpfs,devtmpfs,squashfs,overlay} | sed -e /^Filesystem/d | awk '{print $6 " " $1 " " $3 " " $4 " " $5}' is: /...
Piduna's user avatar
  • 153
3 votes
2 answers
11k views

Is it safe to delete contents of /root/.cache folder to free up space?

I need to free up disk space on my linux server. I run the df command to check space ad see that I'm using up 100% of disk space. myserver:/ # df / Filesystem 1K-blocks Used Available Use% ...
Harry Boy's user avatar
  • 131
0 votes
1 answer
154 views

Why does it say no space available when a lot are avaliable?

$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 30G 290M 28G 2% / devtmpfs 63G 0 63G 0% /dev tmpfs 63G 0 63G 0% /dev/shm tmpfs ...
ling's user avatar
  • 123
5 votes
3 answers
1k views

Is it possible to add a thousands comma separator to the output of the Linux "df" command

df command gives me good information, and I love to see it in KB unit. But I need a thousands separator (aka: a comma) every 3 digits because the numbers will be always huge. ex> df Filesystem ...
drenerd's user avatar
  • 61
2 votes
3 answers
5k views

Folder is empty, but du reports high usage

I have a 115GB partition on my hard disk (output of cgdisk /dev/sda is below): Part. # Size Partition Type Partition Name --------------------------------------------------------...
Farzad's user avatar
  • 155
2 votes
2 answers
3k views

Difference in free disk space - ncdu and df

I've noticed that there is a huge difference in free disk space for root by using "ncdu" or "df" for me: df -Th: dev devtmpfs 7,8G 0 7,8G 0% /dev run ...
sleepi's user avatar
  • 23
-1 votes
1 answer
594 views

What is the total size of your Linux installation and total partitions on the system?

I am going through the Linux documentation and trying to answer the following questions On which partition is your home directory? How many partitions are on your system? What is the total size of ...
Aravind R. Yarram's user avatar
1 vote
1 answer
3k views

Why does rm over NFS not free space immediately?

I'm on a SUSE Enterprise server which has mounted a drive via an NFS mount. I have created a 34GB file via dd if=/dev/Zero of=test_file bs=8k Count=4194304 to test the write speed of the NFS share. ...
Robert's user avatar
  • 139

15 30 50 per page