The df tag has no wiki summary.
1
vote
1answer
57 views
No space left on device / No Inodes free OR used / Double mounting
For about a day now I can only create/cp/mv (through terminal or various GUI programs) files on my FAT16 formatted USB stick, of about a few bytes. Doing so with larger files reports cannot create ...
1
vote
2answers
68 views
awk a specific column with unexpected line break
I can't seem to find a solution for this and it's driving me crazy. I know I can use awk to print a column(s). I'm having trouble printing a specific column though because of the way my file system is ...
0
votes
5answers
104 views
How to display result of df every 30s? [duplicate]
All I want to see is the % after I issue df / every 30s but on the same line just after the previous number.
So the final output would be 86% 86% 86% 87% 87% ......
Could it be one line code? Or ...
0
votes
2answers
71 views
'df' command doesn't list /home directory
In the book I am reading, the output of df command is shown like this:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 15115452 5012392 9949716 34% /
/dev/sda5 59631908 ...
0
votes
0answers
38 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 ...
4
votes
1answer
92 views
Linux tool to track directory space over time
Are there any common Linux tools that track disk space over time, not just a filesystem overall, but for example, so I could easily see which directory trees swelled up and shrunk historically? The ...
1
vote
2answers
112 views
Is it possible to tell df to use /proc/mounts instead of /etc/mtab?
Installing gentoo in chroot I found that commands like mount and df doesn't work: they try to read file /etc/mtab (which of course is empty).
Can I (for future use) setup or even recompile them so, ...
2
votes
2answers
70 views
decreasing “reserved block count” does not show up in df output
By default my ext3 file system had 122060 blocks(5%) reserved. I decreased this to 24412(1%), but there were no changes in df output:
root@t60:~# df -P
Filesystem 1024-blocks Used ...
0
votes
1answer
52 views
see actual partitions usage
I have recently learned that ext3 (or some other filesystems) reserve some space of a drive by default for previliged processes. One can change this by doing the following:
# tune2fs -m 4 /dev/sdXY
...
1
vote
1answer
181 views
Updating disk free size without rebooting the host
I use RHEL4 with LVM2 on it. At times even after removing large files more that a GB the partition size is not getting updated when is see using df command.
-bash-3.00$ df -h
Filesystem ...
2
votes
2answers
165 views
How come lvextend allocates less than the specified amount of space?
I am trying to extend a volume, let's call it /dev/vol1. I see the initial volume size is 500MB when I call:
df --block-size=M /dev/vol1
then to extend it 100MB more I call:
lvextend -L+100M ...
3
votes
1answer
392 views
How to do df only on root partition?
How can get df results only for / partition. The partition name/identification (/dev/sda2, /dev/cciss/c0d0p1) could vary on different computers.
12
votes
1answer
3k views
How to remember the difference between du and df?
du and df do rather similar things, and so I always find myself typing the wrong one.
I think if I knew what "du" and "df" stands for it might make it easier to remember which to use.
What is a way ...
2
votes
1answer
324 views
Which installed software packages use the most disk space on Debian?
Disk space on my root partition is running low, so I want to delete some applications from the system. How can I see which software packages use the most disk space? Is it possible to view that from ...
1
vote
2answers
111 views
odd output from df command on a SLES
I know I'm not very good at math...but check out this output:
SERVER:~ # df -h /ORACLE/LOGS/b
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/LOGSdatavg-LOGSb_lv 96G ...
3
votes
4answers
1k views
From df device name to physical drive name (vendor / type)
Seeing the device name by df, is it somehow possible to resolve it to the physical drive name such as vendor / type.
/dev/sda3 915.4G 34.9G 880.0G 4% /share/HDA_DATA
/dev/sdd3 ...
2
votes
1answer
1k views
When using btrfs, why “Size”, “Used” and “Avail” values from df do not match?
I have a btrfs partition. When I run df -h, it shows:
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 113G 101G 8.3G 93% /home
From
Why is that? Is it because reserved space for ...
6
votes
4answers
1k views
Finding files that use the most disk space
Is it possible to list the largest files on my hard drive? I frequently use df -H to display my disk usage, but this only gives the percentage full, GBs remaining, etc.
I do a lot of data-intensive ...
2
votes
2answers
737 views
ext4 used space (not -m option, not deleted files)
I'm a bit puzzled about the way ext4 reports used space. On a new Debian wheezy (testing) installation, I consistently got about 1GB extra space used with a 60GB SSD, when compared to du. I then ...
4
votes
6answers
13k views
Tell fs to free space from deleted files NOW
Is there a way to tell the kernel to give back the free disk space now? Like a write to something in /proc/ ? Using Ubuntu 11.10 with ext4.
This is probably an old and very repeated theme.
After ...
2
votes
1answer
109 views
Getting info about a Virtual file system
I have created a Virtual ext3 partition on a armv7 machine with:
dd if=/dev/zero of=./system.img bs=1000000 count=200
mkfs.ext2 ./system.img
tune2fs -j ./system.img
Now I need to get info about ...
1
vote
2answers
523 views
Alias Loop in csh
Why is there an Alias loop error created here:
alias df 'printf "\n"; df -hP | column -t'
But not here:
alias df 'df -hP | column -t'
I realize I could call the alias something else and still ...
2
votes
3answers
432 views
Root filesystem nearly full - should I be worried?
me@netbook:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 323M 292M 15M 96% /
tmpfs 5.0M 4.0K 5.0M 1% /lib/init/rw
tmpfs ...