Finding out the Dell Service Tag from Linux

Scenario: You need to place a service call to Dell in order to have them replace a failed drive in your Dell PowerEdge server running CentOS Linux. Your server is located in a data center 800 miles away. You need the Dell Service Tag in order to request support but don’t have it documented locally, what do you do?

On Dell servers running Linux you can run:

[root@server ~]# dmidecode | grep -i “serial number”

In order to identify the machines registered service tag. Output will be similar to the following:

[root@vh1 ~]# dmidecode | grep -i “serial number”
Serial Number: 515E5151
Serial Number: ..CN1234567AABBRR.
Serial Number: 515E5151

Where “515E5151” is the service tag.