Changes for page Настройка архивного хранилища
Last modified by strixadmin on 2025/07/14 11:49
From version 5.1
edited by strixadmin
on 2025/07/14 11:49
on 2025/07/14 11:49
Change comment:
There is no comment for this version
To version 1.1
edited by strixadmin
on 2025/07/07 14:35
on 2025/07/07 14:35
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Настройка архивного хранилища1 +hdd - Content
-
... ... @@ -1,67 +1,80 @@ 1 - =**Общая схема работы архива** =1 + 2 2 3 -После установки **СтриксВид **начинает записывать архив в папку по умолчанию — это директория {{code language="none"}}/ms-storage{{/code}}, которая расположена на системном диске сервера. 3 +(% style="line-height:1.2; margin-top:19px; margin-bottom:5px" %) 4 +(% style="font-size: 28pt; font-variant: normal; white-space: pre-wrap; font-family: Calibri, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Общая схема работы архива 4 4 6 +(% style="line-height:1.295; margin-top:16px; margin-bottom:16px" %) 7 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)После установки СтриксВид начинает записывать архив в папку по умолчанию — это директория (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Roboto, sans-serif; color: rgb(68, 71, 70); background-color: rgb(255, 255, 255); font-weight: 400; font-style: normal; text-decoration: none" %)/ms-storage(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %), которая расположена на системном диске сервера. 5 5 6 -Если вы ничего не меняете, то видеоархив будет записываться прямо в системный раздел. Это не рекомендуется, так как при длительной работе архив может заполнить диск и повредить работу всей системы. 9 +(% style="line-height:1.295; margin-top:16px; margin-bottom:16px" %) 10 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Если вы ничего не меняете, то видеоархив будет записываться прямо в системный раздел. Это не рекомендуется, так как при длительной работе архив может заполнить диск и повредить работу всей системы. 7 7 8 -**СтриксВид **по умолчанию ограничивает использование архивных дисков до 95%. Если один из дисков превышает этот предел, запись на него приостанавливается. При переполнении всех архивных дисков стример каждый час автоматически удаляет один час самого старого архива, чтобы освободить место и продолжает запись новых фрагментов. 12 +(% style="line-height:1.295; margin-top:16px; margin-bottom:16px" %) 13 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)СтриксВид по умолчанию ограничивает использование архивных дисков до 95%. Если один из дисков превышает этот предел, запись на него приостанавливается. При переполнении всех архивных дисков стример каждый час автоматически удаляет один час самого старого архива, чтобы освободить место и продолжает запись новых фрагментов. 9 9 10 -== **Как правильно настроить хранение архива на отдельном диске?** == 15 +(% style="line-height:1.295; margin-top:19px; margin-bottom:5px" %) 16 += (% style="font-size: 20pt; font-variant: normal; white-space: pre-wrap; font-family: Calibri, sans-serif; color: rgb(47, 84, 150); font-weight: 400; font-style: normal; text-decoration: none" %)Как правильно настроить хранение архива на отдельном диске?(%%) = 11 11 12 -Чтобы **СтриксВид **не записывал архив на системный раздел сервера, а использовал отдельный диск, необходимо сделать несколько подготовительных шагов, которые выполняются средствами Linux: 18 +(% style="line-height:1.295; margin-top:16px; margin-bottom:16px" %) 19 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Чтобы СтриксВид не записывал архив на системный раздел сервера, а использовал отдельный диск, необходимо сделать несколько подготовительных шагов, которые выполняются средствами Linux: 13 13 14 -=== **1. Подключите дополнительный диск к серверу.** === 21 +1. (% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Подключите дополнительный диск к серверу.(%%) 22 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Убедитесь, что система его распознает как новое устройство хранения (используется команда lsblk). 15 15 16 - Убедитесь, что система его распознает как новое устройство хранения(используетсякомандаlsblk).17 - {{code language="none"}}lsblk{{/code}}24 +(% style="line-height:1.295; margin-left:48px; margin-top:16px; margin-bottom:16px" %) 25 +(% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Roboto, sans-serif; color: rgb(68, 71, 70); font-weight: 400; font-style: normal; text-decoration: none" %)lsblk 18 18 19 -=== 20 -**2. Подготовьте диск для использования.** === 27 +(% start="2" %) 28 +1. (% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Подготовьте диск для использования.(%%) 29 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Если диск новый, его нужно отформатировать (обычно файловая система ext4, используется команда mkfs). 21 21 22 - Если диск новый, его нужно отформатировать(обычнофайловаясистемаext4,используетсякомандаmkfs).23 - {{code language="none"}}sudo mkfs.ext4 /dev/sdX{{/code}}31 +(% style="line-height:1.295; margin-left:48px; margin-top:16px; margin-bottom:16px" %) 32 +(% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Roboto, sans-serif; color: rgb(68, 71, 70); font-weight: 400; font-style: normal; text-decoration: none" %)sudo mkfs.ext4 /dev/sdX 24 24 25 -=== 26 -**3. Создайте отдельную папку внутри каталога {{code language="none"}}/ms-storage{{/code}}.** === 34 +(% start="3" %) 35 +1. (% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Создайте отдельную папку внутри каталога (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Roboto, sans-serif; color: rgb(68, 71, 70); background-color: rgb(255, 255, 255); font-weight: 400; font-style: normal; text-decoration: none" %)/ms-storage(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %).(%%) 36 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Это будет точка, куда вы подключите диск (используется команда mkdir). Название папки может быть любым, но важно, чтобы она располагалась внутри каталога (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Roboto, sans-serif; color: rgb(68, 71, 70); background-color: rgb(255, 255, 255); font-weight: 400; font-style: normal; text-decoration: none" %)/ms-storage(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %). 27 27 28 - Это будет точка, куда вы подключите диск(используетсякоманда mkdir). Название папки может быть любым, но важно, чтобы она располагалась внутри каталога {{codeanguage="none"}}/ms-storage{{/code}}.29 - {{code language="none"}}sudo mkdir -p /ms-storage/sdX{{/code}}38 +(% style="line-height:1.295; margin-left:48px; margin-top:16px; margin-bottom:16px" %) 39 +(% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Roboto, sans-serif; color: rgb(68, 71, 70); font-weight: 400; font-style: normal; text-decoration: none" %)sudo mkdir -p /ms-storage/sdX 30 30 41 +(% style="line-height:1.295; margin-left:48px; margin-top:16px; margin-bottom:16px" %) 42 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Проверить созданные директории можно командой(%%) 43 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)ls -lh /ms-storage/(%%) 44 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)ответ команды будет примерно таким(%%) 45 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(152, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; border: none; display: inline-block; overflow: hidden; width: 567px; height: 167px" %)[[image:https://lh7-rt.googleusercontent.com/docsz/AD_4nXczAbdN_lVw_EfYyIftEwRi2i0IwPAlheNKVrmCnmSYcwXSgcCL-pcYdgJwYo90zQ50Wz4RnlG9QrUcrPyRK8rzG8EfUPrzG3x1xtJUqQn4znlxtOjNM9gPzSHHFwn9Mxg2BYvqx_leMaRsLrcGlg?key=lmBLbzQtLVx5XLLfcUWK-g||height="167" width="567"]] 31 31 32 -Проверить созданные директории можно командой 33 -{{code language="none"}}ls -lh /ms-storage/{{/code}} 34 -ответ команды будет примерно таким: 35 35 36 -(% style="border:none; color:#980000; display:inline-block; font-family:~"Times New Roman~",serif; font-size:12pt; font-style:normal; font-variant:normal; font-weight:400; height:167px; overflow:hidden; text-decoration:none; white-space:pre-wrap; width:567px" %)[[image:https://lh7-rt.googleusercontent.com/docsz/AD_4nXczAbdN_lVw_EfYyIftEwRi2i0IwPAlheNKVrmCnmSYcwXSgcCL-pcYdgJwYo90zQ50Wz4RnlG9QrUcrPyRK8rzG8EfUPrzG3x1xtJUqQn4znlxtOjNM9gPzSHHFwn9Mxg2BYvqx_leMaRsLrcGlg?key=lmBLbzQtLVx5XLLfcUWK-g||height="167" width="567"]] 48 +(% start="4" %) 49 +1. (% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Настройте автоматическое подключение диска при перезагрузке.(%%) 50 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Это позволяет диску автоматически монтироваться в нужную папку при каждом запуске системы. Для этого нужно определить уникальный идентификатор диска (blkid) и зарегистрировать его в системной конфигурации автоподключения (fstab). 37 37 38 -=== === 39 39 40 -=== **4. Настройте автоматическое подключение диска при перезагрузке.** === 53 +(% start="5" %) 54 +1. (% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Проверьте, что диск подключён и готов к записи.(%%) 55 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Убедитесь, что система видит диск (df) и что в нужной папке есть права на запись для службы СтриксВид (chown). 56 +1. (% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Укажите стримеру, где теперь хранить архив.(%%) 57 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Откройте боковое меню в веб-интерфейсе, нажмите на «Сервер» → вкладка «Настройки сервера». В блоке «Жёсткие диски» укажите путь к новой папке. Каждый путь отделяется запятой. 41 41 42 -Это позволяет диску автоматически монтироваться в нужную папку при каждом запуске системы. Для этого нужно определить уникальный идентификатор диска (**blkid**) и зарегистрировать его в системной конфигурации автоподключения (**fstab**). 43 - 44 -=== **5. Проверьте, что диск подключён и готов к записи.** === 45 - 46 -Убедитесь, что система видит диск (**df**) и что в нужной папке есть права на запись для службы СтриксВид (**chown**). 47 - 48 -=== **6. Укажите стримеру, где теперь хранить архив.** === 49 - 50 -Откройте боковое меню в веб-интерфейсе, нажмите на «**Сервер**» → вкладка «**Настройки сервера**». В блоке «**Жёсткие диски**» укажите путь к новой папке. Каждый путь отделяется запятой. 51 - 52 -(% style="border:none; color:#000000; display:inline-block; font-family:~"Times New Roman~",serif; font-size:12pt; font-style:normal; font-variant:normal; font-weight:400; height:113px; overflow:hidden; text-decoration:none; white-space:pre-wrap; width:567px" %)[[image:https://lh7-rt.googleusercontent.com/docsz/AD_4nXegKX-mp890flfbZbCrfMkRMo_DVXBe5JcO-6m9G7C5E7M0CwiNrFp18B21XfeodscPtfwkPGaKxPKd9dZAyhBL3VWdLuh-J-rkuY1K_rMRrdTOzrPHXPgZTOS-SolhmCvuF21386Ne3x3JYTFGcQ?key=lmBLbzQtLVx5XLLfcUWK-g||height="113" width="567"]](%%) 59 +(% style="line-height:1.295; margin-left:48px; margin-top:16px; margin-bottom:16px" %) 60 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; border: none; display: inline-block; overflow: hidden; width: 567px; height: 113px" %)[[image:https://lh7-rt.googleusercontent.com/docsz/AD_4nXegKX-mp890flfbZbCrfMkRMo_DVXBe5JcO-6m9G7C5E7M0CwiNrFp18B21XfeodscPtfwkPGaKxPKd9dZAyhBL3VWdLuh-J-rkuY1K_rMRrdTOzrPHXPgZTOS-SolhmCvuF21386Ne3x3JYTFGcQ?key=lmBLbzQtLVx5XLLfcUWK-g||height="113" width="567"]](%%) 61 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Если вы не хотите использовать системный раздел для хранения архива, удалите папку system из списка путей хранения. После сохранения настроек архив начнёт записываться на указанные диски.(%%) 53 53 54 54 55 -Если вы не хотите использовать системный раздел для хранения архива, удалите папку system из списка путей хранения. После сохранения настроек архив начнёт записываться на указанные диски. 56 56 57 - ==**Как работает СтриксВид при заполнении хранилища?** ==65 +\\\\ 58 58 67 +(% style="line-height:1.295; margin-top:16px; margin-bottom:16px" %) 68 += (% style="font-size: 20pt; font-variant: normal; white-space: pre-wrap; font-family: Calibri, sans-serif; color: rgb(47, 84, 150); font-weight: 400; font-style: normal; text-decoration: none" %)Как работает СтриксВид при заполнении хранилища?(%%) 69 + = 59 59 60 - Чтобыизменить лимит заполнения архивных дисков, откройте веб-интерфейс **СтриксВид**, перейдите в боковое меню → раздел «**Сервер**» → вкладка «**Настройки сервера**».Вблоке«**Жёсткие диски**» найдите поле «**Максимальная загрузка архивных дисков (в процентах)**» и укажите нужное значение.61 - Поумолчаниюустановлено95%, имырекомендуемнеувеличиватьэтотпоказатель,чтобыизбежать рискапереполнения.71 +(% style="line-height:1.295; margin-top:16px; margin-bottom:16px" %) 72 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Чтобы изменить лимит заполнения архивных дисков, откройте веб-интерфейс СтриксВид, перейдите в боковое меню → раздел «Сервер» → вкладка «Настройки сервера». В блоке «Жёсткие диски» найдите поле «Максимальная загрузка архивных дисков (в процентах)» и укажите нужное значение. 62 62 74 +(% style="line-height:1.295; margin-top:16px; margin-bottom:16px" %) 75 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)По умолчанию установлено 95%, и мы рекомендуем не увеличивать этот показатель, чтобы избежать риска переполнения. 63 63 64 -//Если в список архивных путей включен системный раздел, категорически не рекомендуется устанавливать значение 100% — это может привести к полному заполнению корневого диска и нарушению работы всей системы.// 77 +(% style="line-height:1.295; margin-top:16px; margin-bottom:16px" %) 78 +(% style="font-size: 12pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Times New Roman~", serif; color: rgb(0, 0, 0); font-weight: 700; font-style: italic; text-decoration: none" %)**//Если в список архивных путей включен системный раздел, категорически не рекомендуется устанавливать значение 100% — это может привести к полному заполнению корневого диска и нарушению работы всей системы.//** 65 65 66 - 67 67