Skip to content

Commit

Permalink
Fix obliterate description (#11221)
Browse files Browse the repository at this point in the history
  • Loading branch information
mregrock authored Nov 15, 2024
1 parent c09519e commit 13aa5c0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions ydb/docs/en/core/devops/manual/initial-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ sudo usermod -aG disk ydb
sudo chown -R root:bin /opt/ydb
```

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

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

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

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

2. Format the disk by this command built-in the `ydbd` executable:
2. Clear the disk by this command built-in the `ydbd` executable:

{% note warning %}

After executing this command, data on the disk will be erased.

{% endnote %}

```bash
sudo LD_LIBRARY_PATH=/opt/ydb/lib /opt/ydb/bin/ydbd admin bs disk obliterate /dev/disk/by-partlabel/ydb_disk_ssd_01
Expand Down
10 changes: 8 additions & 2 deletions ydb/docs/ru/core/devops/manual/initial-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ sudo usermod -aG disk ydb
sudo chown -R root:bin /opt/ydb
```

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

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

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

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

2. Отформатируйте диск встроенной в исполняемый файл `ydbd` командой:
2. Очистите диск встроенной в исполняемый файл `ydbd` командой:

{% note warning %}

После выполнения команды данные на диске сотрутся.

{% endnote %}

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

0 comments on commit 13aa5c0

Please sign in to comment.