How to see disk details like manufacturer in Linux












53














With sfdisk -s I can see the disk capacity as follows:



$ sfdisk -s
/dev/cciss/c0d0: 143338560
total: 143338560 blocks


How do I see disk details like disk manufacturer? I tried hdparm, but got an error:



$ hdparm -i  /dev/cciss/c0d0
/dev/cciss/c0d0:
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device









share|improve this question
























  • related: askubuntu.com/questions/609708/…
    – Ciro Santilli 新疆改造中心 六四事件 法轮功
    Dec 24 '18 at 22:33
















53














With sfdisk -s I can see the disk capacity as follows:



$ sfdisk -s
/dev/cciss/c0d0: 143338560
total: 143338560 blocks


How do I see disk details like disk manufacturer? I tried hdparm, but got an error:



$ hdparm -i  /dev/cciss/c0d0
/dev/cciss/c0d0:
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device









share|improve this question
























  • related: askubuntu.com/questions/609708/…
    – Ciro Santilli 新疆改造中心 六四事件 法轮功
    Dec 24 '18 at 22:33














53












53








53


14





With sfdisk -s I can see the disk capacity as follows:



$ sfdisk -s
/dev/cciss/c0d0: 143338560
total: 143338560 blocks


How do I see disk details like disk manufacturer? I tried hdparm, but got an error:



$ hdparm -i  /dev/cciss/c0d0
/dev/cciss/c0d0:
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device









share|improve this question















With sfdisk -s I can see the disk capacity as follows:



$ sfdisk -s
/dev/cciss/c0d0: 143338560
total: 143338560 blocks


How do I see disk details like disk manufacturer? I tried hdparm, but got an error:



$ hdparm -i  /dev/cciss/c0d0
/dev/cciss/c0d0:
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device






linux hard-disk sfdisk






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 22 '10 at 19:05









Michael Mrozek

60.6k29187208




60.6k29187208










asked Dec 22 '10 at 10:56







user3266



















  • related: askubuntu.com/questions/609708/…
    – Ciro Santilli 新疆改造中心 六四事件 法轮功
    Dec 24 '18 at 22:33


















  • related: askubuntu.com/questions/609708/…
    – Ciro Santilli 新疆改造中心 六四事件 法轮功
    Dec 24 '18 at 22:33
















related: askubuntu.com/questions/609708/…
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Dec 24 '18 at 22:33




related: askubuntu.com/questions/609708/…
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Dec 24 '18 at 22:33










7 Answers
7






active

oldest

votes


















57














Try these commands:



lshw -class disk  

hwinfo --disk


You may have to install hwinfo.



Concerning hdparm:

hdparm(8) says:



Although this utility is intended primarily for use with SATA/IDE hard disk 
devices, several of the options are also valid (and permitted) for use with
SCSI hard disk devices and MFM/RLL hard disks with XT interfaces.


and:



Some options (eg. -r for SCSI) may not work with old kernels as necessary 
ioctl()´s were not supported.





share|improve this answer





















  • the command hwinfo & lshw are not installed in my linux
    – user3266
    Dec 22 '10 at 13:36












  • can you provide some more information about your system?
    – wag
    Dec 22 '10 at 17:07










  • @jennifer: Install at least one of them! All the information they return is available elsewhere, but they have the advantage of collecting all that information from many different places.
    – Gilles
    Dec 22 '10 at 19:50










  • Running the command lshw -class disk as a regular user does not display information on disk (Ubuntu 15.04). Hopefully the bottom printed line says "WARNING: output may be incomplete or inaccurate, you should run this program as super-user." Running again using sudo fixes the issue :-)
    – olibre
    Oct 20 '15 at 21:13












  • I wonder why lshw simply did not show my SSD: unix.stackexchange.com/questions/5085/…
    – Ciro Santilli 新疆改造中心 六四事件 法轮功
    Dec 24 '18 at 23:15



















29














