File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ sudo usermod -aG disk ydb
105
105
sudo chown -R root:bin /opt/ydb
106
106
```
107
107
108
- ## Prepare and format disks on each server {#prepare-disks}
108
+ ## Prepare and clear disks on each server {#prepare-disks}
109
109
110
110
{% include [ _ includes/storage-device-requirements.md] ( ../../_includes/storage-device-requirements.md ) %}
111
111
@@ -131,7 +131,13 @@ sudo usermod -aG disk ydb
131
131
132
132
To streamline the next setup step, it makes sense to use the same disk labels on cluster servers having the same disk configuration.
133
133
134
- 2 . Format the disk by this command built-in the ` ydbd ` executable:
134
+ 2 . Clear the disk by this command built-in the ` ydbd ` executable:
135
+
136
+ {% note warning %}
137
+
138
+ After executing this command, data on the disk will be erased.
139
+
140
+ {% endnote %}
135
141
136
142
``` bash
137
143
sudo LD_LIBRARY_PATH=/opt/ydb/lib /opt/ydb/bin/ydbd admin bs disk obliterate /dev/disk/by-partlabel/ydb_disk_ssd_01
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ sudo usermod -aG disk ydb
105
105
sudo chown -R root:bin /opt/ydb
106
106
` ` `
107
107
108
- # # Подготовьте и отформатируйте диски на каждом сервере {#prepare-disks}
108
+ # # Подготовьте и очистите диски на каждом сервере {#prepare-disks}
109
109
110
110
{% include [_includes/storage-device-requirements.md](../../_includes/storage-device-requirements.md) %}
111
111
@@ -131,7 +131,13 @@ sudo usermod -aG disk ydb
131
131
132
132
Для упрощения последующей настройки удобно использовать одинаковые метки дисков на серверах кластера, имеющих идентичную конфигурацию дисков.
133
133
134
- 2. Отформатируйте диск встроенной в исполняемый файл ` ydbd` командой:
134
+ 2. Очистите диск встроенной в исполняемый файл ` ydbd` командой:
135
+
136
+ {% note warning %}
137
+
138
+ После выполнения команды данные на диске сотрутся.
139
+
140
+ {% endnote %}
135
141
136
142
` ` ` bash
137
143
sudo LD_LIBRARY_PATH=/opt/ydb/lib /opt/ydb/bin/ydbd admin bs disk obliterate /dev/disk/by-partlabel/ydb_disk_ssd_01
You can’t perform that action at this time.
0 commit comments