RE: Physical Disk Size



will df -h not give you the information you want?

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]
On Behalf Of Andrew.Bridgeman@xxxxxxxxxxxxxx
Sent: Friday, December 01, 2006 6:56 AM
To: General Red Hat Linux discussion list
Cc: General Red Hat Linux discussion list; redhat-list-bounces@xxxxxxxxxx
Subject: Re: Physical Disk Size




The fdisk -l does not come back with anything, i just returns to the command
prompt. The *fdisk -l* does not run at all and just says command not found.
The dmesg does not give me the disk size in the output either.
Any more ideas?

Regards

[IMAGE]
|+--------------------------+---------------------------------------------|
|| Nigel Wade | |
|| <nmw@xxxxxxxxxxxx> |         To:        General Red Hat Linux |
|| Sent by: | discussion list <redhat-list@xxxxxxxxxx> |
|| redhat-list-bounces@red|         cc: |
|| hat.com |         Subject:        Re: Physical Disk |
|| | Size |
|| 01/12/2006 11:46 | |
|| Please respond to | |
|| General Red Hat Linux | |
|| discussion list | |
|| | |
|+--------------------------+---------------------------------------------|






Andrew.Bridgeman@xxxxxxxxxxxxxx wrote:

Could someone tell me a command i can run on my Redhat machines to
find
out
the physical disk size of the hard disk in the machine without having
to take the disk out and look at it , this is because  i have some
machines that are 18/36/72/73 gig and need to know which ones they
are. I have run
a
fdisk to show the partitions but i am unsure if all of the machines
have been configured to use all of the disk so there must be a command
i can
run
to just check this out?
Any help would be much appreciated.


Fdisk tells you the size of the disk, as well as the partitions.

# fdisk -l

Disk /dev/sda: 72.9 GB, 72999763968 bytes
255 heads, 63 sectors/track, 8875 cylinders Units = cylinders of 16065 * 512
= 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        1288    10241437+  82  Linux swap
/dev/sda3            1289        8875    60942577+  8e  Linux LVM


On the first line of output it says the disk is 72.9GB.

--
Nigel Wade, System Administrator, Space Plasma Physics Group, University of
Leicester, Leicester, LE1 7RH, UK E-mail :    nmw@xxxxxxxxxxxx Phone :    
+44 (0)116 2523548, Fax : +44 (0)116 2523555

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

(Embedded image moved to file: pic31505.jpg)

**********************************************************************
This transmission is confidential and must not be used or disclosed by
anyone other than the intended recipient. Neither Corus Group Plc nor any of
its subsidiaries can accept any responsibility for any use or misuse of the
transmission by anyone.
**********************************************************************

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.2/559 - Release Date: 11/30/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.2/559 - Release Date: 11/30/2006



--
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
    ... You need root permissions for fdisk command ... The fdisk -l does not come back with anything, ... The dmesg does not give me the disk size in the output either. ... This transmission is confidential and must not be used or disclosed by ...
    (RedHat)
  • Re: Physical Disk Size
    ... The fdisk -l does not come back with anything, ... The *fdisk -l* does not run at all and just says command ... The dmesg does not give me the disk size in the output either. ... This transmission is confidential and must not be used or disclosed by ...
    (RedHat)
  • Re: Physical Disk Size
    ... You need root permissions for fdisk command ... Red Hat Certified Technician ... The *fdisk -l* does not run at all and just says command ... The dmesg does not give me the disk size in the output either. ...
    (RedHat)
  • Re: acer one
    ... wait a couple of seconds and repeat "fdisk -l" ... Disk identifier: 0x04030201 ... The number of cylinders for this disk is set to 2167. ... Command: p ...
    (Fedora)
  • Flashdrive, read-only, cannot write
    ... Disk identifier: 0x09833398 ... You will not be able to write the partition table. ... (e.g., DOS FDISK, OS/2 FDISK) ... Command: d ...
    (Debian-User)