You could read the disk properties directly through sysfs, also check the other files/dirs in /sys/class/block/sda/device/ (replace sda with drive you need).



cat /sys/class/block/sda/device/{model,vendor} 





share|improve this answer





















  • I dont have block directory
    – user3266
    Dec 22 '10 at 13:36










  • Use a recent kernel maybe, what distro are you using? try dmesg | less, should see the disks get probed.
    – OneOfOne
    Dec 22 '10 at 14:20










  • @jennifer: cat /sys/block/sd?/device/{model,vendor} (/sys/class/block only appeared fairly recently, and your distribution is a little old).
    – Gilles
    Dec 22 '10 at 19:52





















12














try running smartctl -a /dev/hda (could be sda in your case; cat /proc/partitions will show you the device type to use)



In your case it's behind a cciss controller, so the option should be -d cciss,0 or similar.






share|improve this answer































    7














    I know these answers are 3 years old, but for anyone looking around...
    In older versions you could find that under (? should be a number):



    /sys/class/scsi_device/?:?:?:?/device/model


    by doing this:



    cat /sys/class/scsi_device/0:0:0:0/device/{model,vendor}


    (The backslashes next to zeros are for escaping special char :.)






    share|improve this answer































      0














      gnome-disks



      Either gnome-disks or just "Disks" on the Ubuntu 18.10 dash:



      enter image description here



      This shows that I have a SAMSUNG MZVLB512HAJQ-000L7 in my Lenovo ThinkPad P51.



      TODO why: for some reason, my SSD model was not showing clearly on either of:



      sudo lshw -class disk
      sudo hwinfo --disk



      • lshw did not how the SSD at all, only my hard disk



      • hwinfo did show both, but for the SSD said just:



        Model: "Samsung Electronics Disk"


        while for the HD it contains the actual model...



        Model: "ST1000LM035-1RK1"



      This one from https://unix.stackexchange.com/a/5087/32558 worked though:



      cat /sys/block/nvme0n1/device/model





      share|improve this answer































        -2














        The lssd command can also help you.






        share|improve this answer























        • Can you provide some sample output or an explanation of where to find this tool? It's not available in my Fedora 20 system, for example.
          – slm
          Sep 9 '14 at 2:09










        • @slm That is part of the fibreutils package that originates/d from HP.
          – Anthon
          Sep 9 '14 at 3:18










        • @Anthon - so then it's not a standard linux package?
          – slm
          Sep 9 '14 at 3:25










        • @slm I'm pretty sure I have it from the RedHat machines I used to have access to. It is a bash script, but I haven't used it for many years. It calls scsi_info which I don't have on my Ubuntu system at all.
          – Anthon
          Sep 9 '14 at 3:32










        • @slm correction, I have the source for scsi_info, comes with the RPM. Just not compiled/installed.
          – Anthon
          Sep 9 '14 at 3:34





















        -3














        Try this command as root user.



        hpacucli ctrl all show config detail





        share|improve this answer



















        • 2




          this is a command specific to hp raid controllers - so it is not useful here
          – geruetzel
          Oct 27 '16 at 15:28











        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "106"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f5085%2fhow-to-see-disk-details-like-manufacturer-in-linux%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown
























        7 Answers
        7






        active

        oldest

        votes








        7 Answers
        7






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        57














        Try these commands:



        lshw -class disk  

        hwinfo --disk


        You may have to install hwinfo.



        Concerning hdparm:

        hdparm(8) says:



        Although this utility is intended primarily for use with SATA/IDE hard disk 
        devices, several of the options are also valid (and permitted) for use with
        SCSI hard disk devices and MFM/RLL hard disks with XT interfaces.


        and:



        Some options (eg. -r for SCSI) may not work with old kernels as necessary 
        ioctl()´s were not supported.





        share|improve this answer





















        • the command hwinfo & lshw are not installed in my linux
          – user3266
          Dec 22 '10 at 13:36












        • can you provide some more information about your system?
          – wag
          Dec 22 '10 at 17:07










        • @jennifer: Install at least one of them! All the information they return is available elsewhere, but they have the advantage of collecting all that information from many different places.
          – Gilles
          Dec 22 '10 at 19:50










        • Running the command lshw -class disk as a regular user does not display information on disk (Ubuntu 15.04). Hopefully the bottom printed line says "WARNING: output may be incomplete or inaccurate, you should run this program as super-user." Running again using sudo fixes the issue :-)
          – olibre
          Oct 20 '15 at 21:13












        • I wonder why lshw simply did not show my SSD: unix.stackexchange.com/questions/5085/…
          – Ciro Santilli 新疆改造中心 六四事件 法轮功
          Dec 24 '18 at 23:15
















        57














        Try these commands:



        lshw -class disk  

        hwinfo --disk


        You may have to install hwinfo.



        Concerning hdparm:

        hdparm(8) says:



        Although this utility is intended primarily for use with SATA/IDE hard disk 
        devices, several of the options are also valid (and permitted) for use with
        SCSI hard disk devices and MFM/RLL hard disks with XT interfaces.


        and:



        Some options (eg. -r for SCSI) may not work with old kernels as necessary 
        ioctl()´s were not supported.





        share|improve this answer





















        • the command hwinfo & lshw are not installed in my linux
          – user3266
          Dec 22 '10 at 13:36












        • can you provide some more information about your system?
          – wag
          Dec 22 '10 at 17:07










        • @jennifer: Install at least one of them! All the information they return is available elsewhere, but they have the advantage of collecting all that information from many different places.
          – Gilles
          Dec 22 '10 at 19:50










        • Running the command lshw -class disk as a regular user does not display information on disk (Ubuntu 15.04). Hopefully the bottom printed line says "WARNING: output may be incomplete or inaccurate, you should run this program as super-user." Running again using sudo fixes the issue :-)
          – olibre
          Oct 20 '15 at 21:13












        • I wonder why lshw simply did not show my SSD: unix.stackexchange.com/questions/5085/…
          – Ciro Santilli 新疆改造中心 六四事件 法轮功
          Dec 24 '18 at 23:15














        57












        57








        57






        Try these commands:



        lshw -class disk  

        hwinfo --disk


        You may have to install hwinfo.



        Concerning hdparm:

        hdparm(8) says:



        Although this utility is intended primarily for use with SATA/IDE hard disk 
        devices, several of the options are also valid (and permitted) for use with
        SCSI hard disk devices and MFM/RLL hard disks with XT interfaces.


        and:



        Some options (eg. -r for SCSI) may not work with old kernels as necessary 
        ioctl()´s were not supported.





        share|improve this answer












        Try these commands:



        lshw -class disk  

        hwinfo --disk


        You may have to install hwinfo.



        Concerning hdparm:

        hdparm(8) says:



        Although this utility is intended primarily for use with SATA/IDE hard disk 
        devices, several of the options are also valid (and permitted) for use with
        SCSI hard disk devices and MFM/RLL hard disks with XT interfaces.


        and:



        Some options (eg. -r for SCSI) may not work with old kernels as necessary 
        ioctl()´s were not supported.






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 22 '10 at 13:12









        wag

        24.9k65547




        24.9k65547












        • the command hwinfo & lshw are not installed in my linux
          – user3266
          Dec 22 '10 at 13:36












        • can you provide some more information about your system?
          – wag
          Dec 22 '10 at 17:07










        • @jennifer: Install at least one of them! All the information they return is available elsewhere, but they have the advantage of collecting all that information from many different places.
          – Gilles
          Dec 22 '10 at 19:50










        • Running the command lshw -class disk as a regular user does not display information on disk (Ubuntu 15.04). Hopefully the bottom printed line says "WARNING: output may be incomplete or inaccurate, you should run this program as super-user." Running again using sudo fixes the issue :-)
          – olibre
          Oct 20 '15 at 21:13












        • I wonder why lshw simply did not show my SSD: unix.stackexchange.com/questions/5085/…
          – Ciro Santilli 新疆改造中心 六四事件 法轮功
          Dec 24 '18 at 23:15


















        • the command hwinfo & lshw are not installed in my linux
          – user3266
          Dec 22 '10 at 13:36












        • can you provide some more information about your system?
          – wag
          Dec 22 '10 at 17:07










        • @jennifer: Install at least one of them! All the information they return is available elsewhere, but they have the advantage of collecting all that information from many different places.
          – Gilles
          Dec 22 '10 at 19:50










        • Running the command lshw -class disk as a regular user does not display information on disk (Ubuntu 15.04). Hopefully the bottom printed line says "WARNING: output may be incomplete or inaccurate, you should run this program as super-user." Running again using sudo fixes the issue :-)
          – olibre
          Oct 20 '15 at 21:13












        • I wonder why lshw simply did not show my SSD: unix.stackexchange.com/questions/5085/…
          – Ciro Santilli 新疆改造中心 六四事件 法轮功
          Dec 24 '18 at 23:15
















        the command hwinfo & lshw are not installed in my linux
        – user3266
        Dec 22 '10 at 13:36






        the command hwinfo & lshw are not installed in my linux
        – user3266
        Dec 22 '10 at 13:36














        can you provide some more information about your system?
        – wag
        Dec 22 '10 at 17:07




        can you provide some more information about your system?
        – wag
        Dec 22 '10 at 17:07












        @jennifer: Install at least one of them! All the information they return is available elsewhere, but they have the advantage of collecting all that information from many different places.
        – Gilles
        Dec 22 '10 at 19:50




        @jennifer: Install at least one of them! All the information they return is available elsewhere, but they have the advantage of collecting all that information from many different places.
        – Gilles
        Dec 22 '10 at 19:50












        Running the command lshw -class disk as a regular user does not display information on disk (Ubuntu 15.04). Hopefully the bottom printed line says "WARNING: output may be incomplete or inaccurate, you should run this program as super-user." Running again using sudo fixes the issue :-)
        – olibre
        Oct 20 '15 at 21:13






        Running the command lshw -class disk as a regular user does not display information on disk (Ubuntu 15.04). Hopefully the bottom printed line says "WARNING: output may be incomplete or inaccurate, you should run this program as super-user." Running again using sudo fixes the issue :-)
        – olibre
        Oct 20 '15 at 21:13














        I wonder why lshw simply did not show my SSD: unix.stackexchange.com/questions/5085/…
        – Ciro Santilli 新疆改造中心 六四事件 法轮功
        Dec 24 '18 at 23:15




        I wonder why lshw simply did not show my SSD: unix.stackexchange.com/questions/5085/…
        – Ciro Santilli 新疆改造中心 六四事件 法轮功
        Dec 24 '18 at 23:15













        29














        You could read the disk properties directly through sysfs, also check the other files/dirs in /sys/class/block/sda/device/ (replace sda with drive you need).



        cat /sys/class/block/sda/device/{model,vendor} 





        share|improve this answer





















        • I dont have block directory
          – user3266
          Dec 22 '10 at 13:36










        • Use a recent kernel maybe, what distro are you using? try dmesg | less, should see the disks get probed.
          – OneOfOne
          Dec 22 '10 at 14:20










        • @jennifer: cat /sys/block/sd?/device/{model,vendor} (/sys/class/block only appeared fairly recently, and your distribution is a little old).
          – Gilles
          Dec 22 '10 at 19:52


















        29














        You could read the disk properties directly through sysfs, also check the other files/dirs in /sys/class/block/sda/device/ (replace sda with drive you need).



        cat /sys/class/block/sda/device/{model,vendor} 





        share|improve this answer





















        • I dont have block directory
          – user3266
          Dec 22 '10 at 13:36










        • Use a recent kernel maybe, what distro are you using? try dmesg | less, should see the disks get probed.
          – OneOfOne
          Dec 22 '10 at 14:20










        • @jennifer: cat /sys/block/sd?/device/{model,vendor} (/sys/class/block only appeared fairly recently, and your distribution is a little old).
          – Gilles
          Dec 22 '10 at 19:52
















        29












        29








        29






        You could read the disk properties directly through sysfs, also check the other files/dirs in /sys/class/block/sda/device/ (replace sda with drive you need).



        cat /sys/class/block/sda/device/{model,vendor} 





        share|improve this answer












        You could read the disk properties directly through sysfs, also check the other files/dirs in /sys/class/block/sda/device/ (replace sda with drive you need).



        cat /sys/class/block/sda/device/{model,vendor} 






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 22 '10 at 13:25









        OneOfOne

        820613




        820613












        • I dont have block directory
          – user3266
          Dec 22 '10 at 13:36










        • Use a recent kernel maybe, what distro are you using? try dmesg | less, should see the disks get probed.
          – OneOfOne
          Dec 22 '10 at 14:20










        • @jennifer: cat /sys/block/sd?/device/{model,vendor} (/sys/class/block only appeared fairly recently, and your distribution is a little old).
          – Gilles
          Dec 22 '10 at 19:52




















        • I dont have block directory
          – user3266
          Dec 22 '10 at 13:36










        • Use a recent kernel maybe, what distro are you using? try dmesg | less, should see the disks get probed.
          – OneOfOne
          Dec 22 '10 at 14:20










        • @jennifer: cat /sys/block/sd?/device/{model,vendor} (/sys/class/block only appeared fairly recently, and your distribution is a little old).
          – Gilles
          Dec 22 '10 at 19:52


















        I dont have block directory
        – user3266
        Dec 22 '10 at 13:36




        I dont have block directory
        – user3266
        Dec 22 '10 at 13:36












        Use a recent kernel maybe, what distro are you using? try dmesg | less, should see the disks get probed.
        – OneOfOne
        Dec 22 '10 at 14:20




        Use a recent kernel maybe, what distro are you using? try dmesg | less, should see the disks get probed.
        – OneOfOne
        Dec 22 '10 at 14:20












        @jennifer: cat /sys/block/sd?/device/{model,vendor} (/sys/class/block only appeared fairly recently, and your distribution is a little old).
        – Gilles
        Dec 22 '10 at 19:52






        @jennifer: cat /sys/block/sd?/device/{model,vendor} (/sys/class/block only appeared fairly recently, and your distribution is a little old).
        – Gilles
        Dec 22 '10 at 19:52













        12














        try running smartctl -a /dev/hda (could be sda in your case; cat /proc/partitions will show you the device type to use)



        In your case it's behind a cciss controller, so the option should be -d cciss,0 or similar.






        share|improve this answer




























          12














          try running smartctl -a /dev/hda (could be sda in your case; cat /proc/partitions will show you the device type to use)



          In your case it's behind a cciss controller, so the option should be -d cciss,0 or similar.






          share|improve this answer


























            12












            12








            12






            try running smartctl -a /dev/hda (could be sda in your case; cat /proc/partitions will show you the device type to use)



            In your case it's behind a cciss controller, so the option should be -d cciss,0 or similar.






            share|improve this answer














            try running smartctl -a /dev/hda (could be sda in your case; cat /proc/partitions will show you the device type to use)



            In your case it's behind a cciss controller, so the option should be -d cciss,0 or similar.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Sep 8 '12 at 17:56









            Michael Mrozek

            60.6k29187208




            60.6k29187208










            answered Dec 22 '10 at 14:04







            Patrick






























                7














                I know these answers are 3 years old, but for anyone looking around...
                In older versions you could find that under (? should be a number):



                /sys/class/scsi_device/?:?:?:?/device/model


                by doing this:



                cat /sys/class/scsi_device/0:0:0:0/device/{model,vendor}


                (The backslashes next to zeros are for escaping special char :.)






                share|improve this answer




























                  7














                  I know these answers are 3 years old, but for anyone looking around...
                  In older versions you could find that under (? should be a number):



                  /sys/class/scsi_device/?:?:?:?/device/model


                  by doing this:



                  cat /sys/class/scsi_device/0:0:0:0/device/{model,vendor}


                  (The backslashes next to zeros are for escaping special char :.)






                  share|improve this answer


























                    7












                    7








                    7






                    I know these answers are 3 years old, but for anyone looking around...
                    In older versions you could find that under (? should be a number):



                    /sys/class/scsi_device/?:?:?:?/device/model


                    by doing this:



                    cat /sys/class/scsi_device/0:0:0:0/device/{model,vendor}


                    (The backslashes next to zeros are for escaping special char :.)






                    share|improve this answer














                    I know these answers are 3 years old, but for anyone looking around...
                    In older versions you could find that under (? should be a number):



                    /sys/class/scsi_device/?:?:?:?/device/model


                    by doing this:



                    cat /sys/class/scsi_device/0:0:0:0/device/{model,vendor}


                    (The backslashes next to zeros are for escaping special char :.)







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Feb 28 '13 at 21:51









                    Kazark

                    5952829




                    5952829










                    answered Feb 28 '13 at 21:03









                    lito15

                    7111




                    7111























                        0














                        gnome-disks



                        Either gnome-disks or just "Disks" on the Ubuntu 18.10 dash:



                        enter image description here



                        This shows that I have a SAMSUNG MZVLB512HAJQ-000L7 in my Lenovo ThinkPad P51.



                        TODO why: for some reason, my SSD model was not showing clearly on either of:



                        sudo lshw -class disk
                        sudo hwinfo --disk



                        • lshw did not how the SSD at all, only my hard disk



                        • hwinfo did show both, but for the SSD said just:



                          Model: "Samsung Electronics Disk"


                          while for the HD it contains the actual model...



                          Model: "ST1000LM035-1RK1"



                        This one from https://unix.stackexchange.com/a/5087/32558 worked though:



                        cat /sys/block/nvme0n1/device/model





                        share|improve this answer




























                          0














                          gnome-disks



                          Either gnome-disks or just "Disks" on the Ubuntu 18.10 dash:



                          enter image description here



                          This shows that I have a SAMSUNG MZVLB512HAJQ-000L7 in my Lenovo ThinkPad P51.



                          TODO why: for some reason, my SSD model was not showing clearly on either of:



                          sudo lshw -class disk
                          sudo hwinfo --disk



                          • lshw did not how the SSD at all, only my hard disk



                          • hwinfo did show both, but for the SSD said just:



                            Model: "Samsung Electronics Disk"


                            while for the HD it contains the actual model...



                            Model: "ST1000LM035-1RK1"



                          This one from https://unix.stackexchange.com/a/5087/32558 worked though:



                          cat /sys/block/nvme0n1/device/model





                          share|improve this answer


























                            0












                            0








                            0






                            gnome-disks



                            Either gnome-disks or just "Disks" on the Ubuntu 18.10 dash:



                            enter image description here



                            This shows that I have a SAMSUNG MZVLB512HAJQ-000L7 in my Lenovo ThinkPad P51.



                            TODO why: for some reason, my SSD model was not showing clearly on either of:



                            sudo lshw -class disk
                            sudo hwinfo --disk



                            • lshw did not how the SSD at all, only my hard disk



                            • hwinfo did show both, but for the SSD said just:



                              Model: "Samsung Electronics Disk"


                              while for the HD it contains the actual model...



                              Model: "ST1000LM035-1RK1"



                            This one from https://unix.stackexchange.com/a/5087/32558 worked though:



                            cat /sys/block/nvme0n1/device/model





                            share|improve this answer














                            gnome-disks



                            Either gnome-disks or just "Disks" on the Ubuntu 18.10 dash:



                            enter image description here



                            This shows that I have a SAMSUNG MZVLB512HAJQ-000L7 in my Lenovo ThinkPad P51.



                            TODO why: for some reason, my SSD model was not showing clearly on either of:



                            sudo lshw -class disk
                            sudo hwinfo --disk



                            • lshw did not how the SSD at all, only my hard disk



                            • hwinfo did show both, but for the SSD said just:



                              Model: "Samsung Electronics Disk"


                              while for the HD it contains the actual model...



                              Model: "ST1000LM035-1RK1"



                            This one from https://unix.stackexchange.com/a/5087/32558 worked though:



                            cat /sys/block/nvme0n1/device/model






                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Dec 24 '18 at 23:26

























                            answered Dec 24 '18 at 23:14









                            Ciro Santilli 新疆改造中心 六四事件 法轮功

                            4,93124041




                            4,93124041























                                -2














                                The lssd command can also help you.






                                share|improve this answer























                                • Can you provide some sample output or an explanation of where to find this tool? It's not available in my Fedora 20 system, for example.
                                  – slm
                                  Sep 9 '14 at 2:09










                                • @slm That is part of the fibreutils package that originates/d from HP.
                                  – Anthon
                                  Sep 9 '14 at 3:18










                                • @Anthon - so then it's not a standard linux package?
                                  – slm
                                  Sep 9 '14 at 3:25










                                • @slm I'm pretty sure I have it from the RedHat machines I used to have access to. It is a bash script, but I haven't used it for many years. It calls scsi_info which I don't have on my Ubuntu system at all.
                                  – Anthon
                                  Sep 9 '14 at 3:32










                                • @slm correction, I have the source for scsi_info, comes with the RPM. Just not compiled/installed.
                                  – Anthon
                                  Sep 9 '14 at 3:34


















                                -2














                                The lssd command can also help you.






                                share|improve this answer























                                • Can you provide some sample output or an explanation of where to find this tool? It's not available in my Fedora 20 system, for example.
                                  – slm
                                  Sep 9 '14 at 2:09










                                • @slm That is part of the fibreutils package that originates/d from HP.
                                  – Anthon
                                  Sep 9 '14 at 3:18










                                • @Anthon - so then it's not a standard linux package?
                                  – slm
                                  Sep 9 '14 at 3:25










                                • @slm I'm pretty sure I have it from the RedHat machines I used to have access to. It is a bash script, but I haven't used it for many years. It calls scsi_info which I don't have on my Ubuntu system at all.
                                  – Anthon
                                  Sep 9 '14 at 3:32










                                • @slm correction, I have the source for scsi_info, comes with the RPM. Just not compiled/installed.
                                  – Anthon
                                  Sep 9 '14 at 3:34
















                                -2












                                -2








                                -2






                                The lssd command can also help you.






                                share|improve this answer














                                The lssd command can also help you.







                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Sep 9 '14 at 2:09









                                slm

                                247k66513678




                                247k66513678










                                answered Sep 9 '14 at 1:29









                                sacthivel

                                1




                                1












                                • Can you provide some sample output or an explanation of where to find this tool? It's not available in my Fedora 20 system, for example.
                                  – slm
                                  Sep 9 '14 at 2:09










                                • @slm That is part of the fibreutils package that originates/d from HP.
                                  – Anthon
                                  Sep 9 '14 at 3:18










                                • @Anthon - so then it's not a standard linux package?
                                  – slm
                                  Sep 9 '14 at 3:25










                                • @slm I'm pretty sure I have it from the RedHat machines I used to have access to. It is a bash script, but I haven't used it for many years. It calls scsi_info which I don't have on my Ubuntu system at all.
                                  – Anthon
                                  Sep 9 '14 at 3:32










                                • @slm correction, I have the source for scsi_info, comes with the RPM. Just not compiled/installed.
                                  – Anthon
                                  Sep 9 '14 at 3:34




















                                • Can you provide some sample output or an explanation of where to find this tool? It's not available in my Fedora 20 system, for example.
                                  – slm
                                  Sep 9 '14 at 2:09










                                • @slm That is part of the fibreutils package that originates/d from HP.
                                  – Anthon
                                  Sep 9 '14 at 3:18










                                • @Anthon - so then it's not a standard linux package?
                                  – slm
                                  Sep 9 '14 at 3:25










                                • @slm I'm pretty sure I have it from the RedHat machines I used to have access to. It is a bash script, but I haven't used it for many years. It calls scsi_info which I don't have on my Ubuntu system at all.
                                  – Anthon
                                  Sep 9 '14 at 3:32










                                • @slm correction, I have the source for scsi_info, comes with the RPM. Just not compiled/installed.
                                  – Anthon
                                  Sep 9 '14 at 3:34


















                                Can you provide some sample output or an explanation of where to find this tool? It's not available in my Fedora 20 system, for example.
                                – slm
                                Sep 9 '14 at 2:09




                                Can you provide some sample output or an explanation of where to find this tool? It's not available in my Fedora 20 system, for example.
                                – slm
                                Sep 9 '14 at 2:09












                                @slm That is part of the fibreutils package that originates/d from HP.
                                – Anthon
                                Sep 9 '14 at 3:18




                                @slm That is part of the fibreutils package that originates/d from HP.
                                – Anthon
                                Sep 9 '14 at 3:18












                                @Anthon - so then it's not a standard linux package?
                                – slm
                                Sep 9 '14 at 3:25




                                @Anthon - so then it's not a standard linux package?
                                – slm
                                Sep 9 '14 at 3:25












                                @slm I'm pretty sure I have it from the RedHat machines I used to have access to. It is a bash script, but I haven't used it for many years. It calls scsi_info which I don't have on my Ubuntu system at all.
                                – Anthon
                                Sep 9 '14 at 3:32




                                @slm I'm pretty sure I have it from the RedHat machines I used to have access to. It is a bash script, but I haven't used it for many years. It calls scsi_info which I don't have on my Ubuntu system at all.
                                – Anthon
                                Sep 9 '14 at 3:32












                                @slm correction, I have the source for scsi_info, comes with the RPM. Just not compiled/installed.
                                – Anthon
                                Sep 9 '14 at 3:34






                                @slm correction, I have the source for scsi_info, comes with the RPM. Just not compiled/installed.
                                – Anthon
                                Sep 9 '14 at 3:34













                                -3














                                Try this command as root user.



                                hpacucli ctrl all show config detail





                                share|improve this answer



















                                • 2




                                  this is a command specific to hp raid controllers - so it is not useful here
                                  – geruetzel
                                  Oct 27 '16 at 15:28
















                                -3














                                Try this command as root user.



                                hpacucli ctrl all show config detail





                                share|improve this answer



















                                • 2




                                  this is a command specific to hp raid controllers - so it is not useful here
                                  – geruetzel
                                  Oct 27 '16 at 15:28














                                -3












                                -3








                                -3






                                Try this command as root user.



                                hpacucli ctrl all show config detail





                                share|improve this answer














                                Try this command as root user.



                                hpacucli ctrl all show config detail






                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Jun 24 '14 at 16:00









                                Ramesh

                                23.3k32101181




                                23.3k32101181










                                answered Jun 24 '14 at 15:41









                                user73489

                                1




                                1








                                • 2




                                  this is a command specific to hp raid controllers - so it is not useful here
                                  – geruetzel
                                  Oct 27 '16 at 15:28














                                • 2




                                  this is a command specific to hp raid controllers - so it is not useful here
                                  – geruetzel
                                  Oct 27 '16 at 15:28








                                2




                                2




                                this is a command specific to hp raid controllers - so it is not useful here
                                – geruetzel
                                Oct 27 '16 at 15:28




                                this is a command specific to hp raid controllers - so it is not useful here
                                – geruetzel
                                Oct 27 '16 at 15:28


















                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Unix & Linux Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f5085%2fhow-to-see-disk-details-like-manufacturer-in-linux%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Morgemoulin

                                Scott Moir

                                Souastre