Sponsored Content
Full Discussion: help in reading "df" results
Operating Systems Linux Red Hat help in reading "df" results Post 302412670 by mark54g on Tuesday 13th of April 2010 07:47:01 AM
Old 04-13-2010
The top columns explain it for you.

Size is the total size of the disk/volume. Used is the amount you subtract from the size. Avail is that figure, with the math done for you, so in your case:


/dev/mapper/VolGroup00-LogVol00 corresponds to your / or (root) directory

It is 71GB and you have used 27GB. You have used 41% and have 40GB remaining.

Also, realize that while df -h is more readable, the numbers are slightly rounded as there is more precision in smaller increments.

Should you be interested in finding what files themselves are taking up space, please look up "du"

Also, there are some debates about this, but you have carved up a volume group into a logical volume with a single mount point (excluding /boot, which can't go onto the logical volume). This is simple, but gives you some issues if a single process or directory fills up, it fills the entire disk.

You should be ok, as if you did this as a normal install, EXT3 (the file system most commonly used) will allocate 5% of the disk as unusable to all except root for just this type of occurrence.


This line:
netapp2:/vol/vol1 356G 258G 99G 73% /mnt/vol1

is what your Network Admin probably mounted. This is a remote file system attached to your device named "netapp2" and provides an additional 356GB, of which 73% is used, so you have 99GB free.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

2. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

3. Shell Programming and Scripting

Awk find in columns with "if then" statement and print results

I have a file1.txt file1.txt F-120009210","Felix","U-M-F-F-F-","white","yes","no","U-M-F-F-F-","Bristol","RI","true" F-120009213","Fluffy","U-F-","white","yes","no","M-F-","Warwick","RI","true" U-120009217","Lity","U-M-","grey","yes","yes","","Fall River","MA","true"... (4 Replies)
Discussion started by: charles33
4 Replies

4. UNIX for Dummies Questions & Answers

Confused over results using "tee" in piped command

First post here, so hopefully all guidelines are followed, and thanks in advance for any replies. I'm working on a shell script(BASH) that processes a csv file and performs various tasks with the data. All is well, except I want to use 'tee' to send output from 'wc' to a file as well as pipe it... (4 Replies)
Discussion started by: jazzmusic
4 Replies

5. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

6. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

7. Shell Programming and Scripting

Search file containing ps results for a match "my.cnf" and then for a second match . "ok:" and

I need to find two matches in the output from ps. I am searching with ps -ef |grep mysql for: my.cnf /bin/sh /usr/bin/mysqld_safe --defaults-file=/data/mysql/master/agis_core/etc/my.cnf after this match I want to search back and match the hostname which is x number of lines back, above the... (2 Replies)
Discussion started by: bash_in_my_head
2 Replies

8. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies
fsvoladm(1M)															      fsvoladm(1M)

NAME
fsvoladm - VxFS volume administration utility SYNOPSIS
[bias] DESCRIPTION
The utility performs administrative tasks, such as adding, removing, resizing, and encapsulating volumes in a specified VERITAS File Sys- tem. mount_point specifies the directory on which the file system is mounted. volname specifies the volume within the volume set. By default, size, bias, and newsize are specified in units of disk blocks bytes). However, you can append or to the number to indicate that the value is in kilobytes, megabytes, gigabytes, or terabytes, respectively. Keywords Adds a volume to a file system. The new space is available for allocation. Removes an encapsulated volume from a file system and restores the original contents of the volume. This operation can fail if there were significant changes to a file's allocations on disk since encapsulation. A volume encapsulated with a bias cannot be deencapsulated. Adds a volume to a file system, making the contents of that volume, starting from offset bias, available as a file instead of free space. The size of the encapsulated file is size - bias. bias must be smaller than size, and be a multiple of the file system block size. The default value of bias is 0. Displays the volumes in a file system. Removes a volume from a file system. Resizes one of the volumes in a file system. In some circumstances, the command cannot resize a 100% full file system due to lack of space for updating structural information. Check VxFS file systems on a regular basis; increase their size if they approach 100% capacity. This problem can also occur if the file system is very busy. Free up space or reduce activity on the file system and try the resize again. EXAMPLES
The following command adds the volume that is 10 gigabytes in size, to the file system The following command removes the volume from the file system The following command resizes the volume in the file system from its current size to 20 GB: The following command displays the volumes in the file system The following command encapsulates the volume The volume is ten gigabytes in size, resides in the file system and has the file name The following command de-encapsulates the volume that was encapsulated in the previous example: SEE ALSO
df_vxfs(1M), fsapadm(1M), fsvoladm(1M), mount_vxfs(1M), vxvset(1M), fsvoladm(1M)
All times are GMT -4. The time now is 04:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy