LoginSignup
1
3

More than 5 years have passed since last update.

Linuxのファイルシステム関係コマンド一覧

Posted at

mount

ディバイスをマウントする。

umount

ディバイスをアンマウントする。

fsck

ファイルシステムのチェックと修復を行う
下に紹介するfsck.fatやe2fsckはそれぞれコマンド体系が異なるので注意。

参考
http://www.atmarkit.co.jp/ait/articles/1803/15/news040.html

fsck.fat

Fatファイルシステムのチェックと修復を行う

参考
https://linuxjm.osdn.jp/html/e2fsprogs/man8/fsck.8.html

e2fsck

fsck.ext2、fsck.ext3、fsck.ext4はこれのシンボリックリンク。
ext系のファイルシステムをチェックする

参考
http://tech.nikkeibp.co.jp/it/article/COLUMN/20140317/544004/

dumpe2fs

ext2、ext3、ext4ファイルシステムの詳細情報を表示する

fdisk

ディスクパーティションの作成、変更、修復を行う。

参考
http://tech.nikkeibp.co.jp/it/article/COLUMN/20060227/230775/

xfs_repair

XFSのファイルシステムを修復する


sudo xfs_repair -Lv /dev/sdb1 sda1のドライブを修復する

参考
https://yoshidastyle.net/Blogs/2013/10/17/linux-xfs-cantt-read-superblock

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3