Re: Physical Disk Size




On Dec 1, 2006, at 1:52 PM, Aleksandar Milivojevic wrote:

Quoting Kevin K <k_krieser@xxxxxxxxxxxxx>:

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.

As already said in this thread. Use utilities such as fdisk. Or check what kernel reported during boot (in /var/log/messages). Or see the content of /proc/ide/hd*/capacity (for IDE drives).

"df" shows information about file systems. Not partitions. Not disks. It doesn't know anything about the hardware on which file system resides (which in general doesn't need to be disk based, and can be virtual or abstracted by several levels of whatever).


It had been stated by 2 different people that df would return this information, the second one after it had been shown wrong. I was hoping that the people making this claim would make an attempt to explain that they had misread the original question.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: Physical Disk Size
    ... man df and df --help didn't give me any insight. ... Use utilities such as fdisk. ... "df" shows information about file systems. ... Not disks. ...
    (RedHat)
  • Re: Intermittent Errors with AIX
    ... Sometimes the problem occurs compiling applications, ... One or more of the file systems are corrupted or contain dirty ... One or more of the hard disks have partially failed and resulted in ... data loss on several partitions. ...
    (comp.unix.aix)
  • Re: "True Clone" Builders including Windows XP OEM disks?
    ... FDISK can still be run form a win98 bootdisk. ... partitions, which will certainly work with XP. ... Microsoft offer a free download of what they call XP "setup" disks. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Intermittent Errors with AIX
    ... Sometimes the problem occurs compiling applications, ... One or more of the file systems are corrupted or contain dirty ... One or more of the hard disks have partially failed and resulted in ... data loss on several partitions. ...
    (comp.unix.aix)
  • Re: Disk partitioning
    ... > VERY small partitions. ... Volume groups contain physical volumes (disks, RAID systems, ... LUNs on the SAN) and logical volumes (file systems, paging space, ... You should have a large number of unused PP's in your rootvg, ...
    (comp.unix.aix)