Sponsored Content
Full Discussion: df and bdf discrepencies
Operating Systems HP-UX df and bdf discrepencies Post 9513 by Perderabo on Monday 29th of October 2001 09:10:00 AM
Old 10-29-2001
Unix requires that 10% of the disk remain free to insure that files are allocated efficiently. You have used everything that you can on that fs.

bdf says that you have 6866069 total with 6356851 in use. df says that 509218 are free. Those numbers add up.

root can allocate the rest of the disk but non-root users cannot. If root does that, bdf will report the disk at 111% full.

You simply need to free up more space or make /opt larger.

You could use tunefs to change minfree on the volume. Expect system performance to suffer if you do.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

BDF test for > 90%

I am trying to write a script that will allow me to do a bdf then do a test for a percentage that is 90% or greater. If the test is true then i want to send a message to myself and one other person. Any suggestions ? ? ? Thanks. ....svp (6 Replies)
Discussion started by: svp4444
6 Replies

2. Shell Programming and Scripting

bdf script not working !!

Hi, I have written a funtion which taken bdf output and put's in a file. The idea is to grep a areas which greater then 80% and echo the same on the system. However the script I have written fails with the error :- + awk $0 !~ /^F/ + awk {print $5"\t" $6} + sed s/%// + 1> /tmp/bdflist}... (3 Replies)
Discussion started by: kpatel786
3 Replies

3. UNIX for Advanced & Expert Users

bdf question

Hi all i am working on script which uses "bdf" output to create excel sheet now when i check "Total" "Used" & "Available" i found that except root everywhere used + available != total here is example : part from bdf output : filesystem-total-used-available-%used-Mounted on ... (4 Replies)
Discussion started by: zedex
4 Replies

4. AIX

bdf -h in AIX server

Previously i was using bdf -h in Solaris server. Now i have moved to AIX server and i would like to know equialent to "bdf -h" in AIX server. Please help me. Thanks in Advance. I am expecting output as below Filesystem size used avail capacity Mounted on /dev/vx/dsk/vg04/t1... (3 Replies)
Discussion started by: Bala37
3 Replies

5. Shell Programming and Scripting

bdf error

I have this line in a sh script: bdf | grep /var/opt/vgdb | tr -s " " | cut -f4,6 -d" " | awk '{print $2" "$1}' > vgdb_free_space.txt if I run that line in the shell it works fine but when I ran the script got this error: add_database_files.sh: line 83: bdf: command not found also I tried... (4 Replies)
Discussion started by: C|KiLLeR|S
4 Replies

6. Shell Programming and Scripting

Bdf output

Here is my bdf output #bdf Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 2097152 217112 1865424 10% / /dev/vg00/lvol1 1835008 329040 1494288 18% /stand /dev/vg00/lvol7 10485760 7864080 2601240 75% /var /dev/vg00/lvol8 8454144 486597 7469647 ... (5 Replies)
Discussion started by: indrajit_renu
5 Replies

7. HP-UX

bdf hangs

hi, bdf command hangs but before it, it lists all the fstab content, so i cannot find the reason... could anybody give me any clue?? thanks a lot for your attention. regards Pablo i attach syslog Jan 14 16:30:00 sv23 vmunix: hp_dlpi_wput:Received an unrecognized primitive: 101d... (7 Replies)
Discussion started by: pabloli150
7 Replies

8. Solaris

Discrepencies in different environments (GNU/Linux and SUNOS)

Hello, I have a application that works on a server having SunOS environment. I have to implement it on a different server which has GNU/Linux. Now am facing issues with the shell scripts that are run in the process in the application. It is definitely because of the different flavours of Unix.... (4 Replies)
Discussion started by: vinzermania
4 Replies

9. HP-UX

Bdf in HP-UX

Hi guys, I have to make an output of several databases we've got running on our system with the command bdf. This has to be done every 3 months. I want to put it in an scriptfile and trigger it in crontab. In the output it must display the differences in diskspace between these three monts. Any... (3 Replies)
Discussion started by: djmental
3 Replies
LVEXTEND(8)						      System Manager's Manual						       LVEXTEND(8)

