NewServerLife
Rackmount servers
NVMe servers
AMD Based
Tower servers
Blade servers
Have any questions?
Get in touch.
Live Chat

Retrieving Information about SATA HDD Using hdparm in Linux

29 October 2023

In the world of server maintenance, it's crucial to have quick access to information about the hard drives in your system. When dealing with servers configured in RAID1 using mdadm, obtaining details such as the vendor, model, and serial number of your hard drives becomes essential. In this guide, we will walk you through the process of using the hdparm utility to extract this valuable information. Hdparm is a command-line tool designed for Unix-like operating systems, allowing you to regulate and inspect the parameters of ATA interface hard drives.

Please note that hdparm should be used with caution, as it also offers features for configuring drive settings, which, if mishandled, could potentially lead to system instability.

Installation

Before diving into using hdparm, ensure that it is installed on your server. You can install hdparm on Debian-based systems with the following command:

apt install hdparm

For Red Hat-based systems, use the following command:

yum install hdparm

Retrieving Hard Drive Information:

Now that hdparm is installed, you can proceed to gather information about your hard drives. For instance, if you want to obtain details about the hard drive labeled 'sda', run the following command:

hdparm -I /dev/sda

This command will provide you with vital information about the hard drive, including the vendor, model, firmware version, and serial number. This data is crucial for tracking and managing your server's hardware components.


Retrieving Information about SATA HDD Using hdparm in Linux

Conclusion

Having a clear understanding of your server's hard drive configuration is essential for efficient maintenance and troubleshooting. By utilizing hdparm, you can easily retrieve the necessary information about your SATA HDDs in Linux, ensuring that your server infrastructure runs smoothly and reliably.

Always exercise caution when using hdparm, as improper usage can lead to unintended consequences.


Specialists of our company are ready to help you purchase the server and select the necessary server configuration for any required task.


