# Getting Serial Numbers of Drives

Consider how to retrieve information about storage devices on dedicated servers.

We can get the information we need from lsblk, which is the default built-in utility for most **Linux** distributions.

Standard input of `lsblk` command will provide us with basic information about the drives on the dedicated server.

<figure><img src="/files/qIGHWu5YRRpZxIyebGYr" alt=""><figcaption></figcaption></figure>

But her standard output won’t let us know the serial numbers of the drives. To do this, we need to add arguments that will allow us to see the serial numbers for each of the drives. We will use the following command:

```
lsblk -o name,type,size,serial
```

And we’ll get something like this:

<figure><img src="/files/YhrxRPCpuXZI1vEb5TBR" alt=""><figcaption></figcaption></figure>

That’s exactly what we need. For each physical drive, there’s a serial number. Speaking of physical drives, do not try to get a serial number on virtual servers (**VDS**), we will not get it because of the virtual drives, not their physical presence. The conclusion would be that:

<figure><img src="/files/pYu9d84xSnLZ0eAZqdKI" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://spacecore.gitbook.io/wiki/en/system-monitoring/wheres-my-serial-number.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
