-   Linux - Hardware (
-   -   Hard disk parameters (

arunka 02-07-2006 08:34 PM

Hard disk parameters
Hi all
can any one let me know how to find
hard-disk WWN, hard-disk(ATA/SATA) type in linux??

Thanks in advance

masand 02-08-2006 12:00 AM

please reframe ur question

i am not able to get to what do u want


masand 02-08-2006 12:22 AM


Originally Posted by arunka
Hi all
i wanted to know how we can get the Hard disk WWN (world wide number) and the hard disk type (ATA/SCSI/SATA) in linux.
Is there any commnad in linux??

thanks in advance
Arun KA

lookout for


there u can see some options for ur hdd

also lookout for any hardware monitor

what distro are u using ???


arunka 02-08-2006 12:27 AM

hard disk parameter
i am using SUSE 9.0

J.W. 02-08-2006 12:41 AM

What exactly is the question? If all you are interested in is some basic info about your hard drive, just run

fdisk -l
Note that's a lowercase "L". Good luck with it

arunka 02-08-2006 12:46 AM

i wanted to know how we can get the Hard disk WWN (world wide number) and the hard disk type (ATA/SCSI/SATA) in linux.
Is there any commnad in linux??

J.W. 02-08-2006 06:43 PM

Sorry - I'm still confused by "WWN world wide number". Do you mean the serial number, or the manufacturer's part number, or something else? My apologies but I am just not familiar with this term (when I hear "world wide number" I'm thinking "IP address"), but hopefully others have.

gilead 02-08-2006 07:46 PM

I'm also not sure exactly what you want, but if you need some info about the disk you could try hdparm:

hdparm -I /dev/sda


ATA device, with non-removable media
        Model Number:      ST340014AS
        Serial Number:      5MQ1DTKQ
        Firmware Revision:  8.12
        Used: ATA/ATAPI-6 T13 1410D revision 2
        Supported: 6 5 4 3
        Logical        max    current
        cylinders      16383  16383
        heads          16      16
        sectors/track  63      63
        CHS current addressable sectors:  16514064
        LBA    user addressable sectors:  78125000
        LBA48  user addressable sectors:  78125000
        device size with M = 1024*1024:      38146 MBytes
        device size with M = 1000*1000:      40000 MBytes (40 GB)
        LBA, IORDY(can be disabled)
        bytes avail on r/w long: 4      Queue depth: 32
        Standby timer values: spec'd by Standard, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 8
        Recommended acoustic management value: 128, current value: 0
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
            Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
            Cycle time: no flow control=240ns  IORDY flow control=120ns
        Enabled Supported:
          *    READ BUFFER cmd
          *    WRITE BUFFER cmd
          *    Host Protected Area feature set
          *    Look-ahead
          *    Write cache
          *    Power Management feature set
                Security Mode feature set
          *    SMART feature set
          *    FLUSH CACHE EXT command
          *    Mandatory FLUSH CACHE command
          *    Device Configuration Overlay feature set
          *    48-bit Address feature set
                Automatic Acoustic Management feature set
                SET MAX security extension
          *    DOWNLOAD MICROCODE cmd
          *    SMART self-test
          *    SMART error logging
        Master password revision code = 65534
        not    enabled
        not    locked
        not    frozen
        not    expired: security count
        not    supported: enhanced erase
Checksum: correct

satinet 02-09-2006 04:43 AM

i am only familiar with wwn numbers in the context of fibre networks. and obviously fibre switches, sans, fibre cards etc.

maybe you have your own SAN.....


from hpux:

fcmsutil /dev/td1

Vendor ID is = 0x00103c
Device ID is = 0x001029
XL2 Chip Revision No is = 2.3
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x00128c
Link Speed = 2Gb
Local N_Port_id is = 0x010900
N_Port Node World Wide Name = 0x50060b0000240cef
N_Port Port World Wide Name = 0x50060b0000240cee
Driver state = ONLINE
Hardware Path is = 0/4/1/0
Number of Assisted IOs = 2129
Number of Active Login Sessions = 1
Dino Present on Card = NO
Maximum Frame Size = 2048
Driver Version = @(#) libtd.a HP Fibre Channel Tachyo1

note the wwn numbers on this HP tachyon card.

also note that the number actually belongs to hitachi and that HP have rebadged this bad boy.... lol

All times are GMT -5. The time now is 06:47 PM.