Browsing articles tagged with "df - Admins Goodies"
Nov 24, 2012
tom

How to view if partitions primary or secondary in Linux

How do I view my partitions if they are primary or secondary in Linux CentOS? I tried df -T but it does not show if partitions are primary or secondary. Thanks. Asked by Justin Use the cfdisk command. cfdisk /dev/sda Answered by melsayed Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Print for later Bookmark in Browser Tell a […]

Continue Reading »
Sep 23, 2012
tom

df -h overreports disk space on VPS

When I run the command df -h on my new Ubuntu linux vServer I get the following: # df -h Filesystem Size Used Avail Use% Mounted on /dev/hdv1 466G 33G 434G 7% / none 16M 0 16M 0% /tmp Running du -sh gives # du -sh du: cannot access `./proc/13624/task/13624/fd/4′: No such file or directory du: cannot access `./proc/13624/task/13624/fdinfo/4′: No such file or directory du: cannot access `./proc/13624/fd/4′: No such file or directory du: cannot […]

Continue Reading »
Aug 7, 2012
tom

Weird DF ourput in Red Hat 5.4 – Used < Size, but 0 available?

I have a server with two LUN’s mounted from a local SAN. I have a configuration file in place for the vendor software we’re using (splunk) that defined the size of the second LUN, but I had accidentally configured it as 6GB larger than it actually was. This morning I came in to see whistles going off about the error. It has been fixed, and the Splunk server process has been restarted to make use […]

Continue Reading »
May 25, 2012
tom

Whats the output format of “df -ki” in AIX?

I just wanna know the output format (the order of columns) when running the command df -ki in an AIX system. I dont have access to an AIX system , and since it doesnt run on x86 machines , i cant try it out in a virtual machine either. Can someone with access to AIX reply with an ACTUAL OUTPUT OF RUNNING THE COMMAND IN AIX ? I want to run this command as part […]

Continue Reading »
May 22, 2012
tom

Whats the output format of “df -ki” in AIX linux?

I just wanna know the output format (the order of columns) when running the command df -ki in an AIX system. I dont have access to an AIX system , and since it doesnt run on x86 machines , i cant try it out in a virtual machine either. Can someone with access to AIX reply with an ACTUAL OUTPUT OF RUNNING THE COMMAND IN AIX ? I want to run this command as part […]

Continue Reading »
Apr 16, 2012
tom

Disk space usage doesn’t add up with df & du

I’m trying to free up some disk space – if I do a df -h, I have a filesystem called /dev/mapper/vg00-var which says its 4G, 3.8G used, 205M left. That corresponds to my /var directory. If I descend into /var and do du -kscxh *, the total is 2.1G 2.1G + 200M free = 2.3G… So my question is, where is the remaining 1.7G ? Asked by Codecraft You probably have some deleted big log […]

Continue Reading »
Jan 9, 2012
tom

Logwatch Disk Space Usage is Wrong/Stale

I have a RHEL 5 server that recently ran out of disk space and now our Logwatch for the server reports the following disk usage (I think this is the last accurate night before the /var partition filled up): Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 62G 3.8G 55G 7% / /dev/mapper/VolGroup01-LogVol00 198G 185G 2.8G 99% /var /dev/cciss/c0d0p1 99M 24M 70M 26% /boot If I log into the server and run df -h manually […]

Continue Reading »
Jan 4, 2012
tom

df showing wrong size on opensuse in brand new disk

I have just installed a new 2TB disk, but “df -h” shows only 1.8TB – total size, and 1.7TB of free space. I have not used the disk yet. I realized it after I ran “mke2fs -t ext4″. Here are some output: fdisk -l /dev/sdaDisk /dev/sda: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O […]

Continue Reading »