{"id":505945,"date":"2026-12-03T14:42:48","date_gmt":"2026-12-03T11:42:48","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=505945"},"modified":"2026-12-03T14:42:48","modified_gmt":"2026-12-03T11:42:48","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=505945","title":{"rendered":"\u041a\u0430\u043a \u044f \u0442\u0440\u043e\u0435 \u0441\u0443\u0442\u043e\u043a \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043b RAID5 \u043d\u0430 QNAP: \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u0432 RAM, \u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u043e\u0432 \u0440\u0443\u043a\u0430\u043c\u0438 \u0438 XOR \u043d\u0430 Python (\u0447\u0430\u0441\u0442\u044c 2)"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442! \u0432\u0442\u043e\u0440\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u0440\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0440\u0435\u0439\u0434\u0430. \u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0440\u0430\u0437 (<a href=\"https:\/\/habr.com\/ru\/articles\/1115284\" rel=\"noopener nofollow\">https:\/\/habr.com\/ru\/articles\/1115284<\/a>) \u043c\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0438 \u043d\u0430 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432 degraded raid \u043d\u0430 2 \u0434\u0438\u0441\u043a\u0430 \u0438\u0437 4 \u043c\u044b \u0441\u043e\u0431\u0440\u0430\u043b\u0438 \u043c\u0430\u0441\u0441\u0438\u0432 \u043d\u0430 COW-\u0431\u0443\u0444\u0435\u0440\u0430\u0445 \u0432 \/dev\/shm, \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 LVM, \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0424\u0421 \u0438 \u0441\u043c\u043e\u0433\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0435 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435, \u0447\u0430\u0441\u0442\u044c 6 \u0438\u0437 12.<\/p>\n<ol start=\"6\">\n<li>\n<p><a href=\"#ch6\" rel=\"noopener nofollow\">\u0420\u0430\u0437\u0431\u043e\u0440 \u0441\u0442\u0435\u043d\u0434\u0430 \u0438 \u00abdevice is busy\u00bb<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"#ch7\" rel=\"noopener nofollow\">\u0414\u0435\u0440\u0435\u0432\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432: \u043f\u043e\u0447\u0435\u043c\u0443 \u0432\u0438\u0441\u0438\u0442 <code>storage_util<\/code><\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"#ch8\" rel=\"noopener nofollow\">\u0425\u0438\u0440\u0443\u0440\u0433\u0438\u044f: XOR-\u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0431\u043b\u043e\u043a\u0430 \u0438 \u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u043e\u0432<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"#ch9\" rel=\"noopener nofollow\">\u0412\u0442\u043e\u0440\u043e\u0439 \u0443\u0434\u0430\u0440 \u043d\u0430 81%<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"#ch10\" rel=\"noopener nofollow\">\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0448\u0442\u0430\u0442\u043d\u043e\u0439 \u0436\u0438\u0437\u043d\u0438<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"#ch11\" rel=\"noopener nofollow\">\u0421\u044e\u0440\u043f\u0440\u0438\u0437: \u00ab\u043d\u043e\u0432\u044b\u0435\u00bb IronWolf<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"#ch12\" rel=\"noopener nofollow\">\u0412\u044b\u0432\u043e\u0434\u044b<\/a><\/p>\n<\/li>\n<\/ol>\n<p><a class=\"anchor\" name=\"ch6\" id=\"ch6\"><\/a><\/p>\n<h2>6. \u0420\u0430\u0437\u0431\u043e\u0440 \u0441\u0442\u0435\u043d\u0434\u0430 \u0438 \u00abdevice is busy\u00bb<\/h2>\n<p><em>\u041e \u0447\u0451\u043c \u0433\u043b\u0430\u0432\u0430: \u0447\u0442\u043e\u0431\u044b \u0447\u0438\u043d\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 <\/em><code><em>md2<\/em><\/code><em>, \u043d\u0443\u0436\u043d\u043e \u043e\u0441\u0432\u043e\u0431\u043e\u0434\u0438\u0442\u044c \u0434\u0438\u0441\u043a\u0438 \u043e\u0442 \u043f\u043e\u0441\u044f\u0433\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432 \u043d\u0430 \u043d\u0438\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 QNAP. \u0412\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 raid \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043b\u0435\u0433\u043a\u043e, \u0430 \u0432\u043e\u0442 \u0448\u0442\u0430\u0442\u043d\u044b\u0439 \u0441\u0442\u0435\u043a QNAP \u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0437\u0430 \u043c\u0451\u0440\u0442\u0432\u044b\u0439 \u0442\u043e\u043c \u0438 \u043d\u0435 \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0435\u0433\u043e. \u0426\u0435\u043b\u044c: \u0448\u0442\u0430\u0442\u043d\u043e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u043b\u043e\u0438 \u043d\u0430\u0434 <\/em><code><em>md2<\/em><\/code><em>.<\/em><\/p>\n<h3>\u0420\u0430\u0437\u0431\u043e\u0440 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438<\/h3>\n<p>\u041e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0438\u0434\u0451\u0442 \u043e\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0435\u0439 \u043a \u043d\u0438\u0436\u0435\u043b\u0435\u0436\u0430\u0449\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c, \u0432 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0441\u0431\u043e\u0440\u043a\u0438. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0424\u0421 \u0438 \u0443\u0431\u0435\u0434\u0438\u043c\u0441\u044f, \u0447\u0442\u043e \u0442\u043e\u043c \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0434\u0435\u0440\u0436\u0438\u0442:<\/p>\n<pre><code class=\"bash\">cd \/; syncumount \/mnt\/raid-rescuedmsetup info -c          # \u0443 rescue_lv2 Open = 0, Targ = 150552dmsetup remove rescue_lv2 &amp;&amp; dmsetup remove rescue_tdata &amp;&amp; dmsetup remove rescue_tmetamdadm --stop \/dev\/md127dmsetup remove rescue_sda3 rescue_sdc3 rescue_sdd3losetup -d \/dev\/loop1; losetup -d \/dev\/loop2; losetup -d \/dev\/loop3   # BusyBox: \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper\"><\/span><\/a><\/div><\/pre>\n<blockquote>\n<p>\u041d\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0439\u0442\u0435 <code>dmsetup status<\/code> \u0431\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0435\u0441\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438\u0437 150 \u0442\u044b\u0441\u044f\u0447 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432: \u043e\u043d \u0447\u0435\u0441\u0442\u043d\u043e \u0432\u044b\u0432\u0435\u0434\u0435\u0442 \u0432\u0441\u0451, \u043f\u043e\u0434\u0432\u0435\u0441\u0438\u0432 \u0432\u0430\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0438 \u0437\u0430\u043f\u043e\u0440\u043e\u0432 \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u0440\u0430\u0431\u043e\u0442\u044b (\u0431\u043b\u0430\u0433\u043e \u044f \u0432\u0441\u0451 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0438\u0441\u0430\u043b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e: \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u044c, \u043d\u0430\u0434\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c)<\/p>\n<\/blockquote>\n<h3>\u0428\u0442\u0430\u0442\u043d\u044b\u0439 \u0442\u043e\u043c \u043d\u0435 \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u0435\u0442<\/h3>\n<p>\u0427\u0438\u043d\u0438\u0442\u044c RAID \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0431\u0435\u0437 \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430\u0434 \u043d\u0438\u043c \u0442\u043e\u043c\u0430, \u0430 QTS \u0434\u0435\u0440\u0436\u0430\u043b\u0430 \u043c\u0451\u0440\u0442\u0432\u044b\u0439 <code>cachedev2<\/code> \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0432 <code>\/share\/CACHEDEV2_DATA<\/code> (ro, \u043f\u043e\u0432\u0435\u0440\u0445 <code>error<\/code>-\u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0438). \u0423 QNAP \u0435\u0441\u0442\u044c \u0448\u0442\u0430\u0442\u043d\u044b \u0441\u043a\u0440\u0438\u043f\u0442 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u043b\u0443\u0436\u0431 &#8212; <code>services.sh stop<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0448\u0451\u043b \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u043e\u0434\u043d\u0430\u043a\u043e <code>umount<\/code> \u0432\u0441\u0451 \u0435\u0449\u0451 \u043e\u0442\u0432\u0435\u0447\u0430\u043b <code>device is busy<\/code>.<\/p>\n<p>\u041f\u043e\u0438\u0441\u043a \u0432\u0438\u043d\u043e\u0432\u043d\u0438\u043a\u0430 \u0440\u0430\u0441\u0442\u044f\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u043f\u043e\u043b\u0442\u043e\u0440\u0430 \u0434\u0435\u0441\u044f\u0442\u043a\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a. \u041a\u0430\u0436\u0434\u0430\u044f \u0438\u0437 \u043d\u0438\u0445 \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u0441\u0430\u043c\u0430 \u043f\u043e \u0441\u0435\u0431\u0435, \u043a\u043e\u0433\u0434\u0430 \u043d\u0435\u0442 <code>fuser<\/code>:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u0427\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b\u0438<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u041a\u043e\u043c\u0430\u043d\u0434\u0430<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u0435 \u0444\u0430\u0439\u043b\u044b<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>lsof | grep CACHEDEV2_DATA<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u043f\u0443\u0441\u0442\u043e<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0420\u0430\u0431\u043e\u0447\u0438\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>ls -l \/proc\/[0-9]*\/cwd | grep CACHEDEV2_DATA<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u043f\u0443\u0441\u0442\u043e<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0424\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u044b<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>ls -l \/proc\/[0-9]*\/fd\/* | grep CACHEDEV2_DATA<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u043f\u0443\u0441\u0442\u043e<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">mmap-\u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>grep -H 'fc:00' \/proc\/[0-9]*\/maps<\/code> (<code>252:0<\/code> \u0432 hex)<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u043f\u0443\u0441\u0442\u043e<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0412\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>awk '$2 == 37' \/proc\/self\/mountinfo<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u043f\u0443\u0441\u0442\u043e<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0414\u0440\u0443\u0433\u0438\u0435 mount namespace<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>grep -H ' 252:0 ' \/proc\/[0-9]*\/mountinfo<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0448<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">chroot \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>ls -l \/proc\/[0-9]*\/root | grep CACHEDEV2_DATA<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u043f\u0443\u0441\u0442\u043e<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0411\u043b\u043e\u0447\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>ls -l \/proc\/[0-9]*\/fd\/* | grep dm-0<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u043f\u0443\u0441\u0442\u043e<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">swap \u043d\u0430 \u0442\u043e\u043c\u0435<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>cat \/proc\/swaps<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0442\u043e\u043b\u044c\u043a\u043e <code>md256<\/code>, <code>md322<\/code><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">loop-\u0444\u0430\u0439\u043b\u044b \u043d\u0430 \u0442\u043e\u043c\u0435<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>losetup \/dev\/loop0<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">FileStation, \u043d\u043e \u043d\u0430 <code>\/mnt\/ext<\/code><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u042f \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u043b \u0432 <code>dmesg<\/code>, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0442\u043e \u0434\u0435\u0440\u0436\u0438\u0442 \u0442\u043e\u043c, \u0438 \u043d\u0430\u0448\u0451\u043b \u0442\u0430\u043c \u0446\u0435\u043b\u0443\u044e \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044e: <code>apache_proxys<\/code>, <code>disk_lab_util<\/code>, <code>tdbtool<\/code> \u0438 <code>authLogin.cgi<\/code>. \u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0438\u0437 \u043d\u0438\u0445 \u043a \u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u043c\u0435\u043d\u0442\u0443 \u0443\u0436\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043b\u0438\u0441\u044c, \u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0436\u0438\u0432\u043e\u0439, <code>apache_proxys<\/code>, \u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b \u0441\u0430\u043c. \u041d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e. \u0422\u043e\u0433\u0434\u0430 \u044f \u0443\u0431\u0440\u0430\u043b \u0442\u043e\u0447\u043a\u0443 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 <code>umount -l<\/code>: \u0438\u0437 \u0434\u0435\u0440\u0435\u0432\u0430 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0442\u043e\u043c \u0438\u0441\u0447\u0435\u0437, \u043d\u043e \u0442\u043e\u043b\u043a\u0443 \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u0431\u044b\u043b\u043e \u043c\u0430\u043b\u043e. \u0423 <code>cachedev2<\/code> \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u0432\u0438\u0441\u0435\u043b\u043e <code>Open = 1<\/code>, \u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 <code>\/sys\/fs\/ext4\/dm-0\/<\/code> \u043d\u0438\u043a\u0443\u0434\u0430 \u043d\u0435 \u0434\u0435\u043b\u0441\u044f. \u041f\u043e\u043b\u0443\u0447\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0444\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0443\u0436\u0435 \u0440\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430, \u0430 \u044f\u0434\u0440\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0435\u0451 \u0443 \u0441\u0435\u0431\u044f \u0438 \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043d\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>\u041e\u0441\u0442\u0430\u0432\u0430\u043b\u0441\u044f \u0433\u0440\u0443\u0431\u044b\u0439 \u043f\u0443\u0442\u044c: \u0443\u0434\u0430\u043b\u0438\u0442\u044c device-mapper \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0441 \u0444\u043b\u0430\u0433\u043e\u043c force \u043f\u0440\u044f\u043c\u043e \u0438\u0437-\u043f\u043e\u0434 \u0436\u0438\u0432\u043e\u0439 \u0424\u0421. \u0427\u0435\u043c \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f \u0438 \u0442\u0430\u043a \u043f\u044b\u0442\u0430\u044e\u0441\u044c \u0441\u043f\u0430\u0441\u0442\u0438, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443, \u043d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0441\u044f \u043a \u043d\u0435\u0439. \u0420\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0438 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u043b \u0434\u0438\u0441\u043a \u0441 \u0431\u044d\u043a\u0430\u043f\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0441 \u043d\u0438\u043c \u0442\u043e\u0447\u043d\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0441\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c. \u0412\u044b\u043d\u0443\u043b \u043d\u043e\u0432\u044b\u0439 IronWolf, \u0438\u043d\u0430\u0447\u0435 QTS, \u0443\u0432\u0438\u0434\u0435\u0432 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0447\u0438\u0441\u0442\u044b\u0439 \u0434\u0438\u0441\u043a, \u043c\u043e\u0433\u043b\u0430 \u0431\u044b \u0441\u0430\u043c\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c rebuild. \u0418 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u043b NAS.<\/p>\n<h3>\u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438<\/h3>\n<p>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0434\u0435\u0441\u044f\u0442\u044c \u0441 \u043b\u0438\u0448\u043d\u0438\u043c \u043c\u0438\u043d\u0443\u0442 \u0431\u044b\u043b\u0438 \u0441\u0430\u043c\u044b\u043c\u0438 \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c\u0438 \u0437\u0430 \u0432\u0441\u044e \u0438\u0441\u0442\u043e\u0440\u0438\u044e. NAS \u043d\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u043b \u0434\u0430\u0436\u0435 \u043d\u0430 ping, \u0430 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 HDD4 \u0433\u043e\u0440\u0435\u043b \u043a\u0440\u0430\u0441\u043d\u044b\u043c. \u041a\u043e\u0433\u0434\u0430 \u043e\u043d \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f, \u044f \u043e\u0442\u043a\u0440\u044b\u043b <code>mdstat<\/code> \u0438 \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u0441\u0442\u0430\u043b\u043e \u0445\u0443\u0436\u0435:<\/p>\n<pre><code>md2 : active raid5 sda3[0] sdc3[3](F) sdb3[4]      5830677504 blocks super 1.0 level 5, 512k chunk, algorithm 2 [4\/2] [U_U_]<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0418\u0437 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u0434\u0432\u0430. \u0414\u043b\u044f RAID 5 \u044d\u0442\u043e \u0443\u0436\u0435 \u043d\u0435 \u0434\u0435\u0433\u0440\u0430\u0434\u0430\u0446\u0438\u044f: \u043c\u0430\u0441\u0441\u0438\u0432 \u0431\u0435\u0437 \u0434\u0432\u0443\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0435\u043b\u044c\u0437\u044f. \u0411\u0435\u0437 HDD2 \u0438\u043c\u0435\u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0441\u0434\u0432\u0438\u043d\u0443\u043b\u0438\u0441\u044c: HDD3 \u0441\u0442\u0430\u043b <code>sdb<\/code>, HDD4 \u0441\u0442\u0430\u043b <code>sdc<\/code>. <strong>\u041f\u043e\u0441\u043b\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0434\u0438\u0441\u043a\u043e\u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u00ab\u043e\u0442\u0441\u0435\u043a \u2194 \/dev\/sdX\u00bb \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0437\u0430\u043d\u043e\u0432\u043e<\/strong>, \u043d\u0430 \u0441\u0442\u0430\u0440\u044b\u0435 \u0438\u043c\u0435\u043d\u0430 \u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c\u0441\u044f \u043d\u0435\u043b\u044c\u0437\u044f.<\/p>\n<p>QTS \u043f\u043e\u0434\u043d\u044f\u043b\u0430 \u0432\u0435\u0441\u044c \u0441\u0442\u0435\u043a (<code>dmsetup ls --tree<\/code> \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u043f\u043e\u043b\u043d\u0443\u044e \u0446\u0435\u043f\u043e\u0447\u043a\u0443 cachedev2 \u2192 lv2 \u2192 tpool \u2192 tmeta\/tierdata \u2192 drbd2), \u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0435, <strong>\u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0430 \u0442\u043e\u043c \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c<\/strong> \u043f\u043e\u0432\u0435\u0440\u0445 <code>FAILED<\/code>-\u043c\u0430\u0441\u0441\u0438\u0432\u0430. \u041a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0447\u0438\u0442\u0430\u043b\u0438\u0441\u044c.<\/p>\n<p>\u041e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435 \u043d\u0430\u0448\u043b\u043e\u0441\u044c \u0432 sysfs. \u0423 QNAP-\u043e\u0432\u0441\u043a\u043e\u0433\u043e md \u0435\u0441\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u0442 \u0432 \u0432\u0430\u043d\u0438\u043b\u044c\u043d\u043e\u043c \u044f\u0434\u0440\u0435:<\/p>\n<pre><code># cat \/sys\/block\/md2\/md\/qnap_readonly \/sys\/block\/md2\/md\/fail_last_dev \/sys\/block\/md2\/md\/max_read_errors0020# cat \/sys\/block\/md2\/md\/dev-sdc3\/statefaulty,rescue<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041f\u043e\u0445\u043e\u0436\u0435, \u0440\u0435\u0436\u0438\u043c <code>Rescue<\/code> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044c \u0441 \u0434\u0438\u0441\u043a\u0430, \u0444\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u0430\u043a faulty. \u0412\u043e \u0432\u0441\u044f\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043d\u0430 \u043c\u043e\u0451\u043c NAS QTS \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0430 \u00ab\u043e\u0442\u043a\u0430\u0437\u0430\u0432\u0448\u0438\u0439\u00bb \u043c\u0430\u0441\u0441\u0438\u0432 \u0438 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043e\u0442\u0434\u0430\u0432\u0430\u043b\u0430 \u0441 \u043d\u0435\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438. \u041d\u043e \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0439 \u0442\u0443\u0442 \u043d\u0435\u0442. RAID 5 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0434\u0438\u0441\u043a\u0430\u043c \u043a\u0443\u0441\u043a\u0430\u043c\u0438 \u043f\u043e 512 \u041a\u0411 (chunk). \u041e\u0434\u0438\u043d \u0442\u0430\u043a\u043e\u0439 \u0440\u044f\u0434 \u043f\u043e\u043f\u0435\u0440\u0451\u043a \u0432\u0441\u0435\u0445 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 (\u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445) \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u043e\u0441\u043e\u0439 (stripe): \u0442\u0440\u0438 \u043a\u0443\u0441\u043a\u0430 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438 \u043e\u0434\u0438\u043d \u0441 \u0447\u0451\u0442\u043d\u043e\u0441\u0442\u044c\u044e. \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u043e\u043b\u043e\u0441\u0443, \u043d\u0443\u0436\u043d\u044b \u043a\u0443\u0441\u043a\u0438 \u0445\u043e\u0442\u044f \u0431\u044b \u0441 \u0442\u0440\u0451\u0445 \u0434\u0438\u0441\u043a\u043e\u0432. \u0415\u0441\u043b\u0438 \u043d\u0430 \u00ab\u043e\u0442\u043a\u0430\u0437\u0430\u0432\u0448\u0435\u043c\u00bb \u0434\u0438\u0441\u043a\u0435 \u043f\u043e\u043f\u0430\u0434\u0451\u0442\u0441\u044f \u0441\u0431\u043e\u0439\u043d\u044b\u0439 \u0443\u0447\u0430\u0441\u0442\u043e\u043a, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0430\u044f \u043f\u043e\u043b\u043e\u0441\u0430 \u043d\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f, \u0438 \u0444\u0430\u0439\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430 \u043d\u0435\u0451 \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442\u0441\u044f, \u0432\u0435\u0440\u043d\u0443\u0442\u0441\u044f \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439.<\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u0442\u043e\u043c \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c, \u0430 \u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0442\u043e-\u043b\u0438\u0431\u043e \u043d\u0430 HDD4 \u043f\u043e\u0434 \u0436\u0438\u0432\u043e\u0439 \u0424\u0421 \u043d\u0435\u043b\u044c\u0437\u044f. \u0421\u043d\u043e\u0432\u0430 <code>services.sh stop<\/code>, \u0441\u043d\u043e\u0432\u0430 <code>umount<\/code>, \u0441\u043d\u043e\u0432\u0430 <code>device is busy<\/code>. \u0418\u0441\u043a\u0430\u0442\u044c \u043f\u0440\u0438\u0447\u0438\u043d\u0443 \u043f\u043e \u0441\u043f\u0438\u0441\u043a\u0443 \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0442\u0440\u0435\u0442\u0438\u0439 \u0440\u0430\u0437 \u044f \u043d\u0435 \u0441\u0442\u0430\u043b. \u0412 QTS \u0435\u0441\u0442\u044c \u0448\u0442\u0430\u0442\u043d\u0430\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430 <code>storage_util<\/code>, \u0430 \u0432 \u0435\u0451 \u0441\u043f\u0440\u0430\u0432\u043a\u0435 \u043d\u0430\u0448\u043b\u0438\u0441\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<pre><code>--data_umount       Unmount all data volumes--nas_pool_stop     Stop volumes and DM devices of the specified pool--stop_storage      Stop all volumes, pools and RAID groups<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p><code>--data_umount<\/code> \u0447\u0435\u0441\u0442\u043d\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u043b <code>Fail to unmount volume \/dev\/mapper\/cachedev2!<\/code>. \u0421\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043e\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u043e\u0433\u043e \u043f\u043e USB \u0434\u0438\u0441\u043a\u0430, \u043e \u043d\u0451\u043c \u0440\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0451\u0442 \u043d\u0438\u0436\u0435. \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442: <code>storage_util --nas_pool_stop dev_id=1<\/code>. \u042d\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <strong>\u0437\u0430\u0432\u0438\u0441\u043b\u0430<\/strong>.<\/p>\n<p><a class=\"anchor\" name=\"ch7\" id=\"ch7\"><\/a><\/p>\n<h2>7. \u0414\u0435\u0440\u0435\u0432\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432: \u043f\u043e\u0447\u0435\u043c\u0443 \u0432\u0438\u0441\u0438\u0442 storage_util<\/h2>\n<p><em>\u041e \u0447\u0451\u043c \u0433\u043b\u0430\u0432\u0430: \u0448\u0442\u0430\u0442\u043d\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0443\u043b\u0430 \u0432\u0438\u0441\u0438\u0442 \u0431\u0435\u0437 \u0432\u044b\u0432\u043e\u0434\u0430. \u041d\u0435\u0442 <\/em><code><em>strace<\/em><\/code><em>, <\/em><code><em>pstree<\/em><\/code><em>, <\/em><code><em>ps -ef<\/em><\/code><em> \u0438 <\/em><code><em>\/proc\/PID\/task\/*\/children<\/em><\/code><em>. \u0417\u0430\u0434\u0430\u0447\u0430: \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437 <\/em><code><em>\/proc<\/em><\/code><em> \u0434\u043e\u0439\u0442\u0438 \u0434\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u0442 \u0432\u0441\u044e \u0446\u0435\u043f\u043e\u0447\u043a\u0443, \u0438 \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0435\u0433\u043e \u043e\u043d \u0436\u0434\u0451\u0442.<\/em><\/p>\n<h3>\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b, \u043a\u043e\u0433\u0434\u0430 \u043d\u0435\u0442 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432<\/h3>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0444\u0430\u0439\u043b <code>\/proc\/PID\/syscall<\/code>. \u041e\u043d \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u043e\u043c\u0435\u0440 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u0432\u044b\u0437\u043e\u0432\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0447\u0442\u0435\u043d\u0438\u044f, \u0438 \u0435\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b. \u042d\u0442\u043e \u0441\u043d\u0438\u043c\u043e\u043a \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f: \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u043c \u0432\u044b\u0437\u043e\u0432\u0435, \u0442\u0430\u043c \u0431\u0443\u0434\u0435\u0442 <code>-1<\/code> \u0438\u043b\u0438 <code>running<\/code>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0447\u0438\u0442\u0430\u0442\u044c \u0435\u0433\u043e \u0441\u0442\u043e\u0438\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437. \u041d\u043e\u043c\u0435\u0440\u0430 \u0432\u044b\u0437\u043e\u0432\u043e\u0432 \u0437\u0430\u0432\u0438\u0441\u044f\u0442 \u043e\u0442 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b, \u0434\u043b\u044f x86_64 \u043e\u043d\u0438 \u0435\u0441\u0442\u044c \u0432 <code>arch\/x86\/entry\/syscalls\/syscall_64.tbl<\/code>. \u041d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u0434\u0432\u0430:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u041d\u043e\u043c\u0435\u0440<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0412\u044b\u0437\u043e\u0432<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0410\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">61<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>wait4(pid, *status, options, *rusage)<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u043f\u0435\u0440\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u2014 PID \u0440\u0435\u0431\u0451\u043d\u043a\u0430, <code>-1<\/code> \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u00ab\u043b\u044e\u0431\u043e\u0439 \u0440\u0435\u0431\u0451\u043d\u043e\u043a\u00bb<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">202<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>futex(*uaddr, op, val, ...)<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>op = 0x80<\/code> \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 <code>FUTEX_WAIT_PRIVATE<\/code><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0414\u0435\u0442\u0435\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0431\u0435\u0437 <code>children<\/code> \u0432 procfs \u0438\u0449\u0435\u043c \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u043c \u043f\u043e\u0438\u0441\u043a\u043e\u043c \u043f\u043e \u043f\u043e\u043b\u044e <code>PPid<\/code>:<\/p>\n<pre><code class=\"bash\">grep -l '^PPid:[[:space:]]*&lt;PID&gt;$' \/proc\/[0-9]*\/status<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p><code>cmdline<\/code> \u0447\u0438\u0442\u0430\u0435\u043c \u0447\u0435\u0440\u0435\u0437 <code>tr '\\000' ' ' &lt; \/proc\/PID\/cmdline<\/code>, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u044b \u043d\u0443\u043b\u0435\u0432\u044b\u043c\u0438 \u0431\u0430\u0439\u0442\u0430\u043c\u0438.<\/p>\n<h3>\u0421\u043f\u0443\u0441\u043a \u043f\u043e \u0434\u0435\u0440\u0435\u0432\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432<\/h3>\n<p>\u0412\u043e \u0432\u0442\u043e\u0440\u043e\u0439 SSH-\u0441\u0435\u0441\u0441\u0438\u0438 \u043d\u0430\u0448\u0451\u043b \u0441\u0430\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441:<\/p>\n<pre><code># ps | grep storage_util 3040 admin     11472 S   storage_util --nas_pool_stop dev_id 1<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u044f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b, \u0432 \u043a\u0430\u043a\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441. \u0422\u0430\u043c \u0441\u0442\u043e\u044f\u043b\u043e <code>S<\/code> (sleeping), \u0430 \u043d\u0435 <code>D<\/code> (uninterruptible sleep). \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u0430\u044f: \u0432 <code>D<\/code> \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u0441\u0442\u0440\u0435\u0432\u0430\u0435\u0442, \u043a\u043e\u0433\u0434\u0430 \u0436\u0434\u0451\u0442 \u043e\u0442\u0432\u0435\u0442\u0430 \u043e\u0442 \u0434\u0438\u0441\u043a\u0430, \u0438 \u0435\u0433\u043e \u043d\u0435 \u0431\u0435\u0440\u0451\u0442 \u0434\u0430\u0436\u0435 <code>kill -9<\/code>. \u0410 <code>S<\/code> \u2014 \u043e\u0431\u044b\u0447\u043d\u043e\u0435 \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e\u0435 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435: \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0436\u0434\u0451\u0442 \u0441\u0438\u0433\u043d\u0430\u043b\u0430, \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u043a\u0430\u043d\u0430\u043b\u0430, \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0438\u043b\u0438 \u0447\u0435\u0433\u043e-\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e. \u041f\u0440\u0430\u0432\u0434\u0430, \u044d\u0442\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u0435\u0449\u0451 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437, \u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u0430 \u043d\u0435 \u043c\u0435\u043d\u044f\u043b\u0430\u0441\u044c. \u0412\u044b\u0445\u043e\u0434\u0438\u0442, \u0434\u0438\u0441\u043a \u0442\u0443\u0442 \u043d\u0438 \u043f\u0440\u0438 \u0447\u0451\u043c: \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0435 \u0432\u0438\u0441\u0438\u0442 \u043d\u0430 \u0432\u0432\u043e\u0434\u0435-\u0432\u044b\u0432\u043e\u0434\u0435, \u0430 \u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u043e \u0447\u0435\u0433\u043e-\u0442\u043e \u0436\u0434\u0451\u0442.<\/p>\n<p>\u041e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0435\u0433\u043e \u0438\u043c\u0435\u043d\u043d\u043e, \u0438 \u0442\u0443\u0442 \u0432\u0441\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u0443\u043f\u0438\u0440\u0430\u043b\u0438\u0441\u044c \u0432 \u0441\u0442\u0435\u043d\u0443. <code>wchan<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u044f\u0434\u0440\u0430, \u0433\u0434\u0435 \u0441\u043f\u0438\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u0432\u0435\u0440\u043d\u0443\u043b \u0431\u0435\u0437\u043b\u0438\u043a\u0438\u0439 <code>0<\/code>. <code>ps -ef<\/code> \u0432 BusyBox \u043d\u0435 \u0432\u044b\u0432\u0435\u043b \u043d\u0438\u0447\u0435\u0433\u043e. \u0410 <code>\/proc\/3040\/task\/3040\/children<\/code>, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b, \u0432 \u044d\u0442\u043e\u043c \u044f\u0434\u0440\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.<\/p>\n<p>\u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0447\u0438\u0442\u0430\u0442\u044c <code>\/proc<\/code> \u0432\u0440\u0443\u0447\u043d\u0443\u044e. \u0418\u0437 <code>\/proc\/3040\/status<\/code>:<\/p>\n<pre><code>State:  S (sleeping)PPid:   1450SigIgn: 0000000000000006<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p><code>SigIgn<\/code> \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a\u0438\u0435 \u0441\u0438\u0433\u043d\u0430\u043b\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442. \u042d\u0442\u043e \u0447\u0438\u0441\u043b\u043e, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0441\u0438\u0433\u043d\u0430\u043b\u0443 \u043e\u0442\u0432\u0435\u0434\u0451\u043d \u043e\u0434\u0438\u043d \u0431\u0438\u0442: \u0441\u0438\u0433\u043d\u0430\u043b\u0443 1 \u2014 \u0441\u0430\u043c\u044b\u0439 \u043c\u043b\u0430\u0434\u0448\u0438\u0439 \u0431\u0438\u0442, \u0441\u0438\u0433\u043d\u0430\u043b\u0443 2 \u2014 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435. \u0415\u0441\u043b\u0438 \u0431\u0438\u0442 \u0440\u0430\u0432\u0435\u043d \u0435\u0434\u0438\u043d\u0438\u0446\u0435, \u0441\u0438\u0433\u043d\u0430\u043b \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f. <code>0x6<\/code> \u0432 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u043c \u0432\u0438\u0434\u0435 \u2014 \u044d\u0442\u043e <code>110<\/code>. \u0415\u0441\u043b\u0438 \u0447\u0438\u0442\u0430\u0442\u044c \u0441\u043f\u0440\u0430\u0432\u0430 \u043d\u0430\u043b\u0435\u0432\u043e, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f: \u0441\u0438\u0433\u043d\u0430\u043b 1 \u043d\u0435 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f, \u0441\u0438\u0433\u043d\u0430\u043b 2 (<code>SIGINT<\/code>, Ctrl+C) \u0438 \u0441\u0438\u0433\u043d\u0430\u043b 3 (<code>SIGQUIT<\/code>, Ctrl+) \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044e\u0442\u0441\u044f. \u0418\u043d\u0430\u0447\u0435 \u0433\u043e\u0432\u043e\u0440\u044f, \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u043b\u0430 \u0438 Ctrl+C, \u0438 Ctrl+, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u0440\u0435\u0440\u0432\u0430\u0442\u044c \u0435\u0451 \u0441 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f (\u0445\u0438\u0442\u0440\u0430\u044f \u0442\u0432\u0430\u0440\u044c, \u0430\u0433\u0430).<\/p>\n<pre><code>\u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0435:   1   1   0\u0441\u0438\u0433\u043d\u0430\u043b:     3   2   1            \u2502   \u2502   \u2514\u2500 SIGHUP  \u2014 \u043d\u0435 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f            \u2502   \u2514\u2500\u2500\u2500\u2500\u2500 SIGINT  \u2014 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f            \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 SIGQUIT \u2014 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0421\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u043d\u0430\u0448\u043b\u043e\u0441\u044c \u0432 <code>\/proc\/3040\/syscall<\/code>, \u0433\u0434\u0435 \u0432\u0438\u0434\u043d\u043e, \u0432 \u043a\u0430\u043a\u043e\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u043c \u0432\u044b\u0437\u043e\u0432\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u0441\u0438\u0434\u0438\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441:<\/p>\n<pre><code># cat \/proc\/3040\/syscall61 0x101d 0x7ffc46fd5300 0x0 0x0 0x7fbbbb8c3680 0x7ffc46fd5180 0x7ffc46fd52c8 0x7fbbbb5dbb1a<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0412\u044b\u0437\u043e\u0432 61 \u2014 \u044d\u0442\u043e <code>wait4<\/code>, \u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 <code>0x101d<\/code> = 4125. \u0422\u043e \u0435\u0441\u0442\u044c <code>storage_util<\/code> \u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u043e \u0436\u0434\u0451\u0442, \u043f\u043e\u043a\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0441\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441. \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0442\u043e \u044d\u0442\u043e:<\/p>\n<pre><code># tr '\\000' ' ' &lt; \/proc\/4125\/cmdlinesh -c \/etc\/init.d\/services.sh stop 2&gt;\/dev\/null 1&gt;\/dev\/null<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0412\u043e\u0442 \u0438 \u043f\u0435\u0440\u0432\u0430\u044f \u043d\u0430\u0445\u043e\u0434\u043a\u0430. <code>--nas_pool_stop<\/code> <strong>\u0441\u0430\u043c<\/strong> \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0432\u0441\u0435\u0445 \u0441\u043b\u0443\u0436\u0431 QNAP \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u0435\u0441\u044c \u0435\u0451 \u0432\u044b\u0432\u043e\u0434 \u0432 <code>\/dev\/null<\/code>. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043d\u0430\u0440\u0443\u0436\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0430\u043c\u0435\u0440\u0442\u0432\u043e \u0437\u0430\u0432\u0438\u0441\u0448\u0438\u043c: \u043e\u043d \u043c\u043e\u043b\u0447\u0438\u0442, \u043d\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0436\u0434\u0451\u0442, \u043f\u043e\u043a\u0430 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u0441\u043b\u0443\u0436\u0431\u044b.<\/p>\n<pre><code># ps | grep -E 'services.sh|\/etc\/init.d\/|\/etc\/rcK.d\/' 4125 admin  3108 S   sh -c \/etc\/init.d\/services.sh stop 2&gt;\/dev\/null 1&gt;\/dev\/null 4130 admin  3380 S   \/bin\/sh \/etc\/init.d\/services.sh stop 6173 admin  3200 S   \/bin\/sh \/etc\/rcK.d\/QK108MalwareRemover stop<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u043b\u0443\u0436\u0431 \u0437\u0430\u0441\u0442\u0440\u044f\u043b\u0430 \u043d\u0430 <strong>Malware Remover<\/strong>. \u0421\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435 (\u044d\u0442\u043e \u0442\u0435\u0436\u0435 \u0448\u0430\u0433\u0438, \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0432\u044b\u0448\u0435):<\/p>\n<pre><code># cat \/proc\/6173\/syscall61 0xffffffffffffffff ...                 \u2190 wait4(-1): \u0436\u0434\u0451\u0442 \u043b\u044e\u0431\u043e\u0433\u043e \u0440\u0435\u0431\u0451\u043d\u043a\u0430# grep -l '^PPid:[[:space:]]*6173$' \/proc\/[0-9]*\/status\/proc\/6175\/status# tr '\\000' ' ' &lt; \/proc\/6175\/cmdline                                          \u2190 \u043e\u0434\u043d\u0438 \u043d\u0443\u043b\u0435\u0432\u044b\u0435 \u0431\u0430\u0439\u0442\u044b, \u043f\u043e\u0441\u043b\u0435 tr \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0431\u0435\u043b\u044b# grep Name \/proc\/6175\/statusName:   bash# cat \/proc\/6175\/syscall61 0xffffffffffffffff ...                 \u2190 \u0441\u043d\u043e\u0432\u0430 wait4(-1)# grep -l '^PPid:[[:space:]]*6175$' \/proc\/[0-9]*\/status\/proc\/6182\/status# tr '\\000' ' ' &lt; \/proc\/6182\/cmdline\/usr\/local\/bin\/python \/sbin\/qts-console-mgmt -f# cat \/proc\/6182\/syscall202 0xb0f3e0 0x80 0x0 ...                 \u2190 futex(FUTEX_WAIT_PRIVATE)<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 \u0443 bash \u043f\u0443\u0441\u0442\u043e\u0439 <code>cmdline<\/code>, \u044f \u0442\u0430\u043a \u0438 \u043d\u0435 \u0432\u044b\u044f\u0441\u043d\u0438\u043b: \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043b \u0441\u0432\u043e\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0431\u044b\u043b \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f. \u0418\u043c\u044f \u0438\u0437 <code>status<\/code> \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c.<\/p>\n<p>\u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0446\u0435\u043f\u043e\u0447\u043a\u0430 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code>3040  storage_util --nas_pool_stop dev_id=1        wait4(4125) \u2514\u25004125  sh -c services.sh stop &gt;\/dev\/null         wait4    \u2514\u25004130  \/bin\/sh \/etc\/init.d\/services.sh stop   wait4       \u2514\u25006173  \/bin\/sh \/etc\/rcK.d\/QK108MalwareRemover stop   wait4(-1)          \u2514\u25006175  bash  (cmdline \u0437\u0430\u0442\u0451\u0440\u0442)                     wait4(-1)             \u2514\u25006182  python \/sbin\/qts-console-mgmt -f        futex(FUTEX_WAIT_PRIVATE)<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p><code>qts-console-mgmt<\/code> \u2014 \u044d\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0435 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0435 \u043c\u0435\u043d\u044e QTS (sic!!!). \u0422\u043e \u0441\u0430\u043c\u043e\u0435 \u043c\u0435\u043d\u044e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0430\u0434\u043c\u0438\u043d\u0443 \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u0435 \u043f\u043e SSH. \u041e\u043e\u043e\u043e\u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435, \u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u0441\u0432\u043e\u0435\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0438, censored, \u0436\u0434\u0430\u0442\u044c.<\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0437\u0434\u0435\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e, \u0447\u0442\u043e \u0432\u0438\u0434\u043d\u043e \u0432 <code>\/proc<\/code>: \u0446\u0435\u043f\u043e\u0447\u043a\u0430 <code>wait4 \u2192 wait4 \u2192 wait4 \u2192 futex<\/code>. \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Malware Remover \u0436\u0434\u0451\u0442 \u043c\u0435\u043d\u044e, <code>services.sh<\/code> \u0436\u0434\u0451\u0442 Malware Remover, \u0430 <code>storage_util<\/code> \u0436\u0434\u0451\u0442 <code>services.sh<\/code>, \u0438 \u0432\u0441\u0451 \u044d\u0442\u043e \u0441\u043a\u0440\u044b\u0442\u043e \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0432 <code>\/dev\/null<\/code>. \u041a\u0430\u043a \u043c\u0435\u043d\u044e \u043f\u043e\u043f\u0430\u043b\u043e \u0432 \u044d\u0442\u0443 \u0446\u0435\u043f\u043e\u0447\u043a\u0443 \u0438 \u0447\u0435\u0433\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u043e\u043d\u043e \u0436\u0434\u0451\u0442, \u0434\u0430\u043b\u044c\u0448\u0435 \u0443\u0436\u0435 \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u0430. \u041f\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u043c \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f\u043c, \u043c\u0435\u043d\u044e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043f\u0440\u043e\u0444\u0438\u043b\u044c bash. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0441\u043a\u0440\u0438\u043f\u0442 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Malware Remover \u043f\u043e\u0440\u043e\u0434\u0438\u043b bash, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u0442\u044f\u043d\u0443\u043b \u043f\u0440\u043e\u0444\u0438\u043b\u044c, \u0430 \u043c\u0435\u043d\u044e \u043f\u043e\u0432\u0438\u0441\u043b\u043e, \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0432 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430. <code>futex<\/code> \u0441\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435 \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u043e\u0442\u043e\u043a \u0436\u0434\u0451\u0442 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0443 \u0438\u043b\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0435, \u0430 \u043d\u0435 \u0432\u0432\u043e\u0434.<\/p>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u043e &#8212; \u0443\u0431\u0438\u0439\u0441\u0442\u0432\u043e. \u041a\u0438\u043b\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441:<\/p>\n<pre><code class=\"bash\">kill -TERM 6182<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <code>storage_util<\/code> \u0441\u0440\u0430\u0437\u0443 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043b\u0430\u0441\u044c. \u041f\u0440\u0430\u0432\u0434\u0430, \u0442\u0443\u0442 \u0436\u0435 \u043e\u0442\u043a\u0440\u044b\u043b\u0430\u0441\u044c \u0432\u0442\u043e\u0440\u0430\u044f \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c <code>--nas_pool_stop<\/code>: \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0432 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0441\u043b\u0443\u0436\u0431, \u043e\u043d \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b <code>services.sh start<\/code> \u0438 \u0432 \u0438\u0442\u043e\u0433\u0435 <strong>\u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b<\/strong> (\u0436\u0438\u0440\u0438\u043d\u043e\u0432\u0441\u043a\u0438\u0439.3gp \u201c\u0430 \u0447\u0442\u043e \u0436 \u0432\u044b \u043d\u0435 \u0441\u043c\u0435\u0451\u0442\u0435\u0441\u044c? \u0441\u043c\u0435\u0448\u043d\u043e \u0436\u0435\u201d). \u041f\u0443\u043b \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u043c.<\/p>\n<p>\u041f\u043e\u043c\u043e\u0433\u043b\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438\u0437 \u0434\u0432\u0443\u0445 \u043a\u043e\u043c\u0430\u043d\u0434:<\/p>\n<pre><code class=\"bash\">\/etc\/init.d\/services.sh stop      # \u043d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u0431\u0435\u0437 \u0437\u0430\u0432\u0438\u0441\u0430\u043d\u0438\u044fstorage_util --stop_storage       # exit 0<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p><code>--stop_storage<\/code> \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0432\u0441\u044e \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f: \u0432\u0441\u0435 \u0442\u043e\u043c\u0430, \u043f\u0443\u043b\u044b \u0438 RAID-\u0433\u0440\u0443\u043f\u043f\u044b, \u0430 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u043c\u0430\u043d\u043d\u044b\u0439 \u043f\u0443\u043b. \u0423 \u043c\u0435\u043d\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0443\u043b\u043e\u0432 \u043d\u0435 \u0431\u044b\u043b\u043e. <code>exit 0<\/code> \u0441\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0434\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e:<\/p>\n<pre><code># dmsetup ls --treecachedev2 (252:0) \u2514\u2500vg1-lv2 (252:7)# cat \/proc\/mdstat         \u2192 md2 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 md9\/md13\/md256\/md322 \u043d\u0430 \u043c\u0435\u0441\u0442\u0435# for d in a b c d; do echo sd${d}3:; ls \/sys\/block\/sd$d\/sd${d}3\/holders\/; done   \u2192 \u0432\u0441\u0435 \u043f\u0443\u0441\u0442\u044b<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>Thin pool, DRBD \u0438 <code>md2<\/code> \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b, \u0432\u0441\u0435 \u0447\u0435\u0442\u044b\u0440\u0435 RAID-\u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b. \u041e\u0442 \u0437\u0430\u0432\u0438\u0441\u0448\u0435\u0433\u043e \u0441\u0442\u0435\u043a\u0430 \u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u0435\u0437\u0432\u0440\u0435\u0434\u043d\u0430\u044f \u043f\u0430\u0440\u0430 <code>cachedev2 \u2192 vg1-lv2<\/code>.<\/p>\n<blockquote>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0432\u0438\u0441\u0438\u0442 <code>storage_util<\/code> \u0438\u043b\u0438 \u0437\u0430\u0432\u0438\u0441\u0430\u0435\u0442 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u043b\u0443\u0436\u0431 QNAP \u043f\u0440\u0438 \u0432\u044b\u0445\u043e\u0434\u0435 \u0438\u0437 SSH, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435, \u043d\u0435 \u0432\u0438\u0441\u0438\u0442 \u043b\u0438 \u0433\u0434\u0435-\u0442\u043e \u0432 \u0434\u0435\u0440\u0435\u0432\u0435 <code>qts-console-mgmt<\/code>.<\/p>\n<\/blockquote>\n<p><a class=\"anchor\" name=\"ch8\" id=\"ch8\"><\/a><\/p>\n<h2>8. \u0425\u0438\u0440\u0443\u0440\u0433\u0438\u044f: XOR-\u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0431\u043b\u043e\u043a\u0430 \u0438 \u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u043e\u0432<\/h2>\n<p><em>\u041e \u0447\u0451\u043c \u0433\u043b\u0430\u0432\u0430: \u043a\u043e\u043f\u0438\u044f \u0435\u0441\u0442\u044c, \u0434\u0438\u0441\u043a\u0438 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b. \u041f\u043e\u0440\u0430 \u0447\u0438\u043d\u0438\u0442\u044c \u0441\u0430\u043c \u043c\u0430\u0441\u0441\u0438\u0432, \u0430 \u043d\u0435 \u043e\u0431\u0445\u043e\u0434\u0438\u0442\u044c \u0435\u0433\u043e. \u041f\u043b\u0430\u043d \u0442\u0430\u043a\u043e\u0439: \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0435\u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0439 \u0431\u043b\u043e\u043a HDD4 \u0438\u0437 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432, \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0435\u0433\u043e \u043e\u0431\u0440\u0430\u0442\u043d\u043e, \u0443\u0431\u0440\u0430\u0442\u044c \u043c\u0430\u0440\u043a\u0435\u0440\u044b QNAP \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 rebuild \u043d\u0430 \u043d\u043e\u0432\u044b\u0439 \u0434\u0438\u0441\u043a. \u0417\u0434\u0435\u0441\u044c \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u043f\u0438\u0448\u0435\u043c \u043d\u0430 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0438\u0441\u043a\u0438.<\/em><\/p>\n<h3>\u0421\u0442\u0430\u0440\u044b\u0439 HDD2 \u043a\u0430\u043a \u0434\u043e\u043d\u043e\u0440<\/h3>\n<p>\u0412 RAID5 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u043e\u043b\u043e\u0441\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f<\/p>\n<p><img decoding=\"async\" class=\"formula\" source=\"D_1 \\oplus D_2 \\oplus D_3 \\oplus P = 0,\" alt=\"D_1 \\oplus D_2 \\oplus D_3 \\oplus P = 0,\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/b9\/b9c\/b9c8a325d0e95fb24d7daed7bbb910d6.svg\" width=\"187\" height=\"18\" data-width=\"23.356\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 23.356ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/b9\/b9c\/b9c8a325d0e95fb24d7daed7bbb910d6.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/b9\/b9c\/b9c8a325d0e95fb24d7daed7bbb910d6.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<p>\u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043b\u044e\u0431\u043e\u0439 \u043e\u0434\u0438\u043d \u0431\u043b\u043e\u043a \u043f\u043e\u043b\u043e\u0441\u044b \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f XOR-\u043e\u043c \u0442\u0440\u0451\u0445 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445, \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0442\u043e\u0433\u043e, \u0433\u0434\u0435 \u043b\u0435\u0436\u0438\u0442 \u0447\u0451\u0442\u043d\u043e\u0441\u0442\u044c. \u0411\u043b\u043e\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 HDD4 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c, \u2014 \u044d\u0442\u043e XOR \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0431\u043b\u043e\u043a\u043e\u0432 HDD1, HDD3 \u0438 <strong>HDD2<\/strong>. \u0422\u0443\u0442 \u0442\u043e \u043d\u0430\u043c \u0438 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u043b\u0441\u044f \u0441\u0442\u0430\u0440\u044b\u0439 \u0441\u043a\u0432\u043e (HDD2 seagate 2Tb), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u0438 \u0437\u0430\u043c\u0435\u043d\u044f\u043b \u043d\u043e\u0432\u044b\u043c ironwolf 3Tb.<\/p>\n<p>\u0421\u0442\u0430\u0440\u044b\u0439 HDD2 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b \u043f\u043e USB \u0447\u0435\u0440\u0435\u0437 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043d\u0438\u043a USB-SATA (\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u043b\u0435\u0436\u0430\u043b \u0431\u0435\u0437 \u0434\u0435\u043b\u0430 5 \u043b\u0435\u0442 \u043d\u0430 \u0430\u043d\u0442\u0440\u0435\u0441\u043e\u043b\u0438, \u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u0437\u0430\u0431\u043e\u0442\u043b\u0438\u0432\u043e \u043e\u0442\u0432\u0451\u0437 \u043d\u0430 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432 \u0434\u0435\u0440\u0435\u0432\u043d\u044e \u043d\u0430 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435. \u0414\u0430, \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0439 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c, \u044f \u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0441\u044f! \u042d\u043d\u0442\u0435\u0440\u0442\u0435\u0439\u043c\u0435\u043d\u0442 \u0441\u0430\u043c \u0441\u0435\u0431\u044f \u043d\u0435 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0443\u0435\u0442):<\/p>\n<pre><code># mdadm --examine \/dev\/sdd3      Events : 34788          \u2190 \u0443 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 35297 Update Time : Wed Nov 25 18:23:52 2026 Device Role : Active device 1 Array State : AAAABad Block Log: 512 entries available at offset -8 sectors   \u2190 \u043f\u0443\u0441\u0442<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 509 \u0441\u043e\u0431\u044b\u0442\u0438\u0439. <code>Events<\/code> \u043e\u0442\u0440\u0430\u0436\u0430\u0435\u0442 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u0430, \u0430 \u043e\u043d\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0442 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u043e \u0438 \u043f\u0440\u0438 \u043b\u044e\u0431\u043e\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u0430. \u041f\u043e\u0441\u043b\u0435 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0434\u0438\u0441\u043a\u0430 \u0442\u0430\u043a\u0438\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0431\u044b\u043b\u043e \u043c\u043d\u043e\u0433\u043e: \u0434\u0435\u0433\u0440\u0430\u0434\u0430\u0446\u0438\u044f, \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 spare, \u0441\u0442\u0430\u0440\u0442 \u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 rebuild, Recover. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0430\u043c\u0430 \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0434\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442. \u041d\u043e \u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0435 \u043d\u0435 \u0434\u043e\u043a\u0430\u0437\u0430\u043d\u043e: \u043f\u043e\u043a\u0430 HDD2 \u0431\u044b\u043b \u0432\u043d\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u043d\u0443\u0436\u043d\u043e\u0439 \u043f\u043e\u043b\u043e\u0441\u0435 \u043c\u043e\u0433\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c\u0441\u044f. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043d\u0443\u0436\u043d\u043e \u0441\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0435.<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0442\u0430\u043a\u0430\u044f: \u0435\u0441\u043b\u0438 \u0441\u0442\u0430\u0440\u044b\u0439 HDD2 \u0430\u043a\u0442\u0443\u0430\u043b\u0435\u043d, XOR \u0432\u0441\u0435\u0445 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0432 \u043b\u044e\u0431\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0434\u0430\u0432\u0430\u0442\u044c \u043d\u043e\u043b\u044c. \u0422\u043e\u0447\u043a\u0438 \u0431\u0435\u0440\u0443\u0442\u0441\u044f \u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u043e \u043f\u043e \u0432\u0441\u0435\u043c\u0443 \u0440\u0430\u0437\u0434\u0435\u043b\u0443. \u0424\u043e\u0440\u043c\u0443\u043b\u0430 XOR \u0432\u0435\u0440\u043d\u0430, \u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0441\u043b\u0438 \u0443 \u0432\u0441\u0435\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 <code>data_offset<\/code> (\u0437\u0434\u0435\u0441\u044c<\/p>\n<ol start=\"0\">\n<li>\n<p>\u0438 \u0431\u043b\u043e\u043a\u0438 \u0431\u0435\u0440\u0443\u0442\u0441\u044f \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044e.<\/p>\n<\/li>\n<\/ol>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u0430\u0440\u0438\u0442\u0435\u0442\u0430 \u0432 N \u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0442\u043e\u0447\u043a\u0430\u0445<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">import structdisks = [open('\/dev\/sd%s3' % d, 'rb') for d in 'abcd']  # HDD1, HDD3, HDD4, \u0441\u0442\u0430\u0440\u044b\u0439 HDD2ok = mismatch = errors = 0N = 1000for i in range(N):    sector = (i * 3887000000 \/\/ (N - 1)) \/\/ 8 * 8  # \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435 \u043f\u043e 4 \u041a\u0438\u0411    try:        blocks = []        for f in disks:            f.seek(sector * 512)            blocks.append(struct.unpack('&lt;512Q', f.read(4096)))        if all((a ^ b ^ c ^ d) == 0 for a, b, c, d in zip(*blocks)):            ok += 1        else:            mismatch += 1;            print('MISMATCH sector=%d' % sector)    except (IOError, struct.error):        errors += 1;        print('READ ERROR sector=%d' % sector)print('OK=%d MISMATCH=%d ERRORS=%d' % (ok, mismatch, errors))<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u041d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u0435 (100 \u0442\u043e\u0447\u0435\u043a) \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c <code>OK=100<\/code>. \u041f\u043e\u0441\u043b\u0435 <code>--stop_storage<\/code>, \u043a\u043e\u0433\u0434\u0430 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043c\u043e\u0433 \u043f\u0438\u0441\u0430\u0442\u044c, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b 1000 \u0442\u043e\u0447\u0435\u043a \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b <code>OK=1000<\/code>. \u0412\u044b\u0431\u043e\u0440\u043e\u0447\u043d\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0435 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u043f\u043e\u043b\u043e\u0441\u0435, \u0430 \u043d\u0443\u0436\u043d\u0430\u044f \u043d\u0430\u043c \u043f\u043e\u043b\u043e\u0441\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u0430 \u0431\u044b\u0442\u044c \u043d\u0435 \u043c\u043e\u0436\u0435\u0442: \u043d\u0430 HDD4 \u043e\u043d\u0430 \u043d\u0435 \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f. \u0427\u0442\u043e \u0434\u043e\u043d\u043e\u0440 \u0430\u043a\u0442\u0443\u0430\u043b\u0435\u043d \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043c, \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0434\u043e\u043f\u0443\u0449\u0435\u043d\u0438\u0435\u043c. \u042d\u0442\u043e \u043b\u0443\u0447\u0448\u0435\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0435 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435, \u043d\u043e \u043d\u0435 \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e.<\/p>\n<h3>\u0420\u0435\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0438 \u0437\u0430\u043f\u0438\u0441\u044c<\/h3>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0437\u0430\u043f\u0438\u0441\u044c\u044e \u0435\u0449\u0451 \u0440\u0430\u0437 \u0441\u0432\u0435\u0440\u0438\u043b, \u0447\u0442\u043e <code>\/dev\/sdc3<\/code> \u0432 \u044d\u0442\u043e\u043c \u0441\u0435\u0430\u043d\u0441\u0435 \u2014 \u0438\u043c\u0435\u043d\u043d\u043e HDD4: <code>mdadm --examine<\/code> \u043f\u043e\u043a\u0430\u0437\u0430\u043b UUID \u043c\u0430\u0441\u0441\u0438\u0432\u0430, <code>Device Role : Active device 3<\/code> \u0438 <code>Events : 35297<\/code>. \u0417\u0430\u0442\u0435\u043c \u0443\u0431\u0435\u0434\u0438\u043b\u0441\u044f, \u0447\u0442\u043e \u0431\u043b\u043e\u043a \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u043d\u0435 \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f: <code>dd if=\/dev\/sdc3 ... skip=554389928 count=8<\/code> \u0432\u044b\u0434\u0430\u043b <code>Input\/output error<\/code>. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0431\u043b\u043e\u043a\u0438 \u043d\u0430 \u0442\u0440\u0451\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u0434\u0438\u0441\u043a\u0430\u0445 \u0447\u0438\u0442\u0430\u043b\u0438\u0441\u044c.<\/p>\n<pre><code class=\"python\">import structsector = 554389928blocks = []for dev in ('\/dev\/sda3', '\/dev\/sdb3', '\/dev\/sdd3'):  # HDD1, HDD3, \u0441\u0442\u0430\u0440\u044b\u0439 HDD2    with open(dev, 'rb') as f:        f.seek(sector * 512)        blocks.append(struct.unpack('&lt;512Q', f.read(4096)))data = struct.pack('&lt;512Q', *[a ^ b ^ c for a, b, c in zip(*blocks)])open('\/dev\/shm\/hdd4-recovered.bin', 'wb').write(data)<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<pre><code># md5sum \/dev\/shm\/hdd4-recovered.bin2d8e709e5ebdc8942391f7cf69354e98# cat \/sys\/block\/sdc\/sdc3\/start2120584                                \u2190 \u0430\u0434\u0440\u0435\u0441 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0451\u043d: 554389928 + 2120584 = 556510512<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041f\u0435\u0440\u0432\u0430\u044f \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0437\u0430\u043f\u0438\u0441\u0438:<\/p>\n<pre><code># dd if=\/dev\/shm\/hdd4-recovered.bin of=\/dev\/sdc3 bs=512 seek=554389928 count=8 conv=notrunc,fsyncdd: writing '\/dev\/sdc3': Input\/output error0+0 records out<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0417\u0430\u043f\u0438\u0441\u0430\u043b\u043e\u0441\u044c 0 \u0431\u0430\u0439\u0442. \u041e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0446\u0438\u0444\u0440\u0435:<\/p>\n<pre><code># cat \/sys\/block\/sdc\/queue\/physical_block_size4096<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0414\u0438\u0441\u043a \u0444\u043e\u0440\u043c\u0430\u0442\u0430 512e: \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u0435\u043a\u0442\u043e\u0440 512 \u0431\u0430\u0439\u0442, \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0439 4096. \u041d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0435 \u0442\u0430\u043a\u043e\u0435: \u0437\u0430\u043f\u0438\u0441\u044c \u0431\u043b\u043e\u043a\u0430\u043c\u0438 \u043f\u043e 512 \u0431\u0430\u0439\u0442 \u0432\u0435\u0440\u043d\u0443\u043b\u0430 I\/O error \u0438 <code>0+0 records out<\/code>, \u0430 \u0442\u0430 \u0436\u0435 \u0437\u0430\u043f\u0438\u0441\u044c \u043e\u0434\u043d\u0438\u043c \u0432\u044b\u0440\u043e\u0432\u043d\u0435\u043d\u043d\u044b\u043c \u0431\u043b\u043e\u043a\u043e\u043c 4096 \u0431\u0430\u0439\u0442 \u043f\u0440\u043e\u0448\u043b\u0430. \u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0435 \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435 \u2014 read-modify-write. \u0427\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c 512 \u0431\u0430\u0439\u0442, \u0434\u0438\u0441\u043a \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u0435\u043a\u0442\u043e\u0440, \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0432 \u043d\u0451\u043c \u0432\u043e\u0441\u044c\u043c\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u043e. \u041d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u0435\u043a\u0442\u043e\u0440 \u043e\u043d \u043a\u0430\u043a \u0440\u0430\u0437 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442. \u0415\u0441\u043b\u0438 \u0436\u0435 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u0432\u0435\u0441\u044c \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u0435\u043a\u0442\u043e\u0440, \u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0435\u0447\u0435\u0433\u043e.<\/p>\n<p>\u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u043d\u0430\u0434\u043e \u043f\u043e \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e\u043c\u0443 LBA \u0434\u0438\u0441\u043a\u0430, \u0430 \u043d\u0435 \u043f\u043e \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044e \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435.<\/p>\n<blockquote>\n<p>LBA (Logical Block Addressing) \u2014 \u044d\u0442\u043e \u0441\u043f\u043e\u0441\u043e\u0431 \u043d\u0443\u043c\u0435\u0440\u0430\u0446\u0438\u0438 \u043c\u0435\u0441\u0442\u0430 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435. \u0412\u0435\u0441\u044c \u0434\u0438\u0441\u043a \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043a\u0430\u043a \u043e\u0434\u0438\u043d \u0434\u043b\u0438\u043d\u043d\u044b\u0439 \u0440\u044f\u0434 \u0431\u043b\u043e\u043a\u043e\u0432, \u043e\u0431\u044b\u0447\u043d\u043e \u043f\u043e 512 \u0431\u0430\u0439\u0442, \u043f\u0440\u043e\u043d\u0443\u043c\u0435\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0441 \u043d\u0443\u043b\u044f. LBA \u2014 \u044d\u0442\u043e \u043d\u043e\u043c\u0435\u0440 \u0431\u043b\u043e\u043a\u0430 \u0432 \u044d\u0442\u043e\u043c \u0440\u044f\u0434\u0443, \u0435\u0433\u043e \u0430\u0434\u0440\u0435\u0441.<\/p>\n<\/blockquote>\n<p>\u0417\u0434\u0435\u0441\u044c \u043d\u0430\u0447\u0430\u043b\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430 <code>2120584<\/code> \u0434\u0435\u043b\u0438\u0442\u0441\u044f \u043d\u0430 8, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435 \u0432\u043d\u0443\u0442\u0440\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u043c. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043e\u0431\u0430 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0441\u0435\u043a\u0442\u043e\u0440\u0430 (<code>logical_block_size<\/code>, <code>physical_block_size<\/code>) \u0438 \u043d\u0430\u0447\u0430\u043b\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430:<\/p>\n<pre><code class=\"bash\">dd if=\/dev\/shm\/hdd4-recovered.bin of=\/dev\/sdc3 bs=4096 seek=69298741 count=1 conv=notrunc,fsync#                                                     554389928 \/ 8 = 69298741<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u042d\u0442\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e. \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0435 \u0447\u0442\u0435\u043d\u0438\u0435: \u0432 BusyBox <code>dd<\/code> \u043d\u0435\u0442 <code>iflag=direct<\/code>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a\u0435\u0448 \u0441\u0431\u0440\u043e\u0441\u0438\u043b \u0447\u0435\u0440\u0435\u0437 <code>blockdev --flushbufs \/dev\/sdc3<\/code>, \u0430 \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043b \u0431\u043b\u043e\u043a \u043e\u0431\u044b\u0447\u043d\u044b\u043c <code>dd | md5sum<\/code>. \u0421\u0443\u043c\u043c\u0430 \u0441\u043e\u0432\u043f\u0430\u043b\u0430.<\/p>\n<p>\u041f\u043e\u0437\u0436\u0435 SMART HDD4 \u043f\u043e\u043a\u0430\u0437\u0430\u043b, \u0447\u0442\u043e 197 (Pending) \u0438 198 (Offline Uncorrectable) \u0441\u043d\u0438\u0437\u0438\u043b\u0438\u0441\u044c \u0441 8 \u0434\u043e 0, \u0430 5 (Reallocated) \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u0440\u0430\u0432\u0435\u043d 0. <strong>\u0421\u0447\u0451\u0442\u0447\u0438\u043a \u043f\u0435\u0440\u0435\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u043f\u0435\u0440\u0435\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<\/strong> \u0412\u0435\u0440\u043e\u044f\u0442\u043d\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u043b \u0442\u043e\u0442 \u0436\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u0435\u043a\u0442\u043e\u0440, \u0438 \u044d\u0442\u043e \u0431\u044b\u043b\u0430 \u00ab\u0441\u043b\u0430\u0431\u0430\u044f\u00bb \u0437\u0430\u043f\u0438\u0441\u044c, \u0430 \u043d\u0435 \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0451\u043d\u043d\u0430\u044f \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u044c.<\/p>\n<h3>Bad Block Log \u0438 \u0441\u043d\u043e\u0432\u0430 Rescue<\/h3>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430 HDD4 \u0431\u043b\u043e\u043a \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f, \u043d\u043e \u0437\u0430\u043f\u0438\u0441\u044c <code>554389928 8<\/code> \u0432 Bad Block Log HDD4 \u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c. \u0423 mdadm \u0435\u0441\u0442\u044c \u043a\u043b\u044e\u0447 <code>--update=no-bbl<\/code>, \u043e\u0434\u043d\u0430\u043a\u043e \u043e\u043d \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0432\u0435\u0441\u044c \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0436\u0443\u0440\u043d\u0430\u043b\u0430. \u041c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c BBL. \u0421\u043e\u0445\u0440\u0430\u043d\u0438\u043b 8 \u041a\u0438\u0411 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 (\u0436\u0443\u0440\u043d\u0430\u043b \u0438 \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a) \u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u043b \u0432\u043c\u0435\u0441\u0442\u043e \u0436\u0443\u0440\u043d\u0430\u043b\u0430 4096 \u0431\u0430\u0439\u0442 <code>0xFF<\/code>:<\/p>\n<pre><code class=\"bash\">dd if=\/dev\/sdc3 of=\/dev\/shm\/hdd4-metadata-backup.bin bs=4096 skip=485889937 count=2python2.7 -c 'open(\"\/dev\/shm\/hdd4-bbl-clean.bin\",\"wb\").write(\"\\xff\"*4096)'dd if=\/dev\/shm\/hdd4-bbl-clean.bin of=\/dev\/sdc3 bs=4096 seek=485889937 count=1 conv=notrunc,fsync#                                                    3887119496 \/ 8 = 485889937mdadm --examine-badblocks \/dev\/sdc3   # \u043f\u0443\u0441\u0442\u043e<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c <code>md2<\/code> \u0438\u0437 \u0442\u0440\u0451\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0438 \u0441\u043d\u043e\u0432\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c <code>FAILED, Rescue<\/code>, HDD4 faulty. \u0412 <code>dmesg<\/code> \u0432\u0441\u0451 \u0442\u0430 \u0436\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u0430: <code>bb count = 0<\/code>, <code>flags = 0x100001<\/code>.<\/p>\n<p>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u043e\u0439 \u0431\u044b\u043b \u0431\u0438\u0442 <code>0x8<\/code> \u0432 <code>feature_map<\/code> (\u00ab\u0435\u0441\u0442\u044c \u043f\u043b\u043e\u0445\u0438\u0435 \u0431\u043b\u043e\u043a\u0438\u00bb), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u0432\u0437\u0432\u0435\u0434\u0451\u043d. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u0435\u0451 \u0443\u0436\u0435 \u043d\u0430 persistent-\u0441\u043d\u0430\u043f\u0448\u043e\u0442\u0435 HDD4 (<code>snapshot ... P 8<\/code>): \u0441\u043d\u044f\u043b \u0431\u0438\u0442, \u043f\u0435\u0440\u0435\u0441\u0447\u0438\u0442\u0430\u043b \u0441\u0443\u043c\u043c\u0443 (<code>84ec6b9b \u2192 84ec6b93<\/code>), \u0441\u043e\u0431\u0440\u0430\u043b <code>md127<\/code>. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0442\u043e\u0442 \u0436\u0435, <code>FAILED, Rescue<\/code>.<\/p>\n<p>\u0422\u0443\u0442 \u0441\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043f\u043e\u0443\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442. \u041f\u0440\u0438\u0447\u0438\u043d\u0443 \u043c\u044b <strong>\u0443\u0436\u0435 \u0437\u043d\u0430\u043b\u0438<\/strong>: \u0432 \u043f\u0435\u0440\u0432\u044b\u0439 \u0434\u0435\u043d\u044c \u043d\u0430\u0448\u043b\u0438 \u043c\u0435\u0442\u043a\u0443 <code>0xFF04<\/code> \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0440\u043e\u043b\u0435\u0439 \u0438 \u043e\u0431\u043e\u0448\u043b\u0438 \u0435\u0451 \u043d\u0430 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u0430\u0445. \u041d\u043e \u043a \u044d\u0442\u043e\u043c\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u044f \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b \u0432 \u043d\u043e\u0432\u044b\u0439 \u0447\u0430\u0442 \u0441 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u043e\u043c, \u0438 \u0432 handoff-\u0437\u0430\u043c\u0435\u0442\u043a\u0443 \u044d\u0442\u0430 \u0434\u0435\u0442\u0430\u043b\u044c \u043d\u0435 \u043f\u043e\u043f\u0430\u043b\u0430. \u041f\u043e\u043b\u0447\u0430\u0441\u0430 \u0443\u0448\u043b\u043e \u043d\u0430 \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0434\u043d\u0430\u0436\u0434\u044b \u0443\u0436\u0435 \u0431\u044b\u043b\u0438 \u043e\u043f\u0440\u043e\u0432\u0435\u0440\u0433\u043d\u0443\u0442\u044b. \u041f\u0440\u043e \u042b\u042b \u044f \u043d\u0430\u043f\u0438\u0448\u0443 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0432 \u043a\u043e\u043d\u0446\u0435.<\/p>\n<p>\u0421\u0434\u0435\u043b\u0430\u043b\u0438 \u0434\u0430\u043c\u043f \u0441\u044b\u0440\u043e\u0433\u043e \u0441\u0443\u043f\u0435\u0440 \u0431\u043b\u043e\u043a\u0430:<\/p>\n<pre><code>\/dev\/sda3, \/dev\/sdb3, \/dev\/sdc3 @ 0x100:00 00 ff ff ff ff 04 ff 02 00<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f: \u0442\u0430 \u0436\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u043d\u0430 \u0441\u0442\u0430\u0440\u043e\u043c HDD2, \u0441\u043d\u044f\u0442\u043e\u043c \u0434\u043e \u0430\u0432\u0430\u0440\u0438\u0438, \u0432 \u00ab\u0437\u0434\u043e\u0440\u043e\u0432\u043e\u043c\u00bb \u0432\u0438\u0434\u0435:<\/p>\n<pre><code>Device 0: 0x0000    Device 3: 0x0003Device 1: 0x0001    Device 4: 0x0002Device 2: 0xffff    Device 5..7: 0xffff<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<h3>\u041f\u0440\u0430\u0432\u043a\u0430 \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u043e\u0432: \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u0430\u0445, \u043f\u043e\u0442\u043e\u043c \u043d\u0430 \u0434\u0438\u0441\u043a\u0430\u0445<\/h3>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u0431\u044b\u043b\u0430 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430 \u0442\u043e\u0447\u043d\u043e, \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0432\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u043a \u0434\u0432\u0443\u043c \u0431\u0430\u0439\u0442\u0430\u043c \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u0435: \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c <code>0xFF04<\/code> \u043d\u0430 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0441\u043b\u043e\u0442\u0430. \u041d\u043e \u044d\u0442\u043e \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u0440\u044f\u043c\u043e \u0432 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u044f \u043f\u044b\u0442\u0430\u044e\u0441\u044c \u0441\u043f\u0430\u0441\u0442\u0438, \u0438 \u043e\u0448\u0438\u0431\u043a\u0430 \u0442\u0443\u0442 \u0441\u0442\u043e\u0438\u043b\u0430 \u0431\u044b \u0434\u043e\u0440\u043e\u0433\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0433\u043d\u0430\u043b \u0432\u0441\u044e \u043f\u0440\u0430\u0432\u043a\u0443 \u043d\u0430 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u0430\u0445, \u0430 \u043a \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u043c \u0434\u0438\u0441\u043a\u0430\u043c \u043f\u0435\u0440\u0435\u0448\u0451\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u043d\u0430 \u043a\u043e\u043f\u0438\u044f\u0445 \u0432\u0441\u0451 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e.<\/p>\n<p><strong>1. \u0422\u0440\u0438 persistent-\u0441\u043d\u0430\u043f\u0448\u043e\u0442\u0430.<\/strong> \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u0430\u0441\u044c \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0430 \u0434\u043b\u044f \u0440\u0435\u043f\u0435\u0442\u0438\u0446\u0438\u0438. \u041f\u043e\u0432\u0435\u0440\u0445 <code>sda3<\/code>, <code>sdb3<\/code> \u0438 <code>sdc3<\/code> \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u044b <code>hdd1-test<\/code>, <code>hdd3-test<\/code> \u0438 <code>hdd4-test<\/code>, COW \u0434\u043b\u044f \u043d\u0438\u0445 \u043f\u043e\u043b\u043e\u0436\u0438\u043b \u0432 <code>\/dev\/shm<\/code>. \u041a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f, \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u0432 \u0433\u043b\u0430\u0432\u0435 3.<\/p>\n<p><strong>2. \u041f\u0430\u0442\u0447 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0440\u043e\u043b\u0435\u0439 \u043d\u0430 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u0430\u0445.<\/strong> \u0421\u043a\u0440\u0438\u043f\u0442 \u0442\u043e\u0442 \u0436\u0435, \u0447\u0442\u043e \u0438 \u0440\u0430\u043d\u044c\u0448\u0435, \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043c\u0435\u0441\u0442\u043e <code>assert ... == 0xff04<\/code> \u0432 \u043d\u0451\u043c \u044f\u0432\u043d\u044b\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438. \u0417\u0430\u043e\u0434\u043d\u043e \u0443 HDD4 \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0431\u0438\u0442 <code>0x8<\/code> \u0432 <code>feature_map<\/code>:<\/p>\n<pre><code>hdd1-test: role ff04 -&gt; 0003, checksum f8457bbe -&gt; f9447bbdhdd3-test: role ff04 -&gt; 0003, checksum 567b9964 -&gt; 577a9963hdd4-test: role ff04 -&gt; 0003, checksum 84ec6b93 -&gt; 85eb6b92<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p><strong>3. \u0422\u0435\u0441\u0442\u043e\u0432\u0430\u044f \u0441\u0431\u043e\u0440\u043a\u0430 \u0438\u0437 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u043e\u0432.<\/strong> \u041c\u043e\u043c\u0435\u043d\u0442 \u0438\u0441\u0442\u0438\u043d\u044b:<\/p>\n<pre><code># mdadm --assemble --readonly \/dev\/md127 \/dev\/mapper\/hdd{1,3,4}-test# mdadm --detail \/dev\/md127          State : clean, degraded Active Devices : 3 Failed Devices : 0<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0412\u043f\u0435\u0440\u0432\u044b\u0435 \u0437\u0430 \u0432\u0441\u0451 \u0432\u0440\u0435\u043c\u044f \u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u043e\u0431\u0440\u0430\u043b\u0441\u044f \u0448\u0442\u0430\u0442\u043d\u043e: <code>clean, degraded<\/code>, \u0430 \u043d\u0435 <code>FAILED, Rescue<\/code>. \u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0431\u043e\u0440\u043a\u0430 <code>[U_UU]<\/code> \u0438\u0437 \u0433\u043b\u0430\u0432\u044b 3 \u0431\u044b\u043b\u0430 \u043e\u0431\u0445\u043e\u0434\u043d\u044b\u043c \u043f\u0443\u0442\u0451\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f. \u0417\u0434\u0435\u0441\u044c \u0436\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b\u0430\u0441\u044c \u0442\u0430 \u0441\u0430\u043c\u0430\u044f \u043f\u0440\u0430\u0432\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u0440\u0435\u0434\u0441\u0442\u043e\u044f\u043b\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0430 \u0434\u0438\u0441\u043a\u0438.<\/p>\n<p><strong>4. \u0420\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0435 \u043a\u043e\u043f\u0438\u0438.<\/strong> \u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u0447\u0442\u043e-\u0442\u043e \u0442\u0440\u043e\u0433\u0430\u0442\u044c \u043d\u0430 \u0434\u0438\u0441\u043a\u0430\u0445, \u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b \u043f\u0443\u0442\u0438 \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f. \u041e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u0438 (<code>dd bs=4096 skip=485889938<\/code>, \u044d\u0442\u043e 3887119504 \/ 8) \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u0438\u0437 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u043e\u0432 \u0441\u043b\u043e\u0436\u0438\u043b \u0432 <code>\/dev\/shm<\/code>, \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u043b \u0434\u043b\u044f \u043d\u0438\u0445 md5 \u0438 \u0437\u0430\u0431\u0440\u0430\u043b \u043a\u043e\u043f\u0438\u0438 \u043d\u0430 Mac.<\/p>\n<p><strong>5. \u041f\u043e\u0431\u0430\u0439\u0442\u043e\u0432\u044b\u0439 diff \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u0430 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438.<\/strong> \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430, \u0447\u0442\u043e \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0440\u043e\u0432\u043d\u043e \u0442\u043e, \u0447\u0442\u043e \u0437\u0430\u0434\u0443\u043c\u0430\u043d\u043e, \u0438 \u043d\u0438 \u0431\u0430\u0439\u0442\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u0435:<\/p>\n<pre><code>sda3:                 sdb3:                 sdc3:0x00d8: be -&gt; bd      0x00d8: 64 -&gt; 63      0x0008: 08 -&gt; 00   \u2190 feature_map0x00da: 45 -&gt; 44      0x00da: 7b -&gt; 7a      0x00d8: 9b -&gt; 920x00db: f8 -&gt; f9      0x00db: 56 -&gt; 57      0x00da: ec -&gt; eb0x0106: 04 -&gt; 03      0x0106: 04 -&gt; 03      0x00db: 84 -&gt; 850x0107: ff -&gt; 00      0x0107: ff -&gt; 00      0x0106: 04 -&gt; 03                                            0x0107: ff -&gt; 00<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0418\u0437\u043c\u0435\u043d\u0438\u043b\u0438\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 <code>sb_csum<\/code> (<code>0xD8\u20130xDB<\/code>), \u0437\u0430\u043f\u0438\u0441\u044c <code>dev_roles[3]<\/code> (<code>0x106\u20130x107<\/code>) \u0438 \u0443 HDD4 \u0435\u0449\u0451 <code>feature_map<\/code>. \u0411\u043e\u043b\u044c\u0448\u0435 \u043d\u0438\u0447\u0435\u0433\u043e.<\/p>\n<p><strong>6. \u0417\u0430\u043f\u0438\u0441\u044c \u043d\u0430 \u0434\u0438\u0441\u043a\u0438.<\/strong> \u0421\u043d\u0430\u043f\u0448\u043e\u0442\u044b \u044f \u0443\u0434\u0430\u043b\u0438\u043b, \u0443\u0431\u0435\u0434\u0438\u043b\u0441\u044f, \u0447\u0442\u043e <code>holders<\/code> \u0443 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u043f\u0443\u0441\u0442\u044b, \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u0433\u0434\u0430 \u0437\u0430\u043f\u0438\u0441\u0430\u043b \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u0438. \u0414\u043b\u044f HDD1 \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u043e \u0442\u0430\u043a (\u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0434\u043b\u044f \u043c\u043e\u0435\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430, \u0443 \u0432\u0430\u0441 \u043e\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u0432\u043e\u0438\u043c):<\/p>\n<pre><code class=\"bash\"># \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u043f\u0438\u0441\u044c\u044e: mdadm --examine \/dev\/sda3 \u2192 UUID \u043c\u0430\u0441\u0441\u0438\u0432\u0430, Device Role 0, Events 35297dd if=\/dev\/shm\/hdd1-super-fixed.bin of=\/dev\/sda3 bs=4096 seek=485889938 count=1 conv=notrunc,fsync<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0422\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u043b \u0434\u043b\u044f HDD3 (<code>sdb3<\/code>) \u0438 HDD4 (<code>sdc3<\/code>) \u0441 \u0438\u0445 \u0444\u0430\u0439\u043b\u0430\u043c\u0438. <code>mdadm --examine<\/code> \u043d\u0430 \u0432\u0441\u0435\u0445 \u0442\u0440\u0451\u0445 \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u044b\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u044b\u0435 \u0441\u0443\u043c\u043c\u044b, <code>Events 35297<\/code> \u0438 \u0440\u043e\u043b\u0438 0, 2, 3.<\/p>\n<p><strong>7. \u0421\u0431\u043e\u0440\u043a\u0430 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430.<\/strong><\/p>\n<pre><code># mdadm --assemble --readonly \/dev\/md2 \/dev\/sda3 \/dev\/sdb3 \/dev\/sdc3# mdadm --detail \/dev\/md2          State : clean, degradedWorking Devices : 3 Active Devices : 3 Failed Devices : 0<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 RAID 5 \u0441\u043d\u043e\u0432\u0430 \u0431\u044b\u043b \u043d\u0430 \u043c\u0435\u0441\u0442\u0435: \u0442\u043e\u0442 \u0436\u0435 UUID, \u0442\u0430 \u0436\u0435 \u0434\u0430\u0442\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u2014 5 \u0430\u043f\u0440\u0435\u043b\u044f 2020 \u0433\u043e\u0434\u0430. \u0418 \u0432\u0441\u0451 \u044d\u0442\u043e \u0431\u0435\u0437 <code>--create<\/code> \u0438 \u0431\u0435\u0437 <code>--force<\/code>.<\/p>\n<h3>\u0417\u0430\u043f\u0443\u0441\u043a rebuild<\/h3>\n<p>\u041d\u043e\u0432\u044b\u0439 IronWolf \u0432\u0441\u0442\u0430\u0432\u0438\u043b \u043d\u0430 \u0433\u043e\u0440\u044f\u0447\u0443\u044e. QTS \u0435\u0433\u043e \u043d\u0435 \u0442\u0440\u043e\u043d\u0443\u043b\u0430. \u041d\u0430 \u0434\u0438\u0441\u043a\u0435 \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u043e\u0433\u043e rebuild: \u0440\u043e\u043b\u044c spare, <code>feature_map 0x8<\/code> \u0438 \u0442\u0430 \u0436\u0435 \u0437\u0430\u043f\u0438\u0441\u044c <code>554389928 8<\/code> \u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0435. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u0430\u043c \u0431\u043b\u043e\u043a \u0447\u0438\u0442\u0430\u043b\u0441\u044f, \u0442\u043e \u0435\u0441\u0442\u044c \u0434\u0438\u0441\u043a \u0431\u044b\u043b \u043d\u0438 \u043f\u0440\u0438 \u0447\u0451\u043c. \u0421\u043e\u0445\u0440\u0430\u043d\u0438\u043b \u0435\u0433\u043e \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u0434\u0430\u043c\u043f \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043e\u0447\u0438\u0441\u0442\u0438\u043b. \u042d\u0442\u043e \u0441\u043d\u043e\u0432\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u043c\u043e\u0435\u0433\u043e \u0441\u0435\u0430\u043d\u0441\u0430, <code>sdd3<\/code> \u0437\u0434\u0435\u0441\u044c \u2014 \u043d\u043e\u0432\u044b\u0439 \u0434\u0438\u0441\u043a \u0432 \u043e\u0442\u0441\u0435\u043a\u0435 2:<\/p>\n<pre><code class=\"bash\">dd if=\/dev\/sdd3 of=\/dev\/shm\/new-hdd2-metadata-backup.bin bs=4096 skip=730077949 count=2ls -l \/dev\/shm\/new-hdd2-metadata-backup.bin           # 8192 \u0431\u0430\u0439\u0442hexdump -C \/dev\/shm\/new-hdd2-metadata-backup.bin | head  # magic fc 4e 2b a9 \u043d\u0430 \u043c\u0435\u0441\u0442\u0435mdadm --zero-superblock \/dev\/sdd3mdadm --examine \/dev\/sdd3                              # No md superblock detectedmdadm --manage \/dev\/md2 --add \/dev\/sdd3# mdadm: add new device failed for \/dev\/sdd3 as 5: Read-only file systemmdadm --readwrite \/dev\/md2mdadm --manage \/dev\/md2 --add \/dev\/sdd3<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<pre><code>md2 : active raid5 sdd3[5] sda3[0] sdc3[3] sdb3[4]      [&gt;....................]  recovery =  0.1% (3104780\/1943559168) finish=208.3min speed=155239K\/sec<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0431\u043b\u043e\u043a \u043b\u0435\u0436\u0438\u0442 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 554 389 928 \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430, \u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 (<code>Used Dev Size<\/code>) \u2014 3 887 118 336 \u0441\u0435\u043a\u0442\u043e\u0440\u043e\u0432. \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f 554389928 \/ 3887118336 \u2248 14,26%. QTS \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u0439 \u0430\u0432\u0430\u0440\u0438\u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0430 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u043d\u0430 3,7%. \u041e\u0442\u043a\u0443\u0434\u0430 \u0432\u0437\u044f\u043b\u0430\u0441\u044c \u0442\u0430\u043a\u0430\u044f \u0446\u0438\u0444\u0440\u0430, \u044f \u0442\u0430\u043a \u0438 \u043d\u0435 \u043f\u043e\u043d\u044f\u043b. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u043e\u0439 \u044f \u0441\u0447\u0438\u0442\u0430\u043b 15%. Rebuild \u043f\u0440\u043e\u0448\u0451\u043b \u0435\u0451 \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438.<\/p>\n<p><a class=\"anchor\" name=\"ch9\" id=\"ch9\"><\/a><\/p>\n<h2>9. \u0412\u0442\u043e\u0440\u043e\u0439 \u0443\u0434\u0430\u0440 \u043d\u0430 81%<\/h2>\n<p><em>\u041e \u0447\u0451\u043c \u0433\u043b\u0430\u0432\u0430: \u0447\u0435\u0440\u0435\u0437 \u0442\u0440\u0438 \u0447\u0430\u0441\u0430 rebuild \u0443\u043f\u0430\u043b \u0441\u043d\u043e\u0432\u0430, \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430 HDD3. \u0421\u0442\u0430\u0440\u044b\u0439 HDD2 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0451\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c\u0441\u044f \u043f\u043e USB. \u041d\u0430\u0434\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c XOR-\u0445\u0438\u0440\u0443\u0440\u0433\u0438\u044e \u0443\u0436\u0435 \u043d\u0430 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0431\u043b\u043e\u043a\u0430\u0445 \u0438 \u0441 \u043d\u043e\u0432\u044b\u043c \u043c\u0430\u0440\u043a\u0435\u0440\u043e\u043c QNAP. \u0426\u0435\u043b\u044c: \u0442\u0440\u0435\u0442\u0438\u0439 rebuild \u0434\u043e <\/em><code><em>[UUUU]<\/em><\/code><em>.<\/em><\/p>\n<p>\u0412 \u0447\u0430\u0441 \u043d\u043e\u0447\u0438:<\/p>\n<pre><code>md2 : active (read-only) raid5 sdd3[5](S) sda3[0] sdc3[3] sdb3[4]      5830677504 blocks super 1.0 level 5, 512k chunk, algorithm 2 [4\/3] [U_UU]<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<pre><code>sd 2:0:0:0: [sdb] Sense Key : Medium Error [current]sd 2:0:0:0: [sdb] Add. Sense: Unrecovered read error - auto reallocate failedmd\/raid:md2: read error not correctable (sector 3355597136 on sdb3).md\/raid:md2: read error not correctable (sector 3355597144 on sdb3)....<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 HDD3 (<code>sdb<\/code>) \u043d\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043b \u0447\u0435\u0442\u044b\u0440\u0435 \u0431\u043b\u043e\u043a\u0430 \u043f\u043e 4 \u041a\u0438\u0411:<\/p>\n<pre><code># cat \/sys\/block\/md2\/md\/dev-sdb3\/bad_blocks3355597136 83355597336 83355597376 83355597392 8<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0415\u0441\u0442\u044c \u0438 \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u043d\u043e\u0432\u043e\u0441\u0442\u044c: \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u043f\u0435\u0440\u0432\u043e\u0439 \u0430\u0432\u0430\u0440\u0438\u0438, md \u043d\u0435 \u0432\u044b\u043a\u0438\u043d\u0443\u043b HDD3 \u0438\u0437 \u043c\u0430\u0441\u0441\u0438\u0432\u0430. \u041c\u0430\u0441\u0441\u0438\u0432 \u043e\u0441\u0442\u0430\u043b\u0441\u044f <code>[U_UU]<\/code>, rebuild \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u0435\u0440\u0432\u0430\u043b\u0441\u044f, \u0430 \u043d\u043e\u0432\u044b\u0439 \u0434\u0438\u0441\u043a \u0432\u0435\u0440\u043d\u0443\u043b\u0441\u044f \u0432 spare.<\/p>\n<h3>\u0421\u0442\u0430\u0440\u044b\u0439 HDD2 \u00ab\u0443\u043c\u0435\u0440\u00bb, \u0430 \u043f\u043e\u0442\u043e\u043c \u043e\u0436\u0438\u043b<\/h3>\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b \u0441\u0442\u0430\u0440\u044b\u0439 HDD2 \u043f\u043e USB, \u0430 \u0432 <code>dmesg<\/code>:<\/p>\n<pre><code>usb usb1-port4: Cannot enable. Maybe the USB cable is bad?usb usb1-port4: unable to enumerate USB device<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0414\u0440\u0443\u0433\u043e\u0439 \u043f\u043e\u0440\u0442 \u043d\u0435 \u043f\u043e\u043c\u043e\u0433. \u041f\u043e\u043b\u043d\u043e\u0435 \u043e\u0431\u0435\u0441\u0442\u043e\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0430 \u0442\u043e\u0436\u0435. \u0414\u0440\u0443\u0433\u043e\u0439 \u0434\u0438\u0441\u043a \u0447\u0435\u0440\u0435\u0437 \u0442\u043e\u0442 \u0436\u0435 \u0430\u0434\u0430\u043f\u0442\u0435\u0440 \u043d\u0430 Mac \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0441\u044f. \u041f\u0430\u0440\u0443 \u0447\u0430\u0441\u043e\u0432 \u044f \u0431\u044b\u043b \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u0434\u043e\u043d\u043e\u0440 \u0443\u043c\u0435\u0440.<\/p>\n<p>\u0422\u043e\u0433\u0434\u0430 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0435 SATA-\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 (\u0430 \u0447\u0442\u043e \u043c\u043d\u0435 \u0442\u0435\u0440\u044f\u0442\u044c?). \u042d\u0442\u043e \u0443\u0436\u0435 \u043d\u0435 read-only \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439: QTS \u043f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0432 \u043e\u0442\u0441\u0435\u043a \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0434\u0438\u0441\u043a \u0441\u0432\u043e\u0438\u043c \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c \u0435\u0433\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044b, \u0432 \u0447\u0451\u043c \u044f \u0441\u043a\u043e\u0440\u043e \u0443\u0431\u0435\u0434\u0438\u043b\u0441\u044f. \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b <code>md2<\/code> \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b, \u0447\u0442\u043e \u043d\u043e\u0432\u044b\u0439 IronWolf \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 <code>md9<\/code> \u0438 <code>md13<\/code> \u043d\u0435 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 (\u0442\u0430\u043c \u043f\u043e 3 \u0434\u0440\u0443\u0433\u0438\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430), \u0430 \u0432 <code>md256<\/code> \u0438 <code>md322<\/code> \u043e\u043d spare. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u043d\u0443\u043b IronWolf \u043d\u0430 \u0433\u043e\u0440\u044f\u0447\u0443\u044e \u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u043b \u0432 \u043e\u0442\u0441\u0435\u043a 2 \u0441\u0442\u0430\u0440\u044b\u0439 HDD2:<\/p>\n<pre><code>sdd: sdd1 sdd2 sdd3 sdd4 sdd5---- NAS_Disk_Hot_Add(enc_id=0, port_id=2) start.md: recovery of RAID array md9md: recovery of RAID array md13<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0414\u0438\u0441\u043a \u043e\u0436\u0438\u043b. \u041e\u0442\u043a\u0430\u0437 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043b\u0441\u044f \u0438\u043c\u0435\u043d\u043d\u043e \u0443 \u0441\u0432\u044f\u0437\u043a\u0438 \u00ab\u044d\u0442\u043e\u0442 \u0434\u0438\u0441\u043a + \u044d\u0442\u043e\u0442 \u0430\u0434\u0430\u043f\u0442\u0435\u0440 \u043f\u043e USB\u00bb, \u043f\u0440\u0438\u0447\u0438\u043d\u0443 \u044f \u0442\u0430\u043a \u0438 \u043d\u0435 \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b. QTS \u0441\u0440\u0430\u0437\u0443 \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u043d\u0435\u0433\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 <code>md9<\/code> \u0438 <code>md13<\/code>. \u042d\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e, \u043d\u043e <code>md2<\/code> \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u043d\u0430 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043d\u0435 \u0441\u0442\u0430\u043b\u0430, \u0447\u0442\u043e \u043c\u043d\u0435 \u0438 \u0431\u044b\u043b\u043e \u043d\u0443\u0436\u043d\u043e.<\/p>\n<h3>\u041f\u043e\u0432\u0442\u043e\u0440 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438<\/h3>\n<p>\u0428\u0430\u0433\u0438 \u0442\u0435 \u0436\u0435, \u0447\u0442\u043e \u0432 \u0433\u043b\u0430\u0432\u0435 8, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a\u0440\u0430\u0442\u043a\u043e:<\/p>\n<ol>\n<li>\n<p>\u0412\u0441\u0435 \u0447\u0435\u0442\u044b\u0440\u0435 \u043d\u0443\u0436\u043d\u044b\u0445 \u0431\u043b\u043e\u043a\u0430 \u043d\u0430 \u0441\u0442\u0430\u0440\u043e\u043c HDD2 \u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f.<\/p>\n<\/li>\n<li>\n<p>XOR-\u0440\u0435\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e <code>sda3<\/code> (HDD1), <code>sdc3<\/code> (HDD4) \u0438 <code>sdd3<\/code> (\u0441\u0442\u0430\u0440\u044b\u0439 HDD2) \u0434\u0430\u043b\u0430 \u0447\u0435\u0442\u044b\u0440\u0435 \u0444\u0430\u0439\u043b\u0430 \u043f\u043e 4096 \u0431\u0430\u0439\u0442 \u0432 <code>\/dev\/shm<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u043d\u0430\u0447\u0430\u043b\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430 (<code>2120584<\/code>) \u0438 <code>physical_block_size<\/code> (<code>4096<\/code>).<\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u043f\u0438\u0441\u0430\u043b \u043a\u0430\u0436\u0434\u044b\u0439 \u0431\u043b\u043e\u043a \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c <code>dd bs=4096 seek=&lt;sector\/8&gt; count=1 conv=notrunc,fsync<\/code>.<\/p>\n<\/li>\n<li>\n<p><code>blockdev --flushbufs<\/code>, \u0437\u0430\u0442\u0435\u043c \u043f\u043e\u0431\u0430\u0439\u0442\u043e\u0432\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043d\u043d\u043e\u0433\u043e \u0441 \u0440\u0435\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439 \u0434\u0430\u043b\u043e <code>OK<\/code> \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0447\u0435\u0442\u044b\u0440\u0451\u0445.<\/p>\n<\/li>\n<li>\n<p>\u0420\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043b \u0438 \u043e\u0447\u0438\u0441\u0442\u0438\u043b Bad Block Log HDD3:<\/p>\n<\/li>\n<\/ol>\n<pre><code>Entry 0: sector=3355597136, count=8Entry 1: sector=3355597336, count=8Entry 2: sector=3355597376, count=8Entry 3: sector=3355597392, count=8<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0421\u0431\u043e\u0440\u043a\u0430 \u0438\u0437 \u0442\u0440\u0451\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0434\u0430\u043b\u0430 <code>[4\/2] [U__U]<\/code>, \u0442\u0435\u043f\u0435\u0440\u044c faulty \u0431\u044b\u043b HDD3. \u041d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u044f \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0441\u044b\u0440\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0440\u043e\u043b\u0435\u0439:<\/p>\n<pre><code>\/dev\/sda3: 0000 ffff ffff 0003 ff03 ffff ffff ffff\/dev\/sdb3: 0000 ffff ffff 0003 ff03 ffff ffff ffff\/dev\/sdc3: 0000 ffff ffff 0003 ff03 ffff ffff ffff<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\n<\/th>\n<th>\n<p align=\"left\">\u041f\u0435\u0440\u0432\u0430\u044f \u0430\u0432\u0430\u0440\u0438\u044f<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0412\u0442\u043e\u0440\u0430\u044f \u0430\u0432\u0430\u0440\u0438\u044f<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u044b\u0439 \u0434\u0438\u0441\u043a<\/p>\n<\/td>\n<td>\n<p align=\"left\">HDD4<\/p>\n<\/td>\n<td>\n<p align=\"left\">HDD3<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>dev_number<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">3<\/p>\n<\/td>\n<td>\n<p align=\"left\">4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0440\u043e\u043b\u044c<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>0x0003<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>0x0002<\/code><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041c\u0435\u0442\u043a\u0430 QNAP<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>0xFF04<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>0xFF03<\/code><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0430 <code>0xFF00 | (slot + 1)<\/code> \u0441\u043e\u0432\u043f\u0430\u043b\u0430 \u0438 \u0441\u043e \u0432\u0442\u043e\u0440\u044b\u043c \u0441\u043b\u0443\u0447\u0430\u0435\u043c, \u043d\u043e \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e\u043c \u044d\u0442\u043e \u043d\u0435 \u0441\u0442\u0430\u043b\u043e: \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u0434\u0432\u0430.<\/p>\n<p>\u0412\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437 \u044f \u043f\u0440\u0430\u0432\u0438\u043b \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u0438 <strong>\u0431\u0435\u0437 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043d\u0430 COW-\u0441\u043d\u0430\u043f\u0448\u043e\u0442\u0430\u0445<\/strong>: \u043c\u0435\u0442\u043e\u0434\u0438\u043a\u0430 \u0431\u044b\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u0430 \u043d\u0430\u043a\u0430\u043d\u0443\u043d\u0435, \u0430 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u044b \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0431\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0437\u0430\u043d\u043e\u0432\u043e. \u0427\u0442\u043e \u0431\u044b\u043b\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0432\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e:<\/p>\n<ul>\n<li>\n<p>\u0441\u0432\u0435\u0436\u0438\u0435 \u0434\u0430\u043c\u043f\u044b \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u043e\u0432 \u043f\u0440\u0438 <code>Events 35347<\/code>, \u043a\u043e\u043f\u0438\u0438 \u043d\u0430 Mac;<\/p>\n<\/li>\n<li>\n<p>\u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u0438 \u043f\u043e\u0431\u0430\u0439\u0442\u043e\u0432\u044b\u0439 diff (\u043d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0431\u0430\u0439\u0442\u044b <code>0x108\u20130x109<\/code> \u0438 \u0441\u0443\u043c\u043c\u0430, \u0443 HDD3 \u0435\u0449\u0451 <code>feature_map<\/code>);<\/p>\n<\/li>\n<li>\n<p>\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430, \u0447\u0442\u043e <code>holders<\/code> \u0432\u0441\u0435\u0445 \u0442\u0440\u0451\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u043f\u0443\u0441\u0442\u044b;<\/p>\n<\/li>\n<li>\n<p>\u0437\u0430\u043f\u0438\u0441\u044c, <code>mdadm --examine<\/code>, \u0441\u0431\u043e\u0440\u043a\u0430.<\/p>\n<\/li>\n<\/ul>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e \u043e\u0447\u0438\u0441\u0442\u043a\u0443 Bad Block Log. \u0417\u0430\u043f\u0438\u0441\u044c\u044e <code>0xFF<\/code> \u043f\u043e\u0432\u0435\u0440\u0445 \u0436\u0443\u0440\u043d\u0430\u043b\u0430 \u0441\u0442\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0432\u0435\u0441\u044c \u0436\u0443\u0440\u043d\u0430\u043b, \u0430 \u043d\u0435 \u043e\u0434\u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c. \u042d\u0442\u043e \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e, \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0433\u0434\u0430 \u043a\u0430\u0436\u0434\u0430\u044f \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u043d\u0451\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u0430: \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0431\u043b\u043e\u043a \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0438 \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f. \u0417\u0434\u0435\u0441\u044c \u0442\u0430\u043a \u0438 \u0431\u044b\u043b\u043e.<\/p>\n<pre><code>md2 : active (read-only) raid5 sda3[0] sdc3[3] sdb3[4]      5830677504 blocks super 1.0 level 5, 512k chunk, algorithm 2 [4\/3] [U_UU]<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 rebuild \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0441 81%<\/h3>\n<p>\u0412\u0435\u0440\u043d\u0443\u043b IronWolf \u0432 \u043e\u0442\u0441\u0435\u043a. \u0423 \u0435\u0433\u043e \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u0430 <code>Events 35347<\/code> (\u043a\u0430\u043a \u0443 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445), \u0440\u043e\u043b\u044c spare, \u0430 \u0432 Bad Block Log \u0442\u0435 \u0436\u0435 \u0447\u0435\u0442\u044b\u0440\u0435 \u0437\u0430\u043f\u0438\u0441\u0438, \u0447\u0442\u043e \u0443 HDD3. \u0428\u0430\u043d\u0441 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c rebuild \u0441 \u043c\u0435\u0441\u0442\u0430 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043f\u043e\u043b\u044f <code>recovery_offset<\/code> (\u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 <code>0x98<\/code>):<\/p>\n<pre><code>Feature Map: 0x8Recovery Offset: 0Device Number: 5<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0420\u043e\u043b\u044c spare, \u0431\u0438\u0442 <code>0x2<\/code> \u0432 <code>feature_map<\/code> (\u0432\u0430\u043b\u0438\u0434\u0435\u043d <code>recovery_offset<\/code>) \u043d\u0435 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d, \u0441\u0430\u043c <code>recovery_offset<\/code> \u0440\u0430\u0432\u0435\u043d \u043d\u0443\u043b\u044e. \u0412\u0430\u043b\u0438\u0434\u043d\u043e\u0439 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u044f \u0432 \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u0435 \u043d\u0435\u0442. \u0412\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c <code>recovery_offset<\/code> \u0440\u0443\u043a\u0430\u043c\u0438 \u043c\u043e\u0436\u043d\u043e, \u043d\u043e \u0435\u0441\u043b\u0438 \u043e\u0448\u0438\u0431\u0438\u0442\u044c\u0441\u044f, \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0444\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441 \u043c\u0443\u0441\u043e\u0440\u043e\u043c \u0432 \u0447\u0430\u0441\u0442\u0438 \u043f\u043e\u043b\u043e\u0441. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0442\u0440\u0435\u0442\u0438\u0439 rebuild \u043f\u043e\u0448\u0451\u043b \u0441 \u043d\u0443\u043b\u044f: \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0436\u0443\u0440\u043d\u0430\u043b, <code>--zero-superblock<\/code>, <code>--readwrite<\/code>, <code>--add<\/code>.<\/p>\n<pre><code>recovery =  0.0% (1004928\/1943559168) finish=193.2min speed=167488K\/sec<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u044b\u0435 \u0442\u043e\u0447\u043a\u0438 \u044f \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u043b \u0437\u0430\u0440\u0430\u043d\u0435\u0435, \u043f\u043e \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0431\u043b\u043e\u043a\u043e\u0432 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e <code>Used Dev Size<\/code>: <strong>14,26%<\/strong> (\u0431\u043b\u043e\u043a HDD4, 554389928 \/ 3887118336) \u0438 <strong>86,33%<\/strong> (\u0431\u043b\u043e\u043a\u0438 HDD3, 3355597136 \/ 3887118336). QTS \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u0430\u0432\u0430\u0440\u0438\u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430 81%. \u041f\u043e\u0447\u0435\u043c\u0443 \u043e\u0442\u043c\u0435\u0442\u043a\u0438 QTS \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442 \u0441 \u0440\u0430\u0441\u0447\u0451\u0442\u043d\u044b\u043c\u0438, \u044f \u043d\u0435 \u0432\u044b\u044f\u0441\u043d\u0438\u043b \u043d\u0438 \u0434\u043b\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043b\u0443\u0447\u0430\u044f. \u0427\u0435\u0440\u0435\u0437 \u0442\u0440\u0438 \u0441 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u043e\u0439 \u0447\u0430\u0441\u0430:<\/p>\n<pre><code>md2 : active raid5 sdd3[5] sda3[0] sdc3[3] sdb3[4]      5830677504 blocks super 1.0 level 5, 512k chunk, algorithm 2 [4\/4] [UUUU]<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<pre><code>          State : clean Active Devices : 4 Failed Devices : 0         Events : 35395<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p><code><strong>[UUUU]<\/strong><\/code><strong>.<\/strong> \u0422\u043e\u0442 \u0436\u0435 \u043c\u0430\u0441\u0441\u0438\u0432 2020 \u0433\u043e\u0434\u0430, \u0442\u043e\u0442 \u0436\u0435 UUID. <code>[UUUU]<\/code> \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442, \u0447\u0442\u043e rebuild \u0437\u0430\u0432\u0435\u0440\u0448\u0451\u043d, \u043d\u043e \u043d\u0435 \u0442\u043e, \u0447\u0442\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u0444\u0430\u0439\u043b \u0446\u0435\u043b. \u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0424\u0421 \u0435\u0449\u0451 \u043f\u0440\u0435\u0434\u0441\u0442\u043e\u044f\u043b\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c.<\/p>\n<p><a class=\"anchor\" name=\"ch10\" id=\"ch10\"><\/a><\/p>\n<h2>10. \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0448\u0442\u0430\u0442\u043d\u043e\u0439 \u0436\u0438\u0437\u043d\u0438<\/h2>\n<p><em>\u041e \u0447\u0451\u043c \u0433\u043b\u0430\u0432\u0430: \u043c\u0430\u0441\u0441\u0438\u0432 \u0446\u0435\u043b, \u043d\u043e QTS \u043e \u043d\u0430\u0448\u0438\u0445 \u0440\u0443\u0447\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u0445 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u0435\u0442. \u041d\u0443\u0436\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0435\u0439: \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f, \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0435\u0441\u044f \u0441\u0442\u0430\u0440\u044b\u0435 \u0434\u0438\u0441\u043a\u0438 \u0448\u0442\u0430\u0442\u043d\u044b\u043c\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0438 \u0432\u044b\u043b\u0435\u0447\u0438\u0442\u044c ext4.<\/em><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 <code>reboot<\/code> QTS \u0441\u0430\u043c\u0430 \u043f\u043e\u0434\u043d\u044f\u043b\u0430 \u0432\u0435\u0441\u044c \u0441\u0442\u0435\u043a \u0438 \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0430 DataVol2 \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c. Storage Pool \u0438 RAID Group \u0432 \u0441\u0442\u0430\u0442\u0443\u0441\u0435 Ready.<\/p>\n<p>\u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0435 \u044f\u0434\u0440\u0430:<\/p>\n<pre><code>EXT4-fs (dm-0): warning: mounting fs with errors, running e2fsck is recommendedEXT4-fs (dm-0): error count since last fsck: 1517845EXT4-fs (dm-0): initial error at time 1745539289: ext4_lookup:1882: inode 22091270EXT4-fs (dm-0): last error at time 1795620016: ext4_lookup:1882: inode 79173882<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p><code>1745539289<\/code> \u2014 \u044d\u0442\u043e 25 \u0430\u043f\u0440\u0435\u043b\u044f 2025 \u0433\u043e\u0434\u0430. \u042d\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u0432\u0438\u0434\u043d\u043e \u0435\u0449\u0451 \u043f\u0440\u0438 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0432 \u0433\u043b\u0430\u0432\u0435 6, \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u043e\u0433\u0434\u0430 \u0431\u044b\u043b\u043e \u043d\u0435 \u0434\u043e \u043d\u0435\u0433\u043e. <strong>\u0416\u0443\u0440\u043d\u0430\u043b ext4 \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0437\u0430 19 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u0434\u043e \u0430\u0432\u0430\u0440\u0438\u0438.<\/strong> \u042f \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0439 \u043e\u0442 QTS \u043e\u0431 \u044d\u0442\u043e\u043c \u043d\u0435 \u0432\u0438\u0434\u0435\u043b. <code>error count<\/code> \u2014 \u044d\u0442\u043e \u0447\u0438\u0441\u043b\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043e\u0448\u0438\u0431\u043e\u043a, \u0430 \u043d\u0435 \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0451\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432. \u041a\u0430\u0436\u0434\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e\u0442 \u0436\u0443\u0440\u043d\u0430\u043b \u043d\u0435 \u0434\u0430\u0442\u0438\u0440\u0443\u0435\u0442, \u043d\u043e \u043f\u043e\u0445\u043e\u0436\u0435, \u0447\u0442\u043e \u0447\u0430\u0441\u0442\u044c \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0451\u043d\u043d\u044b\u0445 inode, \u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043f\u043e\u0442\u043a\u043d\u0443\u043b\u0441\u044f <code>rsync<\/code>, \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0437\u0430\u0434\u043e\u043b\u0433\u043e \u0434\u043e \u043f\u043e\u043b\u043e\u043c\u043a\u0438 RAID.<\/p>\n<h3>Replace Disks One by One \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u0430<\/h3>\n<p>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043d\u0430 \u0437\u0430\u043c\u0435\u043d\u0443 HDD3: \u0437\u0430 \u043d\u0438\u043c \u0447\u0435\u0442\u044b\u0440\u0435 \u0434\u0435\u0444\u0435\u043a\u0442\u043d\u044b\u0445 \u0431\u043b\u043e\u043a\u0430, \u0437\u0430 HDD4 \u043e\u0434\u0438\u043d. \u041d\u043e \u0432 QTS \u043a\u043d\u043e\u043f\u043a\u0430 <strong>Replace Disks One by One<\/strong> \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u0430 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0441 \u043d\u0435\u0432\u043d\u044f\u0442\u043d\u044b\u043c <code>No operation can be executed on this disk or the disk is busy<\/code>. \u0420\u0430\u0431\u043e\u0447\u0435\u0435 \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435 \u2014 \u0438\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 <code>R\/W error<\/code> \u0443 \u0442\u0440\u0451\u0445 \u0434\u0438\u0441\u043a\u043e\u0432, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043d\u043e\u0432\u044b\u0439 IronWolf: \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u044b\u0445 rebuild-\u043e\u0432 QTS \u0437\u0430\u043f\u0438\u0441\u0430\u043b\u0430 \u0435\u043c\u0443 \u043e\u0448\u0438\u0431\u043a\u0438. SMART \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0443 \u0432\u0441\u0435\u0445 Good.<\/p>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u0438 \u0441\u0431\u0440\u043e\u0441\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u043d\u0435\u0442. \u041f\u043e\u043c\u043e\u0433 <strong>Scan for Bad Blocks<\/strong>: \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 6,5 \u0447\u0430\u0441\u0430 (\u043f\u043e \u043c\u043e\u0438\u043c \u0437\u0430\u043c\u0435\u0442\u043a\u0430\u043c, \u0431\u0435\u0437 \u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0445\u0440\u043e\u043d\u043e\u043c\u0435\u0442\u0440\u0430\u0436\u0430), \u0438 \u043d\u043e\u0432\u044b\u0439 IronWolf \u0441\u0442\u0430\u043b Good. \u041d\u043e \u0437\u0430\u043c\u0435\u043d\u0430 \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0440\u0430\u0437\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043b\u0430\u0441\u044c: \u0441\u043d\u044f\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441 \u0441 \u043e\u0434\u043d\u043e\u0433\u043e HDD2 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e, \u0441\u0443\u0434\u044f \u043f\u043e \u0432\u0441\u0435\u043c\u0443, \u043c\u0435\u0448\u0430\u043b\u0438 \u0434\u0432\u0430 \u0441\u0442\u0430\u0440\u044b\u0445 \u0434\u0438\u0441\u043a\u0430. \u0421\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0438\u0441\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0442\u0435\u043c, \u0447\u0442\u043e\u0431\u044b QTS \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u043b\u0430 \u0435\u0433\u043e \u0432\u044b\u0431\u0440\u043e\u0441\u0438\u0442\u044c, \u044f \u043d\u0435 \u0441\u0442\u0430\u043b (\u043d\u0430 \u0441\u0442\u0430\u0440\u044b\u0445 \u0434\u0438\u0441\u043a\u0430\u0445 \u043b\u0438\u0448\u043d\u0438\u0439 \u0440\u0430\u0437 \u0442\u0440\u043e\u0433\u0430\u0442\u044c &#8212; \u0441\u0442\u0440\u0435\u043b\u044f\u0442\u044c \u0441\u0435\u0431\u0435 \u0432 \u043d\u043e\u0433\u0443). \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043b, \u0447\u0442\u043e \u043c\u0430\u0441\u0441\u0438\u0432 <code>[UUUU]<\/code> \u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f, \u0438 \u043f\u043e\u043c\u0435\u043d\u044f\u043b HDD3 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0433\u043e\u0440\u044f\u0447\u0435\u0439 \u0437\u0430\u043c\u0435\u043d\u043e\u0439. \u041d\u0430 \u043c\u043e\u0451\u043c NAS \u044d\u0442\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e:<\/p>\n<pre><code>\u0432\u044b\u043d\u0443\u043b HDD3     \u2192 md2 [4\/3] [UU_U]\u0432\u0441\u0442\u0430\u0432\u0438\u043b \u043d\u043e\u0432\u044b\u0439  \u2192 QTS \u0441\u0430\u043c\u0430: md9 \u2192 md13 \u2192 ... \u2192 md2 recovery<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0427\u0435\u0440\u0435\u0437 \u043f\u044f\u0442\u044c \u0447\u0430\u0441\u043e\u0432 \u043c\u0430\u0441\u0441\u0438\u0432 \u0431\u044b\u043b <code>[UUUU]<\/code> \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0433\u043e \u0440\u0443\u0447\u043d\u043e\u0433\u043e \u0432\u043c\u0435\u0448\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430. \u0422\u0435\u043f\u0435\u0440\u044c \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u0434\u0432\u0430 \u043d\u043e\u0432\u044b\u0445 \u0434\u0438\u0441\u043a\u0430 \u0438 \u0434\u0432\u0430 \u0441\u0442\u0430\u0440\u044b\u0445.<\/p>\n<h3>fsck<\/h3>\n<p>\u0417\u0430\u0442\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b <strong>Check File System<\/strong> \u0432 QTS. \u041e\u043d\u0430 \u0441\u0430\u043c\u0430 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0441\u043b\u0443\u0436\u0431\u044b \u0438 \u0440\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u0442\u043e\u043c. \u041e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0431\u044b\u0441\u0442\u0440\u043e:<\/p>\n<pre><code># tune2fs -l \/dev\/mapper\/cachedev2 | grep -Ei 'state|checked'Filesystem state:         cleanLast checked:             Sun Nov 29 02:16:10 2026<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041f\u0440\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f <code>mounting fs with errors<\/code> \u0443\u0436\u0435 \u043d\u0435 \u0431\u044b\u043b\u043e.<\/p>\n<p><a class=\"anchor\" name=\"ch11\" id=\"ch11\"><\/a><\/p>\n<h2>11. \u041e\u0442\u0434\u043e\u0445\u043d\u0443\u043b\u0438? \u0421\u044e\u0436\u0435\u0442\u043d\u044b\u0439 \u0442\u0432\u0438\u0441\u0442! \u00ab\u043d\u043e\u0432\u044b\u0435\u00bb IronWolf \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0441 \u0441\u044e\u0440\u043f\u0440\u0438\u0437\u043e\u043c<\/h2>\n<p><em>\u041e \u0447\u0451\u043c \u0433\u043b\u0430\u0432\u0430: \u0432\u0441\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, \u043f\u043e\u0437\u0430\u0434\u0438, \u043d\u043e SMART \u0441\u0432\u0435\u0436\u0438\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0435. \u0420\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f, \u0447\u0442\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043a\u0443\u043f\u0438\u043b\u0438, \u0438 \u043a\u0430\u043a \u044d\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0434\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432. \u0421\u0440\u0430\u0437\u0443 \u043e\u0433\u043e\u0432\u043e\u0440\u044e\u0441\u044c: \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u0434\u0438\u0441\u043a\u0430\u043c\u0438 \u0434\u043e\u043a\u0430\u0437\u0430\u043d\u044b, \u0430 \u0438\u0445 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u2014 \u043d\u0435\u0442.<\/em><\/p>\n<p>\u0421\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 fsck \u044f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b SMART \u0434\u0432\u0443\u0445 \u043d\u043e\u0432\u044b\u0445 IronWolf. \u041e\u0431\u0430 \u0434\u0438\u0441\u043a\u0430 \u043d\u0430 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0438\u043c\u0435\u043b\u0438 \u043d\u0430\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0432 \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0447\u0430\u0441\u043e\u0432.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">SMART<\/p>\n<\/th>\n<th>\n<p align=\"left\">IronWolf \u0432 \u043e\u0442\u0441\u0435\u043a\u0435 2<\/p>\n<\/th>\n<th>\n<p align=\"left\">IronWolf \u0432 \u043e\u0442\u0441\u0435\u043a\u0435 3<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">5 \u2014 Reallocated (Retired Block Count)<\/p>\n<\/td>\n<td>\n<p align=\"left\">0<\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>56<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">9 \u2014 Power On Hours<\/p>\n<\/td>\n<td>\n<p align=\"left\">76<\/p>\n<\/td>\n<td>\n<p align=\"left\">29<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">197 \u2014 Current Pending Sector<\/p>\n<\/td>\n<td>\n<p align=\"left\">8<\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>64<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">198 \u2014 Offline Uncorrectable<\/p>\n<\/td>\n<td>\n<p align=\"left\">8<\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>64<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">187 \/ 188 \/ 199<\/p>\n<\/td>\n<td>\n<p align=\"left\">0 \/ 0 \/ 0<\/p>\n<\/td>\n<td>\n<p align=\"left\">0 \/ 0 \/ 0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041f\u0440\u043e\u0448\u0438\u0432\u043a\u0430<\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>CV12<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>SC12<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">IronWolf Health Management<\/p>\n<\/td>\n<td>\n<p align=\"left\">Healthy<\/p>\n<\/td>\n<td>\n<p align=\"left\">Healthy<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0412\u0435\u0440\u0434\u0438\u043a\u0442 QTS \u00abGood\u00bb \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043c, \u0447\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043b\u0435\u043a\u0438 \u043e\u0442 \u043f\u043e\u0440\u043e\u0433\u043e\u0432 (\u0443 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 5 \u044d\u0442\u043e 100 \u043f\u0440\u0438 \u043f\u043e\u0440\u043e\u0433\u0435 10). \u0410 56 \u043f\u0435\u0440\u0435\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u043a\u0442\u043e\u0440\u043e\u0432 \u0437\u0430 29 \u0447\u0430\u0441\u043e\u0432 \u0434\u043b\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 \u043d\u0435\u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b.<\/p>\n<h3>\u0427\u0442\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 IHM<\/h3>\n<p>QTS \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0436\u0443\u0440\u043d\u0430\u043b IronWolf Health Management, \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u0444\u0430\u0439\u043b <code>.sm2<\/code>. \u0424\u043e\u0440\u043c\u0430\u0442 \u043d\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d, \u0440\u0430\u0437\u0431\u043e\u0440 \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u044b\u0439, \u043f\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u0444\u0430\u0439\u043b\u0430. \u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u043b\u0435\u0436\u0438\u0442 \u0442\u0435\u043a\u0443\u0449\u0430\u044f SMART-\u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441 \u043f\u043e\u0440\u043e\u0433\u0430\u043c\u0438. \u0414\u0430\u043b\u044c\u0448\u0435 \u0438\u0434\u0443\u0442 \u043a\u0430\u0434\u0440\u044b \u043f\u043e 2 \u041a\u0438\u0411, \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u043d\u0430 \u0447\u0430\u0441 \u043d\u0430\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0441 \u0438\u0441\u0442\u043e\u0440\u0438\u0435\u0439 SMART. \u0412 \u043a\u043e\u043d\u0446\u0435 \u0436\u0443\u0440\u043d\u0430\u043b \u0441\u043e\u0431\u044b\u0442\u0438\u0439. \u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u041d\u0430\u0440\u0430\u0431\u043e\u0442\u043a\u0430<\/p>\n<\/th>\n<th>\n<p align=\"left\">Pending<\/p>\n<\/th>\n<th>\n<p align=\"left\">Reallocated<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">0 \u0447<\/p>\n<\/td>\n<td>\n<p align=\"left\">0<\/p>\n<\/td>\n<td>\n<p align=\"left\">0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">1 \u0447<\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>784<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">2\u201324 \u0447<\/p>\n<\/td>\n<td>\n<p align=\"left\">568<\/p>\n<\/td>\n<td>\n<p align=\"left\">0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">25\u201329 \u0447 (\u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f)<\/p>\n<\/td>\n<td>\n<p align=\"left\">64<\/p>\n<\/td>\n<td>\n<p align=\"left\">56<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>784 \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u043a\u0442\u043e\u0440\u0430 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0447\u0430\u0441\u0430 \u0440\u0430\u0431\u043e\u0442\u044b. \u041f\u0435\u0440\u0432\u044b\u0435 \u0441\u0443\u0442\u043a\u0438 \u0434\u0438\u0441\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043f\u0440\u0438 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0435 36\u201338 \u00b0C, \u0430 \u0443 \u043c\u0435\u043d\u044f \u043e\u043d \u0433\u0440\u0435\u0435\u0442\u0441\u044f \u0434\u043e 41\u201342 \u00b0C. \u0421\u0430\u043c\u0430 \u043f\u043e \u0441\u0435\u0431\u0435 \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440 \u043c\u0435\u0441\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0435 \u0434\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043d\u043e \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c \u043d\u0430\u0432\u043e\u0434\u0438\u0442 \u043d\u0430 \u043c\u044b\u0441\u043b\u044c, \u0447\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0435 24 \u0447\u0430\u0441\u0430 \u043f\u043e \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0443 \u043e\u043d \u043f\u0440\u043e\u0432\u0451\u043b \u043d\u0435 \u0432 \u043c\u043e\u0451\u043c NAS.<\/p>\n<h3>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0441\u0435\u0440\u0438\u0439\u043d\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430<\/h3>\n<p>\u0421\u0435\u0440\u0432\u0438\u0441 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0438 Seagate \u043d\u0430 \u043e\u0431\u0430 \u0441\u0435\u0440\u0438\u0439\u043d\u044b\u0445 \u043d\u043e\u043c\u0435\u0440\u0430 \u043e\u0442\u0432\u0435\u0442\u0438\u043b:<\/p>\n<pre><code>Invalid serial number (SN). Please check the serial number (SN) you entered...<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u042d\u0442\u043e \u043d\u0435 \u00ab\u0433\u0430\u0440\u0430\u043d\u0442\u0438\u044f \u0438\u0441\u0442\u0435\u043a\u043b\u0430\u00bb, \u0430 \u00ab\u0441\u0435\u0440\u0438\u0439\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043d\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u0435\u043d\u00bb. \u041f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 CV12 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0443 SkyHawk, \u0441\u0435\u0440\u0438\u0438 \u0434\u043b\u044f \u0432\u0438\u0434\u0435\u043e\u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u044f, \u0430 \u0434\u043b\u044f IronWolf ST3000VN007 \u0448\u0442\u0430\u0442\u043d\u0430\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 SC60. \u0418 \u0442\u0443\u0442 \u044f \u043f\u043e\u043b\u0435\u0437 \u0438\u0441\u043a\u0430\u0442\u044c, \u0430 \u0447\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u044b \u0442\u0438\u043f\u0430 dns, xcom, \u0441\u0438\u0442\u0438\u043b\u0438\u043d\u043a \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u043f\u0440\u043e \u044d\u0442\u0438 \u0434\u0438\u0441\u043a\u0438 \u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u0430 \u0441\u0442\u0430\u043b\u0430 \u0432\u044b\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f. \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0434\u0430\u0451\u0442 ironwolf 3Tb (\u043d\u0435\u0442 \u043e\u043d\u0438 \u0435\u0441\u0442\u044c, \u043d\u043e \u0438\u0445 \u043a\u0430\u043a \u0431\u044b \u043d\u0435\u0442 \u0432 \u043f\u0440\u043e\u0434\u0430\u0436\u0435), \u0432\u043e-\u0432\u0442\u043e\u0440\u044b\u0445 \u043d\u0430\u043a\u043b\u0435\u0439\u043a\u0430 \u043d\u0430 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u0430\u0445 \u0441\u0438\u043b\u044c\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043c\u043e\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043b\u0435\u043f\u0438\u043b\u0438 \u043c\u043d\u043e\u0433\u043e \u043b\u0435\u0442 \u0442\u043e\u043c\u0443 \u043d\u0430\u0437\u0430\u0434. \u0418, \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u044f \u043f\u043e\u0447\u0438\u0442\u0430\u043b \u043e\u0442\u0437\u044b\u0432\u044b \u043d\u0430 \u043c\u0430\u0440\u043a\u0435\u0442\u043f\u043b\u0435\u0439\u0441\u0435, \u0433\u0434\u0435 \u043f\u043e\u043a\u0443\u043f\u0430\u043b \u0434\u0438\u0441\u043a\u0438. \u0410\u0432\u0442\u043e\u0440 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0436\u0435 \u043e\u0442\u0437\u044b\u0432\u0430 \u043f\u0438\u0441\u0430\u043b, \u0447\u0442\u043e \u0434\u0438\u0441\u043a\u0438 \u0431\/\u0443, \u0441\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0441 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0432\u0438\u0434\u0435\u043e\u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u044f, \u0438 \u043f\u0440\u043e\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u0440\u0442\u0438\u044f\u043c\u0438 \u0441\u043e \u0441\u0431\u0440\u043e\u0448\u0435\u043d\u043d\u044b\u043c SMART. \u0421\u0430\u043c \u043e\u043d, \u043f\u0440\u0430\u0432\u0434\u0430, \u0431\u044b\u043b \u0434\u043e\u0432\u043e\u043b\u0435\u043d: \u0434\u0438\u0441\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u043b. \u0410 \u044f \u0432\u043e\u0442 \u043d\u0435 \u0431\u044b\u043b \u0434\u043e\u0432\u043e\u043b\u0435\u043d. \u041a\u0430\u043a \u0438 \u0440\u044f\u0434 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u0435\u043b\u0435\u0439.<\/p>\n<p>\u041f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432 \u043c\u043d\u043e\u0433\u043e: \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 CV12 \u0438 SC12 \u0432\u043c\u0435\u0441\u0442\u043e \u0448\u0442\u0430\u0442\u043d\u043e\u0439 SC60, \u0441\u0435\u0440\u0438\u0439\u043d\u0438\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0441\u0435\u0440\u0432\u0438\u0441 Seagate, \u00ab\u0441\u0432\u0435\u0436\u0438\u0439\u00bb SMART \u0441 \u0434\u0435\u0444\u0435\u043a\u0442\u0430\u043c\u0438 \u0432 \u043f\u0435\u0440\u0432\u044b\u0439 \u0436\u0435 \u0447\u0430\u0441 \u0438 \u043d\u0438\u0437\u043a\u0430\u044f \u0446\u0435\u043d\u0430 (\u043a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c. \u0415\u0441\u043b\u0438 \u0442\u044b \u0434\u0443\u043c\u0430\u0435\u0448\u044c, \u0447\u0451\u0440\u0442, 10\u043a \u0437\u0430 \u0434\u0438\u0441\u043a, \u044d\u0442\u043e \u0434\u043e\u0440\u043e\u0433\u043e. \u041d\u0435\u0442. 20\u043a \u0437\u0430 \u0434\u0438\u0441\u043a &#8212; \u0432\u043e\u0442 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0430\u044f \u0446\u0435\u043d\u0430). \u042d\u0442\u043e \u0441\u0435\u0440\u044c\u0451\u0437\u043d\u044b\u0435 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u0440\u0435\u0442\u0435\u043d\u0437\u0438\u0438 \u043f\u0440\u043e\u0434\u0430\u0432\u0446\u0443. \u0427\u0442\u043e \u0434\u0438\u0441\u043a\u0438 \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0448\u0438\u0442\u044b \u0438\u043b\u0438 \u043f\u043e\u0434\u0434\u0435\u043b\u0430\u043d\u044b, \u044d\u0442\u043e \u043d\u0435 \u0434\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442. \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0441\u0435\u0440\u0438\u0439\u043d\u0438\u043a\u0430 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 Seagate \u2014 \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432, \u043d\u0430\u0440\u044f\u0434\u0443 \u0441\u043e SMART \u0438 \u0442\u0435\u043c, \u0433\u0434\u0435 \u0434\u0438\u0441\u043a \u043a\u0443\u043f\u043b\u0435\u043d.<\/p>\n<p>\u0427\u0435\u0440\u0435\u0437 \u043f\u043e\u043b\u0434\u043d\u044f \u0443 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 Pending \u0432\u044b\u0440\u043e\u0441 <strong>\u0441 64 \u0434\u043e 5752<\/strong>. \u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u044f \u0440\u0435\u0448\u0438\u043b \u0447\u0442\u043e \u0445\u0432\u0430\u0442\u0438\u0442 \u0438\u0433\u0440\u0430\u0442\u044c \u0438 \u0443\u0436\u0435 \u043d\u0430\u0434\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e. 4 \u0434\u0438\u0441\u043a\u0430 \u0440\u0435\u0448\u0438\u043b \u043a\u0443\u043f\u0438\u0442\u044c \u0443 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0433\u043e \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430, \u0437\u0430 \u0446\u0435\u043d\u043d\u0438\u043a \u04452, \u043d\u043e \u044d\u0442\u043e \u0431\u044e\u0434\u0436\u0435\u0442 \u043d\u0430 5 \u043b\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u043d\u043e. \u0421\u0434\u0435\u043b\u0430\u043b \u043f\u043e\u0434\u0430\u0440\u043e\u043a \u0441\u0435\u0431\u0435 \u043d\u0430 \u041d\u0413, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f. \u042f \u0441\u0440\u043e\u0447\u043d\u043e \u043a\u0443\u043f\u0438\u043b \u0434\u0438\u0441\u043a\u0438, \u0438 \u0443 \u0432\u0441\u0435\u0445 \u0441\u0435\u0440\u0438\u0439\u043d\u0438\u043a\u0438 \u043f\u0440\u043e\u0448\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 Seagate.<\/p>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435 \u043e \u0447\u0435\u043c \u043f\u043e \u0441\u0443\u0442\u0438 &#8212; \u0432\u044b\u043d\u0443\u043b HDD4 &#8212; \u0432\u0441\u0442\u0430\u0432\u0438\u043b \u043d\u043e\u0432\u044b\u0439, rebuild, \u0434\u0430\u043b\u0435\u0435 HDD3 &#8212; \u043f\u043e\u0434\u0434\u0435\u043b\u044c\u043d\u044b\u0439 seagate, \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0447\u0438\u0441\u043b\u043e\u043c \u0431\u044d\u0434\u043e\u0432. \u043f\u043e\u0442\u043e\u043c HDD2 &#8212; \u0432\u0442\u043e\u0440\u043e\u0439 \u043f\u043e\u0434\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0434\u0438\u0441\u043a. \u0438 \u043d\u0430\u043a\u043e\u043d\u0435\u0446 HDD1. \u0418\u0442\u043e\u0433\u043e, 4 \u0437\u0430\u043c\u0435\u043d\u044b, 4 rebuild, \u0443\u0436\u0435 \u0448\u0442\u0430\u0442\u043d\u044b\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438. \u0424\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 reboot \u0438 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<p>\u0412\u044b\u0434\u043e\u0445\u043d\u0443\u043b\u0438. \u0414\u0438\u0441\u043a\u0438 \u0432 \u0438\u0442\u043e\u0433\u0435 \u044f \u043a\u0443\u043f\u0438\u043b 4\u0422\u0431, \u043f\u043e \u0446\u0435\u043d\u043d\u0438\u043a\u0443 \u0434\u043b\u044f 2\u0422\u0431 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c 1\u0422\u0431 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 9\u043a, \u0430 \u0434\u043b\u044f 4\u0422\u0431, \u043e\u0434\u0438\u043d \u0442\u0435\u0440\u0430\u0431\u0430\u0439\u0442 \u043e\u043a\u043e\u043b\u043e 5\u043a. \u0420\u0435\u0448\u0438\u043b \u0447\u0442\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u04452 \u0437\u0430 15\u043a &#8212; \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0432\u044b\u0433\u043e\u0434\u043d\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435, \u0438 \u043a\u0430\u043a\u0430\u044f \u0440\u0430\u0437\u043d\u0438\u0446\u0430, 70\u043a \u0438\u043b\u0438 90\u043a \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c, \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0434\u043e\u0445\u0440\u0435\u043d\u0430. \u041d\u043e \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 5 \u043b\u0435\u0442, \u0442\u0435\u043f\u0435\u0440\u044c \u0443 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0435 10\u0422\u0431 \u0438 \u043a\u0442\u043e \u0437\u043d\u0430\u0435\u0442 \u0447\u0442\u043e \u043c\u043d\u0435 \u0435\u0449\u0451 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0434\u043e\u043c\u0430 \u0432 \u0442\u0435\u043a\u0443\u0449\u0438\u0445 \u0440\u0435\u0430\u043b\u0438\u044f\u0445.<\/p>\n<h2>12. \u0412\u044b\u0432\u043e\u0434\u044b<\/h2>\n<p><strong>\u041f\u0440\u043e QNAP<\/strong><\/p>\n<ul>\n<li>\n<p><strong>Recover RAID Group \u0432 QTS \u2014 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e, \u0430 \u043d\u0435 \u043f\u0435\u0440\u0432\u043e\u0435.<\/strong> \u041f\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 QNAP \u043e\u043d\u0430 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0434\u043b\u044f \u0441\u043b\u0443\u0447\u0430\u044f, \u043a\u043e\u0433\u0434\u0430 \u0434\u0438\u0441\u043a\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u043b\u0438\u0441\u044c \u0438 \u0432\u0435\u0440\u043d\u0443\u043b\u0438\u0441\u044c. \u0412 \u043c\u043e\u0451\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043f\u043e\u0441\u043b\u0435 \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u043e\u0433\u043e rebuild, \u043e\u043d\u0430 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0430 \u043c\u0430\u0441\u0441\u0438\u0432 \u043d\u0430 \u0434\u0432\u0443\u0445 \u0434\u0438\u0441\u043a\u0430\u0445, \u0438 \u0434\u0430\u043b\u044c\u0448\u0435 \u0432\u0441\u0451 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u0440\u0443\u043a\u0430\u043c\u0438.<\/p>\n<\/li>\n<li>\n<p>\u0420\u0435\u0436\u0438\u043c <code>FAILED, Rescue<\/code> \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u044f\u0434\u0440\u0430. \u0423 \u043c\u0435\u043d\u044f \u0434\u0432\u0430\u0436\u0434\u044b \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0440\u043e\u043b\u0435\u0439 (<code>dev_roles<\/code>) \u0432\u0441\u0435\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435: <code>0xFF04<\/code> \u0438 <code>0xFF03<\/code>, \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 <code>0xFF00 | (slot + 1)<\/code>, \u043d\u043e \u044d\u0442\u043e \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u0430 \u043f\u043e \u0434\u0432\u0443\u043c \u0441\u043b\u0443\u0447\u0430\u044f\u043c. <code>--force<\/code> \u043c\u0435\u0442\u043a\u0443 \u043d\u0435 \u0441\u043d\u0438\u043c\u0430\u043b, \u043e\u0447\u0438\u0441\u0442\u043a\u0430 Bad Block Log \u0442\u043e\u0436\u0435. \u041c\u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u0430 \u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u0430 \u0441 \u043f\u0435\u0440\u0435\u0441\u0447\u0451\u0442\u043e\u043c <code>sb_csum<\/code>. \u0414\u0440\u0443\u0433\u0438\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u044f \u043d\u0435 \u043d\u0430\u0448\u0451\u043b, \u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u0438\u0445 \u043d\u0435\u0442.<\/p>\n<\/li>\n<li>\n<p><code>storage_util --nas_pool_stop<\/code> \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0441\u043b\u0443\u0436\u0431\u044b \u0438 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0432\u0438\u0441\u043d\u0443\u0442\u044c \u043d\u0430 <code>qts-console-mgmt<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u044f\u043d\u0435\u0442 \u0437\u0430 \u0441\u043e\u0431\u043e\u0439 Malware Remover. \u041d\u0430\u0434\u0451\u0436\u043d\u0435\u0435 \u043f\u0430\u0440\u0430 <code>services.sh stop<\/code> \u0438 <code>storage_util --stop_storage<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u0412 QTS \u043d\u0435\u0442 <code>nohup<\/code>, <code>fuser<\/code>, <code>smartctl<\/code>, <code>mkfs.ext4<\/code>, <code>od<\/code>. \u0418\u0445 \u0437\u0430\u043c\u0435\u043d\u044f\u044e\u0442 <code>setsid<\/code>, <code>\/proc<\/code>, SMART \u0432 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435, <code>mke2fs<\/code> \u0438 <code>hexdump<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0445\u043e\u0436\u0435, \u0441\u0442\u0430\u0442\u0443\u0441 <code>R\/W error<\/code> \u0443 \u0434\u0438\u0441\u043a\u043e\u0432 \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u0442 Replace Disks One by One. \u0413\u043e\u0440\u044f\u0447\u0443\u044e \u0437\u0430\u043c\u0435\u043d\u0443 \u043d\u0430 \u043c\u043e\u0451\u043c NAS \u043e\u043d \u043d\u0435 \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043b.<\/p>\n<\/li>\n<li>\n<p>\u042f \u043d\u0435 \u0432\u0438\u0434\u0435\u043b \u0432 QTS \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0439 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e ext4 \u043a\u043e\u043f\u0438\u0442 \u043e\u0448\u0438\u0431\u043a\u0438, \u0430 \u0436\u0443\u0440\u043d\u0430\u043b \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043b \u0438\u0445 \u0441 \u0430\u043f\u0440\u0435\u043b\u044f 2025 \u0433\u043e\u0434\u0430. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 <code>dmesg | grep 'error count since last fsck'<\/code> \u043d\u0430 \u0441\u0432\u043e\u0451\u043c NAS \u043f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441.<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u041f\u0440\u043e \u0442\u0435\u0445\u043d\u0438\u043a\u0443<\/strong><\/p>\n<ul>\n<li>\n<p><strong>dm-snapshot \u0441 COW \u0432 <\/strong><code><strong>\/dev\/shm<\/strong><\/code><strong> \u2014 \u043b\u0443\u0447\u0448\u0438\u0439 \u0434\u0440\u0443\u0433 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f.<\/strong> \u041d\u0430 \u043d\u0451\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043c\u0430\u0441\u0441\u0438\u0432, \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u044f \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044b, \u043f\u043e\u043a\u0430 \u0432\u0441\u0451 \u0438\u0434\u0451\u0442 \u0447\u0435\u0440\u0435\u0437 \u0441\u043d\u0430\u043f\u0448\u043e\u0442. \u041f\u043e\u043c\u043d\u0438\u0442\u0435 \u043e\u0433\u043e\u0432\u043e\u0440\u043a\u0438: <code>--setro<\/code> \u2014 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u0430\u044f \u0437\u0430\u0449\u0438\u0442\u0430, \u043f\u0435\u0440\u0435\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u044b\u0439 COW \u0434\u0435\u043b\u0430\u0435\u0442 \u0441\u043d\u0430\u043f\u0448\u043e\u0442 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c, \u0430 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 COW \u0432 RAM \u0438\u0441\u0447\u0435\u0437\u0430\u0435\u0442.<\/p>\n<\/li>\n<li>\n<p><strong>Thin volume \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043d\u044f\u0442\u044c \u0431\u0435\u0437 thin pool<\/strong>, \u0435\u0441\u043b\u0438 \u043a\u0430\u0440\u0442\u0430 \u043f\u0440\u043e\u0441\u0442\u0430\u044f: \u043e\u0434\u0438\u043d \u0442\u043e\u043c, \u043f\u0443\u0441\u0442\u043e\u0439 Qtier, \u0431\u0435\u0437 <code>fastzero<\/code>. <code>thin_dump<\/code> \u0434\u0430\u0451\u0442 \u043a\u0430\u0440\u0442\u0443, Python \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0435\u0451 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 <code>linear<\/code>\/<code>zero<\/code>, device-mapper \u0441\u043a\u043b\u0435\u0438\u0432\u0430\u0435\u0442 \u0442\u043e\u043c. 150 \u0442\u044b\u0441\u044f\u0447 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430.<\/p>\n<\/li>\n<li>\n<p><strong>\u041d\u0430 \u0434\u0438\u0441\u043a\u0430\u0445 512e \u043d\u0435\u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0439 \u0441\u0435\u043a\u0442\u043e\u0440 \u0441\u0442\u043e\u0438\u0442 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0446\u0435\u043b\u0438\u043a\u043e\u043c, \u0432\u044b\u0440\u043e\u0432\u043d\u0435\u043d\u043d\u044b\u043c \u0431\u043b\u043e\u043a\u043e\u043c 4096 \u0431\u0430\u0439\u0442.<\/strong> \u0423 \u043c\u0435\u043d\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u043e 512 \u0431\u0430\u0439\u0442 \u0432\u0435\u0440\u043d\u0443\u043b\u0430 I\/O error, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0438\u0437-\u0437\u0430 read-modify-write, \u0430 4096 \u0431\u0430\u0439\u0442 \u0437\u0430\u043f\u0438\u0441\u0430\u043b\u0438\u0441\u044c.<\/p>\n<\/li>\n<li>\n<p>\u0421\u043d\u044f\u0442\u044b\u0439 \u043f\u0440\u0438 \u0437\u0430\u043c\u0435\u043d\u0435 \u0441\u0442\u0430\u0440\u044b\u0439 \u0434\u0438\u0441\u043a \u043c\u043e\u0436\u0435\u0442 \u0441\u0442\u0430\u0442\u044c \u0434\u043e\u043d\u043e\u0440\u043e\u043c \u0434\u043b\u044f XOR-\u0440\u0435\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438. \u0415\u0433\u043e \u043f\u0440\u0438\u0433\u043e\u0434\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0441\u044f XOR-\u043e\u043c \u0432\u0441\u0435\u0445 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0432 \u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0442\u043e\u0447\u043a\u0430\u0445. \u041d\u043e \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u043d\u043e\u0440\u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0432 \u043d\u0443\u0436\u043d\u043e\u0439 \u043f\u043e\u043b\u043e\u0441\u0435 \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0434\u043e\u043f\u0443\u0449\u0435\u043d\u0438\u0435\u043c.<\/p>\n<\/li>\n<li>\n<p><code>\/proc\/PID\/syscall<\/code>, <code>\/proc\/PID\/status<\/code> (<code>PPid<\/code>, <code>SigIgn<\/code>) \u0438 <code>grep PPid<\/code> \u0437\u0430\u043c\u0435\u043d\u044f\u044e\u0442 <code>strace<\/code>, <code>pstree<\/code> \u0438 <code>ps -ef<\/code>, \u043a\u043e\u0433\u0434\u0430 \u0438\u0445 \u043d\u0435\u0442. \u0422\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u0435, \u0447\u0442\u043e <code>syscall<\/code> \u2014 \u0441\u043d\u0438\u043c\u043e\u043a \u043e\u0434\u043d\u043e\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u0430\u0432\u043a\u0438 \u043d\u0430 \u0436\u0438\u0432\u044b\u0445 \u0434\u0438\u0441\u043a\u0430\u0445 \u044f \u0434\u0435\u043b\u0430\u043b \u043f\u043e \u0441\u0445\u0435\u043c\u0435: \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0430\u044f \u043a\u043e\u043f\u0438\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443, \u043f\u043e\u0431\u0430\u0439\u0442\u043e\u0432\u044b\u0439 diff, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 <code>holders<\/code>, \u0437\u0430\u043f\u0438\u0441\u044c, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0435 \u0447\u0442\u0435\u043d\u0438\u0435. \u041f\u0435\u0440\u0432\u0443\u044e \u043f\u0440\u0430\u0432\u043a\u0443 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0440\u043e\u043b\u0435\u0439 \u044f \u043f\u0435\u0440\u0435\u0434 \u044d\u0442\u0438\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u043d\u0430 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u0430\u0445, \u0432\u0442\u043e\u0440\u0443\u044e \u2014 \u0443\u0436\u0435 \u043d\u0435\u0442.<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u041f\u0440\u043e \u0434\u0438\u0441\u043a\u0438<\/strong><\/p>\n<ul>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u00ab\u043d\u043e\u0432\u043e\u0433\u043e\u00bb \u0434\u0438\u0441\u043a\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0441\u0435\u0440\u0438\u0439\u043d\u0438\u043a \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f, \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443 \u0438 SMART. \u0415\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c, \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 FARM-\u0436\u0443\u0440\u043d\u0430\u043b Seagate (<code>smartctl<\/code> 7.4+) \u0438 \u043f\u0440\u043e\u0433\u043e\u043d\u0438\u0442\u0435 \u043f\u043e\u043b\u043d\u043e\u0435 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0438. \u0412\u0441\u0451 \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0430 \u0447\u0435\u0440\u0435\u0437 USB-\u0430\u0434\u0430\u043f\u0442\u0435\u0440 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 SAT passthrough.<\/p>\n<\/li>\n<li>\n<p>Rebuild \u043d\u043e\u0432\u043e\u0433\u043e \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430 RAID5 \u0447\u0438\u0442\u0430\u0435\u0442 \u0432\u0435\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043d\u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u0430\u0445. \u0415\u0441\u043b\u0438 \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043d\u0438\u0445 \u0435\u0441\u0442\u044c \u043d\u0435\u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0439 \u0441\u0435\u043a\u0442\u043e\u0440, \u0430 \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438 \u0443\u0436\u0435 \u043d\u0435\u0442, \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u044d\u0442\u0443 \u043f\u043e\u043b\u043e\u0441\u0443 \u043d\u0435 \u0438\u0437 \u0447\u0435\u0433\u043e, \u0438 rebuild, \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f. \u0423 \u043c\u0435\u043d\u044f \u043e\u043d \u0443\u043f\u0430\u043b \u0434\u0432\u0430\u0436\u0434\u044b, \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u0430\u0445, \u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043d\u0430 \u0434\u0435\u0444\u0435\u043a\u0442\u0430\u0445, \u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u0430\u0441\u0441\u0438\u0432 \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u043f\u043e\u0434\u043e\u0437\u0440\u0435\u0432\u0430\u043b.<\/p>\n<\/li>\n<li>\n<p><strong>RAID \u2014 \u043d\u0435 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0430\u044f \u043a\u043e\u043f\u0438\u044f.<\/strong> \u0427\u0438\u0442\u0430\u0435\u043c\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0430 RAID \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u043f\u0430\u0441\u0430\u0442\u044c.<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u041f\u0440\u043e \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0418\u0418-\u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u043e\u043c<\/strong><\/p>\n<p>\u0412\u0441\u0451 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u044f \u0432\u0451\u043b \u0432 \u043f\u0430\u0440\u0435 \u0441 \u0447\u0430\u0442-\u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u043e\u043c, \u0448\u0430\u0433 \u0437\u0430 \u0448\u0430\u0433\u043e\u043c: \u043e\u0434\u043d\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430, \u043c\u043e\u0439 \u0432\u044b\u0432\u043e\u0434, \u0430\u043d\u0430\u043b\u0438\u0437, \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430. \u0412\u0441\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b\u0438\u0441\u044c \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u0438\u0437\u043c\u0443 \u0437\u0434\u0440\u0430\u0432\u043e\u0433\u043e \u0441\u043c\u044b\u0441\u043b\u0430, \u0447\u0438\u0442\u0430\u043b \u0438 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043b\u0441\u044f \u0447\u0442\u043e \u044d\u0442\u043e. \u041e\u0442\u0441\u044e\u0434\u0430 \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u0441\u0442\u0430\u0442\u044c\u044f &#8212; \u044f \u0443\u0437\u043d\u0430\u043b \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e. \u041f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u043b\u0438 \u043c\u043d\u0435 \u044d\u0442\u043e \u0435\u0449\u0451 \u0440\u0430\u0437 \u043a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c? \u043d\u0435 \u0437\u043d\u0430\u044e, \u043d\u043e \u0431\u044b\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e. \u0417\u0430\u0431\u0430\u0432\u043d\u043e \u0447\u0442\u043e \u043c\u043e\u0439 \u043b\u044e\u0431\u0438\u043c\u044b\u0439 \u043a\u043b\u043e\u0434 \u0441\u043a\u0430\u0437\u0430\u043b \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0430\u0447\u0430\u043b\u0435 \u201c\u0434\u0440\u0443\u0436\u0438\u0449\u0435, \u0443 \u043c\u0435\u043d\u044f \u043b\u0430\u043f\u043a\u0438, \u0434\u0430\u0432\u0430\u0439 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0432 \u0441\u0430\u043f\u043e\u0440\u0442\u201d. \u0438 \u0442\u0443\u0442 \u044f \u0438\u0441\u043a\u0440\u0435\u043d\u043d\u0435 \u043e\u0445\u0440\u0435\u043d\u0435\u043b, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0430\u0433\u043d\u0435\u0441\u0442\u043a\u0438\u0445 \u0444\u0435\u0440\u043c, \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u043e\u0431\u043b\u0430\u043d\u044b\u0435 \u0442\u0435\u043d\u043d\u0430\u043d\u0442\u044b, \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0435\u0441\u044f\u0442\u043a\u043e\u0432 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e-\u0443\u0441\u043f\u0435\u0448\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043b\u043e\u0434\u0430, \u0430 \u0442\u0443\u0442, \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e, \u043e\u043f\u0430\u043d\u044c\u043a\u0438. \u0438 \u0432 \u0438\u0442\u043e\u0433\u0435, \u044f \u0432\u0441\u0451 \u044d\u0442\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0451\u043b \u0432 web \u0432\u0435\u0440\u0441\u0438\u0438 chat gpt! Wow \u0438 wow! \u0427\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0418\u0418 &#8212; \u043d\u0435\u043f\u0430\u0445\u0430\u043d\u043d\u043e\u0435 \u043f\u043e\u043b\u0435 \u0434\u043b\u044f \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u043e\u0432 \u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0442\u0430\u043c \u0433\u0434\u0435 \u043d\u0435 \u043e\u0436\u0438\u0434\u0430\u0435\u0448\u044c, \u043d\u043e \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c, \u0438 \u043d\u0435 \u0432\u0435\u0440\u0438\u0442\u044c \u043d\u0430 \u0441\u043b\u043e\u0432\u043e \u0418\u0418 \u0447\u0442\u043e \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e. \u0414\u0430, \u044f \u043c\u043e\u0433 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u043a\u043e\u0434\u0435\u043a\u0441\u0435 \u0438 \u0431\u044b\u043b\u043e \u0431\u044b \u0443\u0434\u043e\u0431\u043d\u0435\u0435, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0432\u0435\u0441\u044c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043f\u043e \u0444\u0430\u0439\u043b\u0430\u043c, \u0431\u044b\u043b\u043e \u0431\u044b \u0443\u0434\u043e\u0431\u043d\u0435\u0435, \u043d\u043e \u044f \u043a\u0430\u043a-\u0442\u043e \u043d\u0430\u0447\u0430\u043b \u0432 \u0432\u0435\u0431\u0447\u0438\u043a\u0435 \u0438 \u0442\u0430\u043c \u0436\u0435 \u0434\u043e\u0432\u0451\u043b \u0434\u043e \u043a\u043e\u043d\u0446\u0430. \u041d\u0443 \u0438 \u0434\u0430, \u044f \u0434\u0443\u043c\u0430\u044e \u0447\u0442\u043e 99% \u043e\u0442\u0432\u0435\u0442\u0430 \u043f\u043e\u0447\u0435\u043c\u0443 &#8212; \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432 UI \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0447\u0438\u0442\u0430\u0442\u044c \u0442\u0443\u043f\u043e \u0443\u0434\u043e\u0431\u043d\u0435\u0435 (\u043f\u043e\u0447\u0442\u0438 \u043a\u0430\u043a \u0432 cowork, \u043d\u043e \u044f \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0443\u0448\u0451\u043b \u0432 \u0430\u0433\u0435\u043d\u0442\u043d\u0443\u044e \u043a\u043e\u043d\u0441\u043e\u043b\u044c, \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0430 orca \u0441\u0438\u0436\u0443.) \u041d\u0443 \u0438 \u043a\u0430\u043a \u0432\u044b\u0432\u043e\u0434 &#8212; \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0441\u0442\u0438\u0447\u044c \u0441 \u043b\u044e\u0431\u044b\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u043c \u0418\u0418, \u0431\u044b\u043b\u043e \u0431\u044b \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u0438 \u043e\u043f\u044b\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u043c.<\/p>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u0435, \u0438 \u043d\u0435 \u0442\u0443\u043f\u0438\u0442\u0435 \u043a\u0430\u043a \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440, \u0434\u0435\u0432\u043e\u043f\u0441 \u0441 15-\u043b\u0435\u0442\u043d\u0438\u043c \u0441\u0442\u0430\u0436\u0435\u043c, \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0434\u0435\u043b\u0430, \u0430\u0432\u0442\u043e\u0440 \u0441\u0442\u0430\u0442\u0435\u0439, \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0445 \u043a\u0443\u0440\u0441\u043e\u0432, \u0438 \u043a\u0430\u043d\u0430\u043b\u0430 \u0432 \u0442\u0435\u043b\u0435\u0433\u0435. \u0421\u0441\u044b\u043b\u043e\u043a \u043d\u0435 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e, \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0435 \u0434\u043b\u044f \u043f\u0438\u0430\u0440\u0430, \u0430 \u0441\u0442\u0430\u0440\u043e-\u0434\u043e\u0431\u0440\u043e, \u043f\u043e-\u0445\u0430\u0431\u0440\u043e\u0432\u0441\u043a\u0438, \u0447\u0438\u0441\u0442\u0430\u044f \u0442\u0435\u0445\u043d\u0438\u0447\u043a\u0430 \u0432 \u0448\u0443\u0442\u043a\u0430\u0445 \u0438 \u043f\u0440\u0438\u0431\u0430\u0443\u0442\u043a\u0430\u0445.<\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1115522\/\">https:\/\/habr.com\/ru\/articles\/1115522\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0438\u0432\u0435\u0442! \u0432\u0442\u043e\u0440\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u0440\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0440\u0435\u0439\u0434\u0430. \u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0440\u0430\u0437 (https:\/\/habr.com\/ru\/articles\/1115284) \u043c\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0438 \u043d\u0430 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432 degraded raid \u043d\u0430 2 \u0434\u0438\u0441\u043a\u0430 \u0438\u0437 4 \u043c\u044b \u0441\u043e\u0431\u0440\u0430\u043b\u0438 \u043c\u0430\u0441\u0441\u0438\u0432 \u043d\u0430 COW-\u0431\u0443\u0444\u0435\u0440\u0430\u0445 \u0432 \/dev\/shm, \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 LVM, \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0424\u0421 \u0438 \u0441\u043c\u043e\u0433\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0435 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435, \u0447\u0430\u0441\u0442\u044c 6 \u0438\u0437 12.\u0420\u0430\u0437\u0431\u043e\u0440 \u0441\u0442\u0435\u043d\u0434\u0430 \u0438 \u00abdevice is busy\u00bb\u0414\u0435\u0440\u0435\u0432\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432: \u043f\u043e\u0447\u0435\u043c\u0443 \u0432\u0438\u0441\u0438\u0442 storage_util\u0425\u0438\u0440\u0443\u0440\u0433\u0438\u044f: XOR-\u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0431\u043b\u043e\u043a\u0430 \u0438 \u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u043e\u0432\u0412\u0442\u043e\u0440\u043e\u0439 \u0443\u0434\u0430\u0440 \u043d\u0430 81%\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0448\u0442\u0430\u0442\u043d\u043e\u0439 \u0436\u0438\u0437\u043d\u0438\u0421\u044e\u0440\u043f\u0440\u0438\u0437: \u00ab\u043d\u043e\u0432\u044b\u0435\u00bb IronWolf\u0412\u044b\u0432\u043e\u0434\u044b6. \u0420\u0430\u0437\u0431\u043e\u0440 \u0441\u0442\u0435\u043d\u0434\u0430 \u0438 \u00abdevice is busy\u00bb\u041e \u0447\u0451\u043c \u0433\u043b\u0430\u0432\u0430: \u0447\u0442\u043e\u0431\u044b \u0447\u0438\u043d\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 md2, \u043d\u0443\u0436\u043d\u043e \u043e\u0441\u0432\u043e\u0431\u043e\u0434\u0438\u0442\u044c \u0434\u0438\u0441\u043a\u0438 \u043e\u0442 \u043f\u043e\u0441\u044f\u0433\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432 \u043d\u0430 \u043d\u0438\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 QNAP. \u0412\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 raid \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043b\u0435\u0433\u043a\u043e, \u0430 \u0432\u043e\u0442 \u0448\u0442\u0430\u0442\u043d\u044b\u0439 \u0441\u0442\u0435\u043a QNAP \u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0437\u0430 \u043c\u0451\u0440\u0442\u0432\u044b\u0439 \u0442\u043e\u043c \u0438 \u043d\u0435 \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0435\u0433\u043e. \u0426\u0435\u043b\u044c: \u0448\u0442\u0430\u0442\u043d\u043e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u043b\u043e\u0438 \u043d\u0430\u0434 md2.\u0420\u0430\u0437\u0431\u043e\u0440 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438\u041e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0438\u0434\u0451\u0442 \u043e\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0435\u0439 \u043a \u043d\u0438\u0436\u0435\u043b\u0435\u0436\u0430\u0449\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c, \u0432 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0441\u0431\u043e\u0440\u043a\u0438. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0424\u0421 \u0438 \u0443\u0431\u0435\u0434\u0438\u043c\u0441\u044f, \u0447\u0442\u043e \u0442\u043e\u043c \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0434\u0435\u0440\u0436\u0438\u0442:cd \/; syncumount \/mnt\/raid-rescuedmsetup info -c          # \u0443 rescue_lv2 Open = 0, Targ = 150552dmsetup remove rescue_lv2 &amp;&amp; dmsetup remove rescue_tdata &amp;&amp; dmsetup remove rescue_tmetamdadm &#8212;stop \/dev\/md127dmsetup remove rescue_sda3 rescue_sdc3 rescue_sdd3losetup -d \/dev\/loop1; losetup -d \/dev\/loop2; losetup -d \/dev\/loop3   # BusyBox: \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443\u041d\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0439\u0442\u0435 dmsetup status \u0431\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0435\u0441\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438\u0437 150 \u0442\u044b\u0441\u044f\u0447 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432: \u043e\u043d \u0447\u0435\u0441\u0442\u043d\u043e \u0432\u044b\u0432\u0435\u0434\u0435\u0442 \u0432\u0441\u0451, \u043f\u043e\u0434\u0432\u0435\u0441\u0438\u0432 \u0432\u0430\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0438 \u0437\u0430\u043f\u043e\u0440\u043e\u0432 \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u0440\u0430\u0431\u043e\u0442\u044b (\u0431\u043b\u0430\u0433\u043e \u044f \u0432\u0441\u0451 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0438\u0441\u0430\u043b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e: \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u044c, \u043d\u0430\u0434\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c)\u0428\u0442\u0430\u0442\u043d\u044b\u0439 \u0442\u043e\u043c \u043d\u0435 \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0427\u0438\u043d\u0438\u0442\u044c RAID \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0431\u0435\u0437 \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430\u0434 \u043d\u0438\u043c \u0442\u043e\u043c\u0430, \u0430 QTS \u0434\u0435\u0440\u0436\u0430\u043b\u0430 \u043c\u0451\u0440\u0442\u0432\u044b\u0439 cachedev2 \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0432 \/share\/CACHEDEV2_DATA (ro, \u043f\u043e\u0432\u0435\u0440\u0445 error-\u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0438). \u0423 QNAP \u0435\u0441\u0442\u044c \u0448\u0442\u0430\u0442\u043d\u044b \u0441\u043a\u0440\u0438\u043f\u0442 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u043b\u0443\u0436\u0431 &#8212; services.sh stop, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0448\u0451\u043b \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u043e\u0434\u043d\u0430\u043a\u043e umount \u0432\u0441\u0451 \u0435\u0449\u0451 \u043e\u0442\u0432\u0435\u0447\u0430\u043b device is busy.\u041f\u043e\u0438\u0441\u043a \u0432\u0438\u043d\u043e\u0432\u043d\u0438\u043a\u0430 \u0440\u0430\u0441\u0442\u044f\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u043f\u043e\u043b\u0442\u043e\u0440\u0430 \u0434\u0435\u0441\u044f\u0442\u043a\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a. \u041a\u0430\u0436\u0434\u0430\u044f \u0438\u0437 \u043d\u0438\u0445 \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u0441\u0430\u043c\u0430 \u043f\u043e \u0441\u0435\u0431\u0435, \u043a\u043e\u0433\u0434\u0430 \u043d\u0435\u0442 fuser:\u0427\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b\u0438\u041a\u043e\u043c\u0430\u043d\u0434\u0430\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u0435 \u0444\u0430\u0439\u043b\u044blsof | grep CACHEDEV2_DATA\u043f\u0443\u0441\u0442\u043e\u0420\u0430\u0431\u043e\u0447\u0438\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432ls -l \/proc\/[0-9]*\/cwd | grep CACHEDEV2_DATA\u043f\u0443\u0441\u0442\u043e\u0424\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u044bls -l \/proc\/[0-9]*\/fd\/* | grep CACHEDEV2_DATA\u043f\u0443\u0441\u0442\u043emmap-\u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044fgrep -H &#8216;fc:00&#8217; \/proc\/[0-9]*\/maps (252:0 \u0432 hex)\u043f\u0443\u0441\u0442\u043e\u0412\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044fawk &#8216;$2 == 37&#8217; \/proc\/self\/mountinfo\u043f\u0443\u0441\u0442\u043e\u0414\u0440\u0443\u0433\u0438\u0435 mount namespacegrep -H &#8216; 252:0 &#8216; \/proc\/[0-9]*\/mountinfo\u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0448chroot \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432ls -l \/proc\/[0-9]*\/root | grep CACHEDEV2_DATA\u043f\u0443\u0441\u0442\u043e\u0411\u043b\u043e\u0447\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044els -l \/proc\/[0-9]*\/fd\/* | grep dm-0\u043f\u0443\u0441\u0442\u043eswap \u043d\u0430 \u0442\u043e\u043c\u0435cat \/proc\/swaps\u0442\u043e\u043b\u044c\u043a\u043e md256, md322loop-\u0444\u0430\u0439\u043b\u044b \u043d\u0430 \u0442\u043e\u043c\u0435losetup \/dev\/loop0FileStation, \u043d\u043e \u043d\u0430 \/mnt\/ext\u042f \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u043b \u0432 dmesg, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0442\u043e \u0434\u0435\u0440\u0436\u0438\u0442 \u0442\u043e\u043c, \u0438 \u043d\u0430\u0448\u0451\u043b \u0442\u0430\u043c \u0446\u0435\u043b\u0443\u044e \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044e: apache_proxys, disk_lab_util, tdbtool \u0438 authLogin.cgi. \u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0438\u0437 \u043d\u0438\u0445 \u043a \u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u043c\u0435\u043d\u0442\u0443 \u0443\u0436\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043b\u0438\u0441\u044c, \u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0436\u0438\u0432\u043e\u0439, apache_proxys, \u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b \u0441\u0430\u043c. \u041d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e. \u0422\u043e\u0433\u0434\u0430 \u044f \u0443\u0431\u0440\u0430\u043b \u0442\u043e\u0447\u043a\u0443 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 umount -l: \u0438\u0437 \u0434\u0435\u0440\u0435\u0432\u0430 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0442\u043e\u043c \u0438\u0441\u0447\u0435\u0437, \u043d\u043e \u0442\u043e\u043b\u043a\u0443 \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u0431\u044b\u043b\u043e \u043c\u0430\u043b\u043e. \u0423 cachedev2 \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u0432\u0438\u0441\u0435\u043b\u043e Open = 1, \u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \/sys\/fs\/ext4\/dm-0\/ \u043d\u0438\u043a\u0443\u0434\u0430 \u043d\u0435 \u0434\u0435\u043b\u0441\u044f. \u041f\u043e\u043b\u0443\u0447\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0444\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0443\u0436\u0435 \u0440\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430, \u0430 \u044f\u0434\u0440\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0435\u0451 \u0443 \u0441\u0435\u0431\u044f \u0438 \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043d\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f.\u041e\u0441\u0442\u0430\u0432\u0430\u043b\u0441\u044f \u0433\u0440\u0443\u0431\u044b\u0439 \u043f\u0443\u0442\u044c: \u0443\u0434\u0430\u043b\u0438\u0442\u044c device-mapper \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0441 \u0444\u043b\u0430\u0433\u043e\u043c force \u043f\u0440\u044f\u043c\u043e \u0438\u0437-\u043f\u043e\u0434 \u0436\u0438\u0432\u043e\u0439 \u0424\u0421. \u0427\u0435\u043c \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f \u0438 \u0442\u0430\u043a \u043f\u044b\u0442\u0430\u044e\u0441\u044c \u0441\u043f\u0430\u0441\u0442\u0438, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443, \u043d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0441\u044f \u043a \u043d\u0435\u0439. \u0420\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0438 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u043b \u0434\u0438\u0441\u043a \u0441 \u0431\u044d\u043a\u0430\u043f\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0441 \u043d\u0438\u043c \u0442\u043e\u0447\u043d\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0441\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c. \u0412\u044b\u043d\u0443\u043b \u043d\u043e\u0432\u044b\u0439 IronWolf, \u0438\u043d\u0430\u0447\u0435 QTS, \u0443\u0432\u0438\u0434\u0435\u0432 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0447\u0438\u0441\u0442\u044b\u0439 \u0434\u0438\u0441\u043a, \u043c\u043e\u0433\u043b\u0430 \u0431\u044b \u0441\u0430\u043c\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c rebuild. \u0418 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u043b NAS.\u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0434\u0435\u0441\u044f\u0442\u044c \u0441 \u043b\u0438\u0448\u043d\u0438\u043c \u043c\u0438\u043d\u0443\u0442 \u0431\u044b\u043b\u0438 \u0441\u0430\u043c\u044b\u043c\u0438 \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c\u0438 \u0437\u0430 \u0432\u0441\u044e \u0438\u0441\u0442\u043e\u0440\u0438\u044e. NAS \u043d\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u043b \u0434\u0430\u0436\u0435 \u043d\u0430 ping, \u0430 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 HDD4 \u0433\u043e\u0440\u0435\u043b \u043a\u0440\u0430\u0441\u043d\u044b\u043c. \u041a\u043e\u0433\u0434\u0430 \u043e\u043d \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f, \u044f \u043e\u0442\u043a\u0440\u044b\u043b mdstat \u0438 \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u0441\u0442\u0430\u043b\u043e \u0445\u0443\u0436\u0435:md2 : active raid5 sda3[0] sdc3[3](F) sdb3[4]      5830677504 blocks super 1.0 level 5, 512k chunk, algorithm 2 [4\/2] [U_U_]\u0418\u0437 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u0434\u0432\u0430. \u0414\u043b\u044f RAID 5 \u044d\u0442\u043e \u0443\u0436\u0435 \u043d\u0435 \u0434\u0435\u0433\u0440\u0430\u0434\u0430\u0446\u0438\u044f: \u043c\u0430\u0441\u0441\u0438\u0432 \u0431\u0435\u0437 \u0434\u0432\u0443\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0435\u043b\u044c\u0437\u044f. \u0411\u0435\u0437 HDD2 \u0438\u043c\u0435\u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0441\u0434\u0432\u0438\u043d\u0443\u043b\u0438\u0441\u044c: HDD3 \u0441\u0442\u0430\u043b sdb, HDD4 \u0441\u0442\u0430\u043b sdc. \u041f\u043e\u0441\u043b\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0434\u0438\u0441\u043a\u043e\u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u00ab\u043e\u0442\u0441\u0435\u043a \u2194 \/dev\/sdX\u00bb \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0437\u0430\u043d\u043e\u0432\u043e, \u043d\u0430 \u0441\u0442\u0430\u0440\u044b\u0435 \u0438\u043c\u0435\u043d\u0430 \u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c\u0441\u044f \u043d\u0435\u043b\u044c\u0437\u044f.QTS \u043f\u043e\u0434\u043d\u044f\u043b\u0430 \u0432\u0435\u0441\u044c \u0441\u0442\u0435\u043a (dmsetup ls &#8212;tree \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u043f\u043e\u043b\u043d\u0443\u044e \u0446\u0435\u043f\u043e\u0447\u043a\u0443 cachedev2 \u2192 lv2 \u2192 tpool \u2192 tmeta\/tierdata \u2192 drbd2), \u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0435, \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0430 \u0442\u043e\u043c \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u043e\u0432\u0435\u0440\u0445 FAILED-\u043c\u0430\u0441\u0441\u0438\u0432\u0430. \u041a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0447\u0438\u0442\u0430\u043b\u0438\u0441\u044c.\u041e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435 \u043d\u0430\u0448\u043b\u043e\u0441\u044c \u0432 sysfs. \u0423 QNAP-\u043e\u0432\u0441\u043a\u043e\u0433\u043e md \u0435\u0441\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u0442 \u0432 \u0432\u0430\u043d\u0438\u043b\u044c\u043d\u043e\u043c \u044f\u0434\u0440\u0435:# cat \/sys\/block\/md2\/md\/qnap_readonly \/sys\/block\/md2\/md\/fail_last_dev \/sys\/block\/md2\/md\/max_read_errors0020# cat \/sys\/block\/md2\/md\/dev-sdc3\/statefaulty,rescue\u041f\u043e\u0445\u043e\u0436\u0435, \u0440\u0435\u0436\u0438\u043c Rescue \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044c \u0441 \u0434\u0438\u0441\u043a\u0430, \u0444\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u0430\u043a faulty. \u0412\u043e \u0432\u0441\u044f\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043d\u0430 \u043c\u043e\u0451\u043c NAS QTS \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0430 \u00ab\u043e\u0442\u043a\u0430\u0437\u0430\u0432\u0448\u0438\u0439\u00bb \u043c\u0430\u0441\u0441\u0438\u0432 \u0438 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043e\u0442\u0434\u0430\u0432\u0430\u043b\u0430 \u0441 \u043d\u0435\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438. \u041d\u043e \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0439 \u0442\u0443\u0442 \u043d\u0435\u0442. RAID 5 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0434\u0438\u0441\u043a\u0430\u043c \u043a\u0443\u0441\u043a\u0430\u043c\u0438 \u043f\u043e 512 \u041a\u0411 (chunk). \u041e\u0434\u0438\u043d \u0442\u0430\u043a\u043e\u0439 \u0440\u044f\u0434 \u043f\u043e\u043f\u0435\u0440\u0451\u043a \u0432\u0441\u0435\u0445 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 (\u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445) \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u043e\u0441\u043e\u0439 (stripe): \u0442\u0440\u0438 \u043a\u0443\u0441\u043a\u0430 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438 \u043e\u0434\u0438\u043d \u0441 \u0447\u0451\u0442\u043d\u043e\u0441\u0442\u044c\u044e. \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u043e\u043b\u043e\u0441\u0443, \u043d\u0443\u0436\u043d\u044b \u043a\u0443\u0441\u043a\u0438 \u0445\u043e\u0442\u044f \u0431\u044b \u0441 \u0442\u0440\u0451\u0445 \u0434\u0438\u0441\u043a\u043e\u0432. \u0415\u0441\u043b\u0438 \u043d\u0430 \u00ab\u043e\u0442\u043a\u0430\u0437\u0430\u0432\u0448\u0435\u043c\u00bb \u0434\u0438\u0441\u043a\u0435 \u043f\u043e\u043f\u0430\u0434\u0451\u0442\u0441\u044f \u0441\u0431\u043e\u0439\u043d\u044b\u0439 \u0443\u0447\u0430\u0441\u0442\u043e\u043a, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0430\u044f \u043f\u043e\u043b\u043e\u0441\u0430 \u043d\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f, \u0438 \u0444\u0430\u0439\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430 \u043d\u0435\u0451 \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442\u0441\u044f, \u0432\u0435\u0440\u043d\u0443\u0442\u0441\u044f \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439.\u041e\u0434\u043d\u0430\u043a\u043e \u0442\u043e\u043c \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c, \u0430 \u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0442\u043e-\u043b\u0438\u0431\u043e \u043d\u0430 HDD4 \u043f\u043e\u0434 \u0436\u0438\u0432\u043e\u0439 \u0424\u0421 \u043d\u0435\u043b\u044c\u0437\u044f. \u0421\u043d\u043e\u0432\u0430 services.sh stop, \u0441\u043d\u043e\u0432\u0430 umount, \u0441\u043d\u043e\u0432\u0430 device is busy. \u0418\u0441\u043a\u0430\u0442\u044c \u043f\u0440\u0438\u0447\u0438\u043d\u0443 \u043f\u043e \u0441\u043f\u0438\u0441\u043a\u0443 \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0442\u0440\u0435\u0442\u0438\u0439 \u0440\u0430\u0437 \u044f \u043d\u0435 \u0441\u0442\u0430\u043b. \u0412 QTS \u0435\u0441\u0442\u044c \u0448\u0442\u0430\u0442\u043d\u0430\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430 storage_util, \u0430 \u0432 \u0435\u0451 \u0441\u043f\u0440\u0430\u0432\u043a\u0435 \u043d\u0430\u0448\u043b\u0438\u0441\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:&#8212;data_umount       Unmount all data volumes&#8212;nas_pool_stop     Stop volumes and DM devices of the specified pool&#8212;stop_storage      Stop all volumes, pools and RAID groups&#8212;data_umount \u0447\u0435\u0441\u0442\u043d\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u043b Fail to unmount volume \/dev\/mapper\/cachedev2!. \u0421\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043e\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u043e\u0433\u043e \u043f\u043e USB \u0434\u0438\u0441\u043a\u0430, \u043e \u043d\u0451\u043c \u0440\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0451\u0442 \u043d\u0438\u0436\u0435. \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442: storage_util &#8212;nas_pool_stop dev_id=1. \u042d\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0437\u0430\u0432\u0438\u0441\u043b\u0430.7. \u0414\u0435\u0440\u0435\u0432\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432: \u043f\u043e\u0447\u0435\u043c\u0443 \u0432\u0438\u0441\u0438\u0442 storage_util\u041e \u0447\u0451\u043c \u0433\u043b\u0430\u0432\u0430: \u0448\u0442\u0430\u0442\u043d\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0443\u043b\u0430 \u0432\u0438\u0441\u0438\u0442 \u0431\u0435\u0437 \u0432\u044b\u0432\u043e\u0434\u0430. \u041d\u0435\u0442 strace, pstree, ps -ef \u0438 \/proc\/PID\/task\/*\/children. \u0417\u0430\u0434\u0430\u0447\u0430: \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437 \/proc \u0434\u043e\u0439\u0442\u0438 \u0434\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u0442 \u0432\u0441\u044e \u0446\u0435\u043f\u043e\u0447\u043a\u0443, \u0438 \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0435\u0433\u043e \u043e\u043d \u0436\u0434\u0451\u0442.\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b, \u043a\u043e\u0433\u0434\u0430 \u043d\u0435\u0442 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0444\u0430\u0439\u043b \/proc\/PID\/syscall. \u041e\u043d \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u043e\u043c\u0435\u0440 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u0432\u044b\u0437\u043e\u0432\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0447\u0442\u0435\u043d\u0438\u044f, \u0438 \u0435\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b. \u042d\u0442\u043e \u0441\u043d\u0438\u043c\u043e\u043a \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f: \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u043c \u0432\u044b\u0437\u043e\u0432\u0435, \u0442\u0430\u043c \u0431\u0443\u0434\u0435\u0442 -1 \u0438\u043b\u0438 running, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0447\u0438\u0442\u0430\u0442\u044c \u0435\u0433\u043e \u0441\u0442\u043e\u0438\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437. \u041d\u043e\u043c\u0435\u0440\u0430 \u0432\u044b\u0437\u043e\u0432\u043e\u0432 \u0437\u0430\u0432\u0438\u0441\u044f\u0442 \u043e\u0442 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b, \u0434\u043b\u044f x86_64 \u043e\u043d\u0438 \u0435\u0441\u0442\u044c \u0432 arch\/x86\/entry\/syscalls\/syscall_64.tbl. \u041d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u0434\u0432\u0430:\u041d\u043e\u043c\u0435\u0440\u0412\u044b\u0437\u043e\u0432\u0410\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b61wait4(pid, *status, options, *rusage)\u043f\u0435\u0440\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u2014 PID \u0440\u0435\u0431\u0451\u043d\u043a\u0430, -1 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u00ab\u043b\u044e\u0431\u043e\u0439 \u0440\u0435\u0431\u0451\u043d\u043e\u043a\u00bb202futex(*uaddr, op, val, &#8230;)op = 0x80 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 FUTEX_WAIT_PRIVATE\u0414\u0435\u0442\u0435\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0431\u0435\u0437 children \u0432 procfs \u0438\u0449\u0435\u043c \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u043c \u043f\u043e\u0438\u0441\u043a\u043e\u043c \u043f\u043e \u043f\u043e\u043b\u044e PPid:grep -l &#8216;^PPid:[[:space:]]*&lt;PID&gt;$&#8217; \/proc\/[0-9]*\/statuscmdline \u0447\u0438\u0442\u0430\u0435\u043c \u0447\u0435\u0440\u0435\u0437 tr &#8216;\\000&#8217; &#8216; &#8216; &lt; \/proc\/PID\/cmdline, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u044b \u043d\u0443\u043b\u0435\u0432\u044b\u043c\u0438 \u0431\u0430\u0439\u0442\u0430\u043c\u0438.\u0421\u043f\u0443\u0441\u043a \u043f\u043e \u0434\u0435\u0440\u0435\u0432\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432\u0412\u043e \u0432\u0442\u043e\u0440\u043e\u0439 SSH-\u0441\u0435\u0441\u0441\u0438\u0438 \u043d\u0430\u0448\u0451\u043b \u0441\u0430\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441:# ps | grep storage_util 3040 admin     11472 S   storage_util &#8212;nas_pool_stop dev_id 1\u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u044f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b, \u0432 \u043a\u0430\u043a\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441. \u0422\u0430\u043c \u0441\u0442\u043e\u044f\u043b\u043e S (sleeping), \u0430 \u043d\u0435 D (uninterruptible sleep). \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u0430\u044f: \u0432 D \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u0441\u0442\u0440\u0435\u0432\u0430\u0435\u0442, \u043a\u043e\u0433\u0434\u0430 \u0436\u0434\u0451\u0442 \u043e\u0442\u0432\u0435\u0442\u0430 \u043e\u0442 \u0434\u0438\u0441\u043a\u0430, \u0438 \u0435\u0433\u043e \u043d\u0435 \u0431\u0435\u0440\u0451\u0442 \u0434\u0430\u0436\u0435 kill -9. \u0410 S \u2014 \u043e\u0431\u044b\u0447\u043d\u043e\u0435 \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e\u0435 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435: \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0436\u0434\u0451\u0442 \u0441\u0438\u0433\u043d\u0430\u043b\u0430, \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u043a\u0430\u043d\u0430\u043b\u0430, \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0438\u043b\u0438 \u0447\u0435\u0433\u043e-\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e. \u041f\u0440\u0430\u0432\u0434\u0430, \u044d\u0442\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u0435\u0449\u0451 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437, \u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u0430 \u043d\u0435 \u043c\u0435\u043d\u044f\u043b\u0430\u0441\u044c. \u0412\u044b\u0445\u043e\u0434\u0438\u0442, \u0434\u0438\u0441\u043a \u0442\u0443\u0442 \u043d\u0438 \u043f\u0440\u0438 \u0447\u0451\u043c: \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0435 \u0432\u0438\u0441\u0438\u0442 \u043d\u0430 \u0432\u0432\u043e\u0434\u0435-\u0432\u044b\u0432\u043e\u0434\u0435, \u0430 \u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u043e \u0447\u0435\u0433\u043e-\u0442\u043e \u0436\u0434\u0451\u0442.\u041e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0435\u0433\u043e \u0438\u043c\u0435\u043d\u043d\u043e, \u0438 \u0442\u0443\u0442 \u0432\u0441\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u0443\u043f\u0438\u0440\u0430\u043b\u0438\u0441\u044c \u0432 \u0441\u0442\u0435\u043d\u0443. wchan, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u044f\u0434\u0440\u0430, \u0433\u0434\u0435 \u0441\u043f\u0438\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u0432\u0435\u0440\u043d\u0443\u043b \u0431\u0435\u0437\u043b\u0438\u043a\u0438\u0439 0. ps -ef \u0432 BusyBox \u043d\u0435 \u0432\u044b\u0432\u0435\u043b \u043d\u0438\u0447\u0435\u0433\u043e. \u0410 \/proc\/3040\/task\/3040\/children, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b, \u0432 \u044d\u0442\u043e\u043c \u044f\u0434\u0440\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.\u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0447\u0438\u0442\u0430\u0442\u044c \/proc \u0432\u0440\u0443\u0447\u043d\u0443\u044e. \u0418\u0437 \/proc\/3040\/status:State:  S (sleeping)PPid:   1450SigIgn: 0000000000000006SigIgn \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a\u0438\u0435 \u0441\u0438\u0433\u043d\u0430\u043b\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442. \u042d\u0442\u043e \u0447\u0438\u0441\u043b\u043e, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0441\u0438\u0433\u043d\u0430\u043b\u0443 \u043e\u0442\u0432\u0435\u0434\u0451\u043d \u043e\u0434\u0438\u043d \u0431\u0438\u0442: \u0441\u0438\u0433\u043d\u0430\u043b\u0443 1 \u2014 \u0441\u0430\u043c\u044b\u0439 \u043c\u043b\u0430\u0434\u0448\u0438\u0439 \u0431\u0438\u0442, \u0441\u0438\u0433\u043d\u0430\u043b\u0443 2 \u2014 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435. \u0415\u0441\u043b\u0438 \u0431\u0438\u0442 \u0440\u0430\u0432\u0435\u043d \u0435\u0434\u0438\u043d\u0438\u0446\u0435, \u0441\u0438\u0433\u043d\u0430\u043b \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f. 0x6 \u0432 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u043c \u0432\u0438\u0434\u0435 \u2014 \u044d\u0442\u043e 110. \u0415\u0441\u043b\u0438 \u0447\u0438\u0442\u0430\u0442\u044c \u0441\u043f\u0440\u0430\u0432\u0430 \u043d\u0430\u043b\u0435\u0432\u043e, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f: \u0441\u0438\u0433\u043d\u0430\u043b 1 \u043d\u0435 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f, \u0441\u0438\u0433\u043d\u0430\u043b 2 (SIGINT, Ctrl+C) \u0438 \u0441\u0438\u0433\u043d\u0430\u043b 3 (SIGQUIT, Ctrl+) \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044e\u0442\u0441\u044f. \u0418\u043d\u0430\u0447\u0435 \u0433\u043e\u0432\u043e\u0440\u044f, \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u043b\u0430 \u0438 Ctrl+C, \u0438 Ctrl+, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u0440\u0435\u0440\u0432\u0430\u0442\u044c \u0435\u0451 \u0441 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f (\u0445\u0438\u0442\u0440\u0430\u044f \u0442\u0432\u0430\u0440\u044c, \u0430\u0433\u0430).\u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0435:   1   1   0\u0441\u0438\u0433\u043d\u0430\u043b:     3   2   1            \u2502   \u2502   \u2514\u2500 SIGHUP  \u2014 \u043d\u0435 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f            \u2502   \u2514\u2500\u2500\u2500\u2500\u2500 SIGINT  \u2014 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f            \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 SIGQUIT \u2014 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f\u0421\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u043d\u0430\u0448\u043b\u043e\u0441\u044c \u0432 \/proc\/3040\/syscall, \u0433\u0434\u0435 \u0432\u0438\u0434\u043d\u043e, \u0432 \u043a\u0430\u043a\u043e\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u043c \u0432\u044b\u0437\u043e\u0432\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u0441\u0438\u0434\u0438\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441:# cat \/proc\/3040\/syscall61 0x101d 0x7ffc46fd5300 0x0 0x0 0x7fbbbb8c3680 0x7ffc46fd5180 0x7ffc46fd52c8 0x7fbbbb5dbb1a\u0412\u044b\u0437\u043e\u0432 61 \u2014 \u044d\u0442\u043e wait4, \u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 0x101d = 4125. \u0422\u043e \u0435\u0441\u0442\u044c storage_util \u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u043e \u0436\u0434\u0451\u0442, \u043f\u043e\u043a\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0441\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441. \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0442\u043e \u044d\u0442\u043e:# tr &#8216;\\000&#8217; &#8216; &#8216; &lt; \/proc\/4125\/cmdlinesh -c \/etc\/init.d\/services.sh stop 2&gt;\/dev\/null 1&gt;\/dev\/null\u0412\u043e\u0442 \u0438 \u043f\u0435\u0440\u0432\u0430\u044f \u043d\u0430\u0445\u043e\u0434\u043a\u0430. &#8212;nas_pool_stop \u0441\u0430\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0432\u0441\u0435\u0445 \u0441\u043b\u0443\u0436\u0431 QNAP \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u0435\u0441\u044c \u0435\u0451 \u0432\u044b\u0432\u043e\u0434 \u0432 \/dev\/null. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043d\u0430\u0440\u0443\u0436\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0430\u043c\u0435\u0440\u0442\u0432\u043e \u0437\u0430\u0432\u0438\u0441\u0448\u0438\u043c: \u043e\u043d \u043c\u043e\u043b\u0447\u0438\u0442, \u043d\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0436\u0434\u0451\u0442, \u043f\u043e\u043a\u0430 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u0441\u043b\u0443\u0436\u0431\u044b.# ps | grep -E &#8216;services.sh|\/etc\/init.d\/|\/etc\/rcK.d\/&#8217; 4125 admin  3108 S   sh -c \/etc\/init.d\/services.sh stop 2&gt;\/dev\/null 1&gt;\/dev\/null 4130 admin  3380 S   \/bin\/sh \/etc\/init.d\/services.sh stop 6173 admin  &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-505945","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/505945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=505945"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/505945\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=505945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=505945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=505945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}