Showing results for 
Search instead for 
Did you mean: 

Disk space

Jeff Hagstrom
Regular Advisor

Disk space

Is there a report or command that will show how much disk space is on the Machine? How much is being used? And how much is unallocated?
Ken Hubnik_2
Honored Contributor

Re: Disk space

bdf or you can use showfree
Vicente Sanchez_3
Respected Contributor

Re: Disk space

Hi Jeff,

bdf is the command you need.

Regards, Vicente.
Honored Contributor

Re: Disk space

Hi Jeff

how much sapce and how much is unallocated ,

sam-->disks and file systems-->Volume Groups.
or you can run something like

vgdisplay | grep PE | grep -v PV | grep -v Mb

to know Total PE, Alloc PE and Free PE volume grouop wise.

there are some scripts which i collected from these forms only which u can use to get eh information too .

Manoj Srivastava
James R. Ferguson
Acclaimed Contributor

Re: Disk space

Hi Jeff:

Depending on what exactly you are looking for some combination of one or more of the following commands suffice:

# ioscan
# diskinfo
# pvdisplay
# vgdisplay
# lvdisplay
# bdf


Pete Randall
Outstanding Contributor

Re: Disk space


Yes, bdf will take care of filesystem space, but, if you have raw logical volume space (like database space for example), you need to also look at vgdisplay -v.


S.K. Chan
Honored Contributor

Re: Disk space

Use ..
# bdf -l
to see the utilization of a configured and mounted filesystem space. It does not represent all available disk space.
Other commands and combination of commands are needed to determine the "unconfigured" disk space. For example ..
# ioscan -fnC disk
==> Take not of all disk paths.
# /etc/diskinfo /dev/rdsk/cXtXdX
==> Find out the capacity of a disk.
# strings /etc/lvmtab
==> Find out which disks are configured with LVM.
.. and so on ..