Last active
August 14, 2023 10:38
-
-
Save fluggelgleckheimlen/0ed29e0e862a294d35ff3548ebb0dd15 to your computer and use it in GitHub Desktop.
Format HDD with T10-PI Type 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in {0..23} | |
do | |
sg_format --format --fmtpinfo=3 --pfu=0 /dev/sg$i & | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Команда для параллельного форматирование дисков с T10-PI Type 2, чтобы создать "защищённый" пул на DS3500 без замены дисков по официальной процедуре.
Подключаем корзину к линуксовому серверу через HBA и смотрим адреса дисков в lsscsi -g:
И на всякий случай проверяем поддержку PI на самих дисках: