LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 02-07-2006, 08:34 PM   #1
arunka
Member
 
Registered: Mar 2005
Posts: 60

Rep: Reputation: 15
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
Arun
 
Old 02-08-2006, 12:00 AM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 57
please reframe ur question

i am not able to get to what do u want

regards
 
Old 02-08-2006, 12:22 AM   #3
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 57
Quote:
Originally Posted by arunka
Hi all
Hi
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

dmesg

there u can see some options for ur hdd

also lookout for any hardware monitor

what distro are u using ???

regards
 
Old 02-08-2006, 12:27 AM   #4
arunka
Member
 
Registered: Mar 2005
Posts: 60

Original Poster
Rep: Reputation: 15
hard disk parameter

i am using SUSE 9.0
 
Old 02-08-2006, 12:41 AM   #5
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
What exactly is the question? If all you are interested in is some basic info about your hard drive, just run
Code:
fdisk -l
Note that's a lowercase "L". Good luck with it
 
Old 02-08-2006, 12:46 AM   #6
arunka
Member
 
Registered: Mar 2005
Posts: 60

Original Poster
Rep: Reputation: 15
Hi
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??
 
Old 02-08-2006, 06:43 PM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
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.
 
Old 02-08-2006, 07:46 PM   #8
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
I'm also not sure exactly what you want, but if you need some info about the disk you could try hdparm:
Code:
hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
        Model Number:       ST340014AS
        Serial Number:      5MQ1DTKQ
        Firmware Revision:  8.12
Standards:
        Used: ATA/ATAPI-6 T13 1410D revision 2
        Supported: 6 5 4 3
Configuration:
        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)
Capabilities:
        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
Commands/features:
        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
Security:
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
        not     frozen
        not     expired: security count
        not     supported: enhanced erase
Checksum: correct
 
Old 02-09-2006, 04:43 AM   #9
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

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

http://www.techworld.com/storage/fea...e=1&pagePos=13

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
Topology = PTTOPT_FABRIC
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

Last edited by satinet; 02-09-2006 at 04:46 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 8 12-23-2012 12:51 AM
Reiser file system / Hard Disk/ Hard Drive Problems Oxyacetylene Linux - Software 4 10-10-2005 02:24 PM
Reclaim disk partition from hard disk installation EStester Linux - Enterprise 2 03-09-2005 11:46 AM
Reclaim disk partition from hard disk installation EStester Linux - General 1 03-09-2005 11:25 AM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 06:08 PM


All times are GMT -5. The time now is 08:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration