> For the complete documentation index, see [llms.txt](https://spacecore.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spacecore.gitbook.io/wiki/ua/system-monitoring/wheres-my-serial-number.md).

# Отримання серійних номерів дисків

Ми можемо отримати необхідну інформацію за допомогою `lsblk`, яка є стандартною вбудованою утилітою для більшості дистрибутивів Linux.&#x20;

Стандартний вивід команди `lsblk` надасть нам базову інформацію про диски на виділеному сервері.

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

Але стандартний вивід не покаже серійних номерів дисків. Для цього нам потрібно додати аргументи, які дозволять побачити серійні номери для кожного диска. Ми будемо використовувати наступну команду:

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

І отримаємо щось на зразок цього:

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

Це саме те, що нам потрібно. Для кожного фізичного диска є серійний номер. Говорячи про фізичні диски, не намагайтеся отримати серійний номер на віртуальних серверах (VDS), оскільки ми не зможемо отримати його через віртуальні диски, а не їх фізичну присутність.

<figure><img src="/files/2yptahhm2CEiI6MapnBG" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
