Physical Disk Size

Kevin K k_krieser at sbcglobal.net
Fri Dec 1 17:54:27 UTC 2006


On Dec 1, 2006, at 8:31 AM, mark wrote:

> /sbin/fdisk /dev/<disk device>
> p (that's lowercase) - this will show the partition tables.
> q (to quit fdisk)
>
> df will give sizes as well.
>
> You can also look in /var/log/messages... but if you have a lot of  
> messages, you may need to go to a previous one - you'll have to  
> find the one with the last time you booted.


Which option for df will give you the physical size of the hard  
drive?  man df and df --help didn't give me any insight.

The OP mentioned that he didn't know that the disks were completely  
used, so based on MY experience, you need something lower level.   
Though there are also other ways under /proc to determine this info too.




More information about the redhat-list mailing list