Skip to content

Commit 13aa5c0

Browse files
authored
Fix obliterate description (#11221)
1 parent c09519e commit 13aa5c0

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

ydb/docs/en/core/devops/manual/initial-deployment.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ sudo usermod -aG disk ydb
105105
sudo chown -R root:bin /opt/ydb
106106
```
107107

108-
## Prepare and format disks on each server {#prepare-disks}
108+
## Prepare and clear disks on each server {#prepare-disks}
109109

110110
{% include [_includes/storage-device-requirements.md](../../_includes/storage-device-requirements.md) %}
111111

@@ -131,7 +131,13 @@ sudo usermod -aG disk ydb
131131

132132
To streamline the next setup step, it makes sense to use the same disk labels on cluster servers having the same disk configuration.
133133

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 %}
135141

136142
```bash
137143
sudo LD_LIBRARY_PATH=/opt/ydb/lib /opt/ydb/bin/ydbd admin bs disk obliterate /dev/disk/by-partlabel/ydb_disk_ssd_01

ydb/docs/ru/core/devops/manual/initial-deployment.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ sudo usermod -aG disk ydb
105105
sudo chown -R root:bin /opt/ydb
106106
```
107107

108-
## Подготовьте и отформатируйте диски на каждом сервере {#prepare-disks}
108+
## Подготовьте и очистите диски на каждом сервере {#prepare-disks}
109109

110110
{% include [_includes/storage-device-requirements.md](../../_includes/storage-device-requirements.md) %}
111111

@@ -131,7 +131,13 @@ sudo usermod -aG disk ydb
131131

132132
Для упрощения последующей настройки удобно использовать одинаковые метки дисков на серверах кластера, имеющих идентичную конфигурацию дисков.
133133

134-
2. Отформатируйте диск встроенной в исполняемый файл `ydbd` командой:
134+
2. Очистите диск встроенной в исполняемый файл `ydbd` командой:
135+
136+
{% note warning %}
137+
138+
После выполнения команды данные на диске сотрутся.
139+
140+
{% endnote %}
135141

136142
```bash
137143
sudo LD_LIBRARY_PATH=/opt/ydb/lib /opt/ydb/bin/ydbd admin bs disk obliterate /dev/disk/by-partlabel/ydb_disk_ssd_01

0 commit comments

Comments
 (0)