LINUX.ORG.RU

BtrFS готова говорили они

 


0

2

Линукс начал через раз загружаться, я уж подумал что что-то спалил в экспериментах с видеокартой, а оказывается нет, виноват был BtrFS:

$ sudo btrfs check /dev/sda3
Opening filesystem to check...
Checking filesystem on /dev/sda3
UUID: 86945e7c-6b8c-45d4-a6f8-cd2a6d23c1d6
[1/7] checking root items
[2/7] checking extents
[3/7] checking free space cache
[4/7] checking fs roots
root 262 inode 266 errors 200, dir isize wrong
root 262 inode 16687041 errors 1, no inode item
	unresolved ref dir 266 index 7773 namelen 11 name kwinrc.lock filetype 1 errors 5, no dir item, no inode ref
root 262 inode 16687043 errors 1, no inode item
	unresolved ref dir 266 index 7775 namelen 6 name kwinrc filetype 1 errors 5, no dir item, no inode ref
root 262 inode 16687046 errors 1, no inode item
	unresolved ref dir 266 index 7778 namelen 18 name kglobalshortcutsrc filetype 1 errors 5, no dir item, no inode ref
root 262 inode 16687047 errors 1, no inode item
	unresolved ref dir 266 index 7779 namelen 11 name kwinrc.lock filetype 1 errors 5, no dir item, no inode ref
root 262 inode 16687059 errors 1, no inode item
	unresolved ref dir 266 index 7793 namelen 9 name dolphinrc filetype 1 errors 5, no dir item, no inode ref
root 262 inode 16687070 errors 1, no inode item
	unresolved ref dir 266 index 7797 namelen 14 name dolphinrc.lock filetype 1 errors 5, no dir item, no inode ref
root 262 inode 16690369 errors 1, no inode item
	unresolved ref dir 266 index 8473 namelen 11 name kwinrc.lock filetype 1 errors 5, no dir item, no inode ref
root 262 inode 16690370 errors 1, no inode item
	unresolved ref dir 266 index 8475 namelen 6 name kwinrc filetype 1 errors 5, no dir item, no inode ref
root 262 inode 16690375 errors 1, no inode item
	unresolved ref dir 266 index 8479 namelen 11 name kwinrc.lock filetype 1 errors 5, no dir item, no inode ref
ERROR: errors found in fs roots
found 67286298624 bytes used, error(s) found
total csum bytes: 56626160
total tree bytes: 7056916480
total fs tree bytes: 6871351296
total extent tree bytes: 115212288
btree space waste bytes: 1063369100
file data blocks allocated: 102890029056
 referenced 69393457152

Как так? Вроде бы ничего особенного с системой не делал, жёстко не выключал кроме вышеуказынных случаев когда система виснет при загрузке. Какой ФС в Линуксе можно пользоваться чтобы было надёжно и ничего не ломалось, пусть и работает медленнее?

Уже файловая система BFS в Haiku получается надёжнее. В результате разных экспериментов и тестов драйверов у меня постоянно падает ядро и происходит жёсткая перезагрузка/выключение, а файловая система остаётся цела. Даже случайное монтирование BFS два раза в хост систему и виртуальную машину и запись в обе не привело к существенным проблемам в ФС.

btrfs check --repair вроде бы починил файловую систему.

Дистрибутив: openSUSE Tumbleweed.

★★★★★

Неожиданно оказалось, что БуторФС превращает в бутор не только файлы, но и сам диск.

anonymous
()
Ответ на: комментарий от anonymous

Есть неплохая обзорная статья по использовaнию Btrfs в основных сценариях: https://arstechnica.com/gadgets/2021/09/examining-btrfs-linuxs-perpetually-half-finished-filesystem/ Краткий вывод: сплошные проблемы практически во всех сферах, при производительности значительно ниже ZFS.

anonymous
()
Ответ на: комментарий от X512

Износ будет всегда. Вопрос лишь в том, с какой скоррстью он идёт.

I have a Dell XPS 13 laptop which is just about to turn three months old. It has always been running Fedora 34 on btrfs. Although I only use the computer for light coding and web browsing, smartctl reports 1.70TB written after just 100 hours of time powered on. This amounts to 17GB of writes per hour.

Compare these figures with my roughly year old Asus Zenbook running Fedora on ext4. Although both laptops endure similar usage

anonymous
()

Note: Unlike other Linux file systems, xfs_repair does not run at boot time, even when an XFS file system was not cleanly unmounted. In the event of an unclean unmount, xfs_repair simply replays the log at mount time, ensuring a consistent file system.

wiki.archlinux.org

XFS в Линуксе не умеет автоматически использовать журнал для восстановления при монтировании? Что за бред?

X512 ★★★★★
() автор топика
Последнее исправление: X512 (всего исправлений: 1)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.