In stock
DELL PowerEdge R630 10SFF
DELL PowerEdge R630 10SFF
1U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 1536 GB (24 x DDR4)
10SFF Bay 2.5" (Hot Swap)
from $338
Configure
In stock
DELL PowerEdge R630 24x1.8"SFF
DELL PowerEdge R630 24x1.8"SFF
1U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 1536 GB (24 x DDR4)
24SFF Bay 1.8" (Hot Swap)
from $328
Configure
In stock
Dell PowerEdge R630 10SFF (4x NVMe U.2)
Dell PowerEdge R630 10SFF (4x NVMe U.2)
1U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 1536 GB (24 x DDR4)
10SFF (4x NVME) Bay 2.5" (Hot Swap)
from $509
Configure
In stock
DELL PowerEdge R630 8SFF
DELL PowerEdge R630 8SFF
1U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 1536 GB (24 x DDR4)
8SFF Bay 2.5" (Hot Swap)
from $339
Configure
1/4
In stock
Dell PowerEdge R640 8SFF
Dell PowerEdge R640 8SFF
1U (rackmount)
up to 2 Xeon Scalable
up to 2048 GB (24 x DDR4)
8SFF Bay 2.5" (Hot Swap)
from $585
Configure
Hot price
Dell PowerEdge R640 10SFF
Dell PowerEdge R640 10SFF
1U (rackmount)
up to 2 Xeon Scalable
up to 2048 GB (24 x DDR4)
10SFF Bay 2.5" (Hot Swap)
from $545 $636
Configure
Hot price
Dell PowerEdge R640 10SFF + 2SFF
Dell PowerEdge R640 10SFF + 2SFF
1U (rackmount)
up to 2 Xeon Scalable
up to 2048 GB (24 x DDR4)
10SFF Bay 2.5" (Hot Swap)
from $585 $666
Configure
Hot price
Dell PowerEdge R640 10SFF (8x NVMe)
Dell PowerEdge R640 10SFF (8x NVMe)
1U (rackmount)
up to 2 Xeon Scalable
up to 2048 GB (24 x DDR4)
10SFF (8x NVME) Bay 2.5" (Hot Swap)
from $685 $736
Configure
Hot price
Dell PowerEdge R640 4LFF
Dell PowerEdge R640 4LFF
1U (rackmount)
up to 2 Xeon Scalable
up to 2048 GB (24 x DDR4)
4LFF Bay 3.5" (Hot Swap)
from $665 $676
Configure
In stock
Dell PowerEdge R640 10SFF (10x NVMe)
Dell PowerEdge R640 10SFF (10x NVMe)
1U (rackmount)
up to 2 Xeon Scalable
up to 2048 GB (24 x DDR4)
10SFF (10x NVME) Bay 2.5" (Hot Swap)
from $876
Configure
In stock
Dell PowerEdge R640 10SFF (4x NVMe)
Dell PowerEdge R640 10SFF (4x NVMe)
1U (rackmount)
up to 2 Xeon Scalable
up to 2048 GB (24 x DDR4)
10SFF (4x NVME) Bay 2.5" (Hot Swap)
from $666
Configure
1/7
In stock
Dell PowerEdge R730xd 12LFF + 4LFF + 2SFF
Dell PowerEdge R730xd 12LFF + 4LFF + 2SFF
2U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
16LFF + 2SFF Bay 3.5" (Hot Swap)
from $468
Configure
In stock
Dell PowerEdge R730xd 26SFF (4x NVMe U.2)
Dell PowerEdge R730xd 26SFF (4x NVMe U.2)
2U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
26SFF (4x NVME) Bay 2.5" (Hot Swap)
from $498
Configure
In stock
Dell PowerEdge R730xd 26SFF
Dell PowerEdge R730xd 26SFF
2U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
26SFF Bay 2.5" (Hot Swap)
from $368
Configure
In stock
Dell PowerEdge R730xd 24SFF (4x NVMe U.2)
Dell PowerEdge R730xd 24SFF (4x NVMe U.2)
2U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
24SFF (4x NVME) Bay 2.5" (Hot Swap)
from $448
Configure
In stock
Dell PowerEdge R730xd 12LFF + 2SFF
Dell PowerEdge R730xd 12LFF + 2SFF
2U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
12LFF + 2SFF Bay 3.5" (Hot Swap)
from $428
Configure
In stock
Dell PowerEdge R730xd 12LFF
Dell PowerEdge R730xd 12LFF
2U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
12LFF Bay 3.5" (Hot Swap)
from $388
Configure
In stock
Dell PowerEdge R730xd 24SFF
Dell PowerEdge R730xd 24SFF
2U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
24SFF Bay 2.5" (Hot Swap)
from $338
Configure
1/7
In stock
Dell PowerEdge R740xd2 24LFF + 2LFF
Dell PowerEdge R740xd2 24LFF + 2LFF
2U (rackmount)
up to 2 Xeon Scalable
up to 1024 GB (16 x DDR4)
26LFF Bay 3.5" (Hot Swap)
from $1,870
Configure
Hot price
Dell PowerEdge R740xd 24SFF (12 NVMe)
Dell PowerEdge R740xd 24SFF (12 NVMe)
2U (rackmount)
up to 2 Xeon Scalable
up to 3072 GB (24 x DDR4)
24SFF (12x NVME) Bay 2.5" (Hot Swap)
from $1,229 $1,329
Configure
Hot price
Dell PowerEdge R740xd 24SFF (24 NVMe)
Dell PowerEdge R740xd 24SFF (24 NVMe)
2U (rackmount)
up to 2 Xeon Scalable
up to 3072 GB (24 x DDR4)
24SFF (24x NVME) Bay 2.5" (Hot Swap)
from $1,529 $1,829
Configure
In stock
Dell PowerEdge R740xd 24SFF
Dell PowerEdge R740xd 24SFF
2U (rackmount)
up to 2 Xeon Scalable
up to 3072 GB (24 x DDR4)
24SFF Bay 2.5" (Hot Swap)
from $920
Configure
Hot price
Dell PowerEdge R740xd 12LFF
Dell PowerEdge R740xd 12LFF
2U (rackmount)
up to 2 Xeon Scalable
up to 3072 GB (24 x DDR4)
12LFF Bay 3.5" (Hot Swap)
from $1,029 $1,109
Configure
In stock
Dell PowerEdge R740xd 12LFF + 4LFF + 2LFF
Dell PowerEdge R740xd 12LFF + 4LFF + 2LFF
2U (rackmount)
up to 2 Xeon Scalable
up to 3072 GB (24 x DDR4)
18LFF Bay 3.5" (Hot Swap)
from $1,209
Configure
In stock
Dell PowerEdge R740xd 12LFF + 4SFF
Dell PowerEdge R740xd 12LFF + 4SFF
2U (rackmount)
up to 2 Xeon Scalable
up to 3072 GB (24 x DDR4)
12LFF + 4SFF Bay 3.5" (Hot Swap)
from $1,050
Configure
In stock
Dell PowerEdge R740xd 24SFF (8 NVMe)
Dell PowerEdge R740xd 24SFF (8 NVMe)
2U (rackmount)
up to 2 Xeon Scalable
up to 3072 GB (24 x DDR4)
24SFF (8x NVME) Bay 2.5" (Hot Swap)
from $1,179
Configure
In stock
Dell PowerEdge R740xd 24SFF (4 NVMe)
Dell PowerEdge R740xd 24SFF (4 NVMe)
2U (rackmount)
up to 2 Xeon Scalable
up to 3072 GB (24 x DDR4)
24SFF (4x NVME) Bay 2.5" (Hot Swap)
from $1,029
Configure
1/9
In stock
HPE ProLiant DL360 Gen10 8SFF
HPE ProLiant DL360 Gen10 8SFF
1U (rackmount)
up to 2 Xeon Scalable
up to 3072 GB (24 x DDR4)
8SFF Bay 2.5" (Hot Swap)
from $754
Configure
Hot price
HPE ProLiant DL360 Gen10 8SFF + 2NVMe
HPE ProLiant DL360 Gen10 8SFF + 2NVMe
1U (rackmount)
up to 2 Xeon Scalable
up to 3072 GB (24 x DDR4)
8SFF + 2NVMe Bay 2.5" (Hot Swap)
from $1,204 $1,304
Configure
In stock
HPE ProLiant DL360 Gen10 4LFF
HPE ProLiant DL360 Gen10 4LFF
1U (rackmount)
up to 2 Xeon Scalable
up to 3072 GB (24 x DDR4)
4LFF Bay 3.5" (Hot Swap)
from $779
Configure
In stock
HPE ProLiant DL360 Gen10 10NVMe Premium
HPE ProLiant DL360 Gen10 10NVMe Premium
1U (rackmount)
up to 2 Xeon Scalable
up to 3072 GB (24 x DDR4)
10NVMe Bay 2.5" (Hot Swap)
from $2,424
Configure
1/4
In stock
HPE ProLiant DL360 Gen9 8SFF
HPE ProLiant DL360 Gen9 8SFF
1U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
8SFF Bay 2.5" (Hot Swap)
from $293
Configure
In stock
HPE ProLiant DL360 Gen9 10SFF
HPE ProLiant DL360 Gen9 10SFF
1U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
10SFF Bay 2.5" (Hot Swap)
from $388
Configure
In stock
HPE ProLiant DL360 Gen9 4LFF
HPE ProLiant DL360 Gen9 4LFF
1U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
4LFF Bay 3.5" (Hot Swap)
from $303
Configure
1/3
In stock
HPE ProLiant DL380 Gen10 16SFF
HPE ProLiant DL380 Gen10 16SFF
2U (rackmount)
up to 2 Xeon Scalable
up to 6144 GB (24 x DDR4)
16SFF Bay 2.5" (Hot Swap)
from $889
Configure
Hot price
HPE ProLiant DL380 Gen10 24SFF
HPE ProLiant DL380 Gen10 24SFF
2U (rackmount)
up to 2 Xeon Scalable
up to 6144 GB (24 x DDR4)
24SFF Bay 2.5" (Hot Swap)
from $949 $999
Configure
Hot price
HPE ProLiant DL380 Gen10 16SFF (8x NVMe)
HPE ProLiant DL380 Gen10 16SFF (8x NVMe)
2U (rackmount)
up to 2 Xeon Scalable
up to 6144 GB (24 x DDR4)
16SFF Bay 2.5" (Hot Swap)
from $1,099 $1,169
Configure
In stock
HPE ProLiant DL380 Gen10 24SFF (8x NVMe)
HPE ProLiant DL380 Gen10 24SFF (8x NVMe)
2U (rackmount)
up to 2 Xeon Scalable
up to 6144 GB (24 x DDR4)
24SFF Bay 2.5" (Hot Swap)
from $1,299
Configure
In stock
HPE ProLiant DL380 Gen10 16SFF + 2NVMe
HPE ProLiant DL380 Gen10 16SFF + 2NVMe
2U (rackmount)
up to 2 Xeon Scalable
up to 6144 GB (24 x DDR4)
16SFF + 2NVMe Bay 2.5" (Hot Swap)
from $1,019
Configure
In stock
HPE ProLiant DL380 Gen10 12LFF
HPE ProLiant DL380 Gen10 12LFF
2U (rackmount)
up to 2 Xeon Scalable
up to 6144 GB (24 x DDR4)
12LFF Bay 3.5" (Hot Swap)
from $974
Configure
In stock
HPE ProLiant DL380 Gen10 8LFF
HPE ProLiant DL380 Gen10 8LFF
2U (rackmount)
up to 2 Xeon Scalable
up to 6144 GB (24 x DDR4)
8LFF Bay 3.5" (Hot Swap)
from $909
Configure
In stock
HPE ProLiant DL380 Gen10 8SFF
HPE ProLiant DL380 Gen10 8SFF
2U (rackmount)
up to 2 Xeon Scalable
up to 6144 GB (24 x DDR4)
8SFF Bay 2.5" (Hot Swap)
from $719
Configure
1/8
In stock
HPE ProLiant DL380 Gen9 24SFF
HPE ProLiant DL380 Gen9 24SFF
2U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
24SFF Bay 2.5" (Hot Swap)
from $408
Configure
In stock
HPE ProLiant DL380 Gen9 12LFF
HPE ProLiant DL380 Gen9 12LFF
2U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
12LFF Bay 3.5" (Hot Swap)
from $423
Configure
In stock
HPE ProLiant DL380 Gen9 8SFF + 2SFF
HPE ProLiant DL380 Gen9 8SFF + 2SFF
2U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
10SFF Bay 2.5" (Hot Swap)
from $388
Configure
Hot price
HPE ProLiant DL380 Gen9 12LFF + 3LFF
HPE ProLiant DL380 Gen9 12LFF + 3LFF
2U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 768 GB (24 x DDR4)
15LFF Bay 3.5" (Hot Swap)
from $458 $478
Configure
In stock
HPE ProLiant DL380 Gen9 8SFF
HPE ProLiant DL380 Gen9 8SFF
2U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
8SFF Bay 2.5" (Hot Swap)
from $303
Configure
In stock
HPE ProLiant DL380 Gen9 12LFF + 2SFF
HPE ProLiant DL380 Gen9 12LFF + 2SFF
2U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
12LFF + 2SFF Bay 3.5" (Hot Swap)
from $418
Configure
In stock
HPE ProLiant DL380 Gen9 16SFF
HPE ProLiant DL380 Gen9 16SFF
2U (rackmount)
up to 2 Xeon E5-2600v3/v4
up to 3072 GB (24 x DDR4)
16SFF Bay 2.5" (Hot Swap)
from $398
Configure
1/7