[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Physical Disk Size




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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]