NAME
       lvextend - extend the size of a logical volume

SYNOPSIS
       lvextend [--alloc AllocationPolicy] [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [--noudevsync] [-i|--stripes Stripes [-I|--stripesize
       StripeSize]]   {-l|--extents   [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}]   |   -L|--size    [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}
       [-f|--force] [-n|--nofsck] [-r|--resizefs] [-t|--test] [-v|--verbose] LogicalVolumePath [PhysicalVolumePath[:PE[-PE]]...]

DESCRIPTION
       lvextend allows you to extend the size of a logical volume.  Extension of snapshot logical volumes (see lvcreate(8) for information to cre-
       ate snapshots) is supported as well.  But to change the number of copies in a mirrored logical volume use lvconvert(8).

OPTIONS
       See lvm for common options.

       --noudevsync
	      Disable udev synchronisation. The process will not wait for notification from udev.  It will continue irrespective of  any  possible
	      udev  processing	in the background.  You should only use this if udev is not running or has rules that ignore the devices LVM2 cre-
	      ates.

       -l, --extents [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}]
	      Extend or set the logical volume size in units of logical extents.  With the + sign the value is added to the  actual  size  of  the
	      logical volume and without it, the value is taken as an absolute one.  The number can also be expressed as a percentage of the total
	      space in the Volume Group with the suffix %VG, relative to the existing size of the Logical Volume  with	the  suffix  %LV,  of  the
	      remaining  free  space  for the specified PhysicalVolume(s) with the suffix %PVS, as a percentage of the remaining free space in the
	      Volume Group with the suffix %FREE, or (for a snapshot) as a percentage of the total space in the Origin	Logical  Volume  with  the
	      suffix %ORIGIN.  The resulting value is rounded upward.

       -L, --size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]
	      Extend  or set the logical volume size in units of megabytes.  A size suffix of M for megabytes, G for gigabytes, T for terabytes, P
	      for petabytes or E for exabytes is optional.  With the + sign the value is added to the actual size of the logical volume and  with-
	      out it, the value is taken as an absolute one.

       -i, --stripes Stripes
	      Gives  the number of stripes for the extension.  Not applicable to LVs using the original metadata LVM format, which must use a sin-
	      gle value throughout.

       -I, --stripesize StripeSize
	      Gives the number of kilobytes for the granularity of the stripes.  Not applicable to LVs using the  original  metadata  LVM  format,
	      which must use a single value throughout.
	      StripeSize must be 2^n (n = 2 to 9)

       -f, --force
	      Proceed with size extension without prompting.

       -n, --nofsck
	      Do  not  perform	fsck  before  extending  filesystem  when filesystem requires it. You may need to use --force to proceed with this
	      option.

       -r, --resizefs
	      Resize underlying filesystem together with the logical volume using fsadm(8).

Examples
       "lvextend -L +54 /dev/vg01/lvol10 /dev/sdk3" tries to extend the size of that logical volume by 54MB on physical volume /dev/sdk3.  This is
       only possible if /dev/sdk3 is a member of volume group vg01 and there are enough free physical extents in it.

       "lvextend  /dev/vg01/lvol01  /dev/sdk3"	tries  to  extend  the	size of that logical volume by the amount of free space on physical volume
       /dev/sdk3.  This is equivalent to specifying "-l +100%PVS" on the command line.

       "lvextend -L+16M vg01/lvol01 /dev/sda:8-9 /dev/sdb:8-9"
       tries to extend a logical volume "vg01/lvol01" by 16MB using physical extents /dev/sda:8-9 and /dev/sdb:8-9 for allocation of extents.

SEE ALSO
       fsadm(8), lvm(8), lvcreate(8), lvconvert(8), lvreduce(8), lvresize(8), lvchange(8)

Sistina Software UK					 LVM TOOLS 2.02.95(2) (2012-03-06)					       LVEXTEND(8)
All times are GMT -4. The time now is 01:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy