General File System check for linux
You can either use
fsck -fy /dev/sda1
f - force
y - yes
/dev/sda1 - partition that I need to run file system check. This can be an LVM or a direct drive also.
e2fsck also does the same but not found in all linux distributions because e2fsck stands for file system check in ext family, while fsck is the general one which can be used on other file system types.
fsck -fy /dev/sda1
f - force
y - yes
/dev/sda1 - partition that I need to run file system check. This can be an LVM or a direct drive also.
e2fsck also does the same but not found in all linux distributions because e2fsck stands for file system check in ext family, while fsck is the general one which can be used on other file system types.
Comments
Post a Comment