Пофіксити проблему з дисками на Linux OS (btrfs)
111 USDЄ працюючий сервер на hetzner 15 дисків, 80 Терабайт під управлінням Proxmox та файловою системою btrfs
Сьогодні зранку все впало, але ping був та ssh спрацював але подив себе наступним чином:
Linux pve1 6.8.4-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.4-2 (2024-04-10T17:36Z) x86_64
-bash: /etc/profile: Input/output error
-bash: /root/.profile: Input/output error
-bash-5.2# df -h
-bash: df: command not found
-bash-5.2# ls
-bash: ls: command not found
-bash-5.2#
Перезавантаження не допомогло. Тому запустив у rescue, але підмонтувати не виходить:
[Mon Jun 30 13:34:59 2025] BTRFS: device fsid c5138747-f57d-4063-9424-b2099d936ba0 devid 1 transid 1170064 /dev/sda3 (8:3) scanned by mount (3421)
[Mon Jun 30 13:34:59 2025] BTRFS info (device sda3): first mount of filesystem c5138747-f57d-4063-9424-b2099d936ba0
[Mon Jun 30 13:34:59 2025] BTRFS info (device sda3): using crc32c (crc32c-intel) checksum algorithm
[Mon Jun 30 13:34:59 2025] BTRFS info (device sda3): using free-space-tree
[Mon Jun 30 13:45:37 2025] BTRFS info (device sda3): start tree-log replay
[Mon Jun 30 13:45:42 2025] BTRFS error (device sda3): level verify failed on logical 5561734628147200 mirror 1 wanted 0 found 1
[Mon Jun 30 13:45:42 2025] BTRFS error (device sda3 state A): Transaction aborted (error -5)
[Mon Jun 30 13:45:42 2025] BTRFS: error (device sda3 state A) in __btrfs_free_extent:3226: errno=-5 IO failure
[Mon Jun 30 13:45:42 2025] BTRFS error (device sda3 state EA): failed to run delayed ref for logical 5561734319210496 num_bytes 16384 type 176 action 2 ref_mod 1: -5
[Mon Jun 30 13:45:42 2025] BTRFS: error (device sda3 state EA) in btrfs_run_delayed_refs:2215: errno=-5 IO failure
[Mon Jun 30 13:45:42 2025] BTRFS: error (device sda3 state EA) in btrfs_replay_log:2104: errno=-5 IO failure (Failed to recover log tree)
[Mon Jun 30 13:45:42 2025] BTRFS error (device sda3 state EA): open_ctree failed: -5
Поки запустили чек:
# btrfs check --readonly /dev/sda3
Вже пропрацював вже 6 годин І те що він видає не дуже оптимістичне:
ref mismatch on [5561734331875328 16384] extent item 0, found 1
tree extent[5561734331875328, 16384] root 7 has no backref item in extent tree
backpointer mismatch on [5561734331875328 16384]
ref mismatch on [5561734331891712 16384] extent item 0, found 1
tree extent[5561734331891712, 16384] root 7 has no backref item in extent tree
backpointer mismatch on [5561734331891712 16384]
ref mismatch on [5561734331908096 16384] extent item 0, found 1
tree extent[5561734331908096, 16384] root 7 has no backref item in extent tree
backpointer mismatch on [5561734331908096 16384]
ref mismatch on [5561734331924480 16384] extent item 0, found 1
tree extent[5561734331924480, 16384] root 262 has no backref item in extent tree
backpointer mismatch on [5561734331924480 16384]
ref mismatch on [5561734331940864 16384] extent item 0, found 1
tree extent[5561734331940864, 16384] root 7 has no backref item in extent tree
backpointer mismatch on [5561734331940864 16384]
ref mismatch on [5561734331957248 16384] extent item 0, found 1
tree extent[5561734331957248, 16384] root 2 has no backref item in extent tree
backpointer mismatch on [5561734331957248 16384]
owner ref check failed [5561734628147200 16384]
owner ref check failed [5561734628245504 16384]
owner ref check failed [5561734628311040 16384]
ERROR: errors found in extent allocation tree or chunk allocation
[3/7] checking free space tree
Дані надважливі, треба спеціаліст хто допоможе відтраблшутити та має досвід з btrfs/zfs
-
Судячи з логу, який ви надали (...IO failure...), це фізичний збій HDD або (що менш імовірно) контролера.
Проженіть системний диск (sda) через Viktoria або MHDD у режимі читання.
-
Згоден якщо дані надважливі потрібен фізичний доступ і нести в лабораторію де відновлять. Якщо у вас btrfs не поверх фізичного рейду то швидше за все гарантовано якусь частину даних втратите.
Також якщо дані важливі і немає бекапів рекомендую не брати ні кого тут бо є лише шанс втратити данні повністю.
1) фізично відпикапити ті диски що є
2) розібратись з фізичним станом
3 пробувати зібрати рейд
Я собі відновлював програмним забезпеченням після збою рейди збирав його в спеціальній програмі та шукав дані але без центра який по фізиці щось зробить швидше за все це втрата частини даних.
-
Current freelance projects in the category System & Network Administration
Fortinet configurationGood day! It is necessary to configure Fortinet FortiGate 40F-3G4G. Set up remote access to the PLC. Work experience. Thank you! System & Network Administration, Software & Server Configuration ∙ 7 hours 38 minutes back ∙ 4 proposals |
Migration of Windows Server 2016.Need a system administrator for the setup and migration of Windows Server 2016. Task: 1. Conduct an audit of the current Windows Server 2016. 2. Check server roles: RDP/RDS, users, access rights, network settings, firewall, backup. 3. Prepare a migration plan without data… System & Network Administration, Software & Server Configuration ∙ 2 days 5 hours back ∙ 12 proposals |
Connection of professional book scanners in OdesaConnect professional book scanners (2 units) in 2 locations in Odesa. Perform assembly according to the instructions, connection, and software setup including test scanning to a file from the program on the PC. System & Network Administration, Software & Server Configuration ∙ 2 days 6 hours back ∙ 2 proposals |
Connection of professional book scanners.Connect professional book scanners (2 units) at 2 locations in Kyiv. Perform assembly according to the instructions, connection, and software setup including test scanning to a file from the program on the PC. System & Network Administration ∙ 3 days 20 hours back ∙ 1 proposal |
Need a 1C specialist (Trade Management)
22 USD
Need a 1C specialist (Trade Management) We are looking for an experienced 1C programmer for a small integration project. We have an online store and a 1C UT configuration. It is necessary to set up data exchange between the website and 1C — so that the website can receive… System & Network Administration, Web Programming ∙ 5 days 10 hours back ∙ 15 proposals |