Brand HARD DISKs installed

Oct 3, 2023
3
0
1
Hi Team
can you please inform me what linux command shoudl I issued to get Hard disks model and brand that I have on my own clusters ?

Code:
root@pve3:~# hdparm -i /dev/hda
/dev/hda: No such file or directory
root@pve3:~# hdparm -I /dev/sda1

/dev/sda1:

ATA device, with non-removable media
Standards:
        Likely used: 1
Configuration:
        Logical         max     current
        cylinders       0       0
        heads           0       0
        sectors/track   0       0
        --
        Logical/Physical Sector size:           512 bytes
        device size with M = 1024*1024:           0 MBytes
        device size with M = 1000*1000:           0 MBytes
        cache/buffer size  = unknown
Capabilities:
        IORDY not likely
        Cannot perform double-word IO
        R/W multiple sector transfer: not supported
        DMA: not supported
        PIO: pio0
root@pve3:~#
root@pve3:~#
root@pve3:~#
root@pve3:~# lsblk -o +SERIAL
NAME                                                                                  MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT SERIAL
sda                                                                                     8:0    0   200G  0 disk            000a5e8d64c023fc240067168bf098cd
├─sda1                                                                                  8:1    0  1007K  0 part           
├─sda2                                                                                  8:2    0   512M  0 part /boot/efi 
└─sda3                                                                                  8:3    0 199.5G  0 part           
  ├─pve-swap                                                                          253:2    0     8G  0 lvm  [SWAP]     
  ├─pve-root                                                                          253:3    0  49.8G  0 lvm  /         
  ├─pve-data_tmeta                                                                    253:4    0   1.3G  0 lvm             
  │ └─pve-data                                                                        253:6    0 123.2G  0 lvm             
  └─pve-data_tdata                                                                    253:5    0 123.2G  0 lvm             
    └─pve-data                                                                        253:6    0 123.2G  0 lvm             
sdb                                                                                     8:16   0   3.3T  0 disk            008d02b46cc623fc240067168bf098cd
└─sdb1                                                                                  8:17   0   3.3T  0 part /mnt/data 
sdc                                                                                     8:32   0 893.8G  0 disk            007e15d62b5cb3f4250067168bf098cd
└─ceph--68820177--004d--4c6a--8502--02fc452b66d8-osd--block--3a063117--19b2--48a9--b8f9--78a42c184e1a
                                                                                      253:0    0 893.7G  0 lvm             
sdd                                                                                     8:48   0 893.8G  0 disk            004c0da75b7cb3f4250067168bf098cd
└─ceph--b864cd3f--6f15--4146--b133--716570bf15f9-osd--block--4cb2c123--a00f--4dd4--af5d--97320b43e824
                                                                                      253:1    0 893.7G  0 lvm             
sr0                                                                                    11:0    1  1024M  0 rom             M28J4BF4945
root@pve3:~# ^C
root@pve3:~#
 
Last edited:
proxmox:~# dmesg | grep scsi | grep Direct-Access
[ 3.038526] scsi 1:0:0:0: Direct-Access ATA GB0250EAFYK HPG2 PQ: 0 ANSI: 5 [ 3.047625] scsi 2:0:0:0: Direct-Access ATA SAMSUNG HD103SJ 0001 PQ: 0 ANSI: 5 [ 3.091783] scsi 3:0:0:0: Direct-Access ATA SAMSUNG HD103SJ 0001 PQ: 0 ANSI: 5 [ 313.872792] scsi 9:0:0:0: Direct-Access Seagate Expansion 0219 PQ: 0 ANSI: 6
 
I can not get as like as you do

Code:
root@PVE1:~# dmesg | grep scsi | grep Direct-Access
[    3.577091] scsi 0:2:0:0: Direct-Access     DELL     PERC H740P Adp   5.05 PQ: 0 ANSI: 5
[    3.577422] scsi 0:2:1:0: Direct-Access     DELL     PERC H740P Adp   5.05 PQ: 0 ANSI: 5
[    3.577741] scsi 0:2:2:0: Direct-Access     DELL     PERC H740P Adp   5.05 PQ: 0 ANSI: 5
[    3.578058] scsi 0:2:3:0: Direct-Access     DELL     PERC H740P Adp   5.05 PQ: 0 ANSI: 5
root@PVE1:~#
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!