Re: Physical Disk Size

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

 





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.
**********************************************************************
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux