Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
ファイルシステムの不整合
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Satoru Takeuchi
PRO
February 15, 2026
Technology
190
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ファイルシステムの不整合
以下動画のスライドです。
https://youtu.be/_3BdbqtC8KY
Satoru Takeuchi
PRO
February 15, 2026
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
119-多機能ファイルシステムBtrfs_のコピー.pdf
sat
PRO
1
82
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
110
あなたの知らないバージョン命名規則
sat
PRO
3
930
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
82
Machine Check Exception
sat
PRO
2
73
バイナリダンプの模様を読む
sat
PRO
0
120
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
120
114-ファイルのshallow_copy.pdf
sat
PRO
2
70
113-Btrfsのスナップショット.pdf
sat
PRO
0
50
Other Decks in Technology
See All in Technology
サボる子はいねぇがー!AgentCoreハーネスの脆弱性に学ぶ、エージェントの入力バリデーション
iwamot
PRO
3
140
re:Invent2026 事前勉強会 歴史と愉しみ方10分LT編
toshi_atsumi
0
120
You Have Agency(サンキュー、Ruby)
snoozer05
PRO
5
670
(swiftc) NonCopyableとライフタイム修飾子
teamhimeh
0
170
Flutter Widget Previewerで始めるUIプレビューとVRTの自動化
sakusaku3939
0
210
新卒エンジニア、 介護士になる
ryu1013
1
680
コードレビューをなくして見えたもの
henteko
0
130
re:Inventで、人生は変わったのか? / growth-builders-hub-1-reinvent-2026
mhrtech
2
310
AI AgentによるEmbedded SREの取り組み
tgidgd
1
340
2拠点SRE活動始めてみた | sogaoh's LT @ ホンマでっかSRE勉強会 #3
sogaoh
PRO
0
240
AIコーディングはじめました
miso
0
150
Autonomous AI Lakehouse - Live AI Hubから始めるセキュアなAIデータ活用 -
oracle4engineer
PRO
3
190
Featured
See All Featured
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
610
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
920
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
600
The browser strikes back
jonoalderson
0
1.9k
Leo the Paperboy
mayatellez
10
2.4k
RailsConf 2023
tenderlove
30
1.6k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
280
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Building AI with AI
inesmontani
PRO
1
1.4k
Transcript
ファイルシステムの不整合 Feb. 15th, 2026 Satoru Takeuchi X: satoru_takeuchi
はなすこと • ファイルシステムを管理するメタデータが壊れたときに発生するファイルシステム不 整合について • 以下の状況で”mv bar foo”コマンドを実行する場合を例に説明 / foo
bar huga hoge
うまくいく例 / foo bar huga hoge
fooからbarにリンクを張って… / foo bar huga hoge
rootディレクトリからbarへのリンクを消して完了 / foo bar huga hoge
うまくいかない例 / foo bar huga hoge
fooからbarにリンクを張って… / foo bar huga hoge
ここで停電! / foo bar huga hoge 突然の死!
再起動するとこういう状態になっている • rootディレクトリ直下にもfoo直下にもbarが存在している ◦ あってはいけない、不整合な状態 / foo bar huga hoge
この後どうなる? • 想定していない状態なのでプログラムが正しく動作しなくなる • 壊れ方によれば、アクセス時にカーネルパニックする • 別のところがさらに壊れていくこともある
様々な対策がある • ファイルシステムの整合性チェック、回復をする機能 ◦ いわゆるfsck • 不整合を起きにくくする機能 ◦ ジャーナリング ◦
コピーオンライト ◦ Soft updates
まとめ • ファイルシステムへの処理中に電源断などの理由でシステムがクラッシュすると ファイルシステムに不整合が発生する • その後ファイルシステムにアクセスすると、さらによくないことが起こる • 様々な対策がある ◦ いずれ別動画で紹介予定