Re: Physical Disk Size






I have just found the info in dmesg when i do a "dmesg |grep SCSI", not
sure why i did not see it before but thanks for all the replies.

Regards

[IMAGE]
|+--------------------------+---------------------------------------------|
|| Dalibor Juric | |
|| <djuric@xxxxxxxxxxxxx> |         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 12:57 | |
|| Please respond to | |
|| General Red Hat Linux | |
|| discussion list | |
|| | |
|+--------------------------+---------------------------------------------|






You need root permissions for fdisk command

Dalibor Juric

Red Hat Certified Technician
Technical Support IBM und FSC


Livingston Electronic Services GmbH
Borsigstr.11
64291 Darmstadt
Germany

Tel. +49 6151 9344 251
Fax  +49 6151 9344 111

http://www.livingston.com
mailto:djuric@xxxxxxxxxxxxx

LÖSUNGEN, DIE SICH RECHNEN!

This e-mail contains proprietary information some or all of which may be
legally privileged. It is intended for the recipient only. If an
addressing or a transmission error has misdirected this e-mail, please
notify the author by replying to the e-mail. If you are not the intended
recipient you must not use, disclose, distribute, copy, print, or rely
on this e-mail.
__________________________________________________________________





Andrew.Bridgeman@xxxxxxxxxxxxxx schrieb:

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.
**********************************************************************

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
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: pic25167.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

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: [opensuse] Re: Large disks in Opensuse 11
    ... Here is the most recent dmesg: ... at all - there's certainly no mention of a disk drive with SCSI ... try 'fdisk /dev/sdX' where X is the driver letter assigned as per dmesg ... again indicative of a hardware issue). ...
    (SuSE)
  • 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: [opensuse] Re: Large disks in Opensuse 11
    ... but if fdisk cannot access the disk, you have a hardware problem. ... Here is the most recent dmesg: ...
    (SuSE)
  • Re: Resizing NTFS partition to make room for FC10
    ... I have a 150GB ATA disk, /dev/hdb, containing winxp. ... I started by using ntfsresize to shrink the xp partition ... still, according to fdisk, thinks its 150GB. ... quickly blue screening a message I couldn't read, and rebooting. ...
    (Fedora)