Creating File System in Console


File System
A filesystem is the methods and data structures that an operating system uses to keep track of files on a disk or partition; that is, the way the files are organized on the disk. The word is also used to refer to a partition or disk that is used to store the files or the type of the filesystem.

volume-not-contain-recognized-file-system

Creating File System in Console
Create a linux file system
Command
mke2fs /dev/sda1

1.png

Initialize swap partition
Command
mkswap /dev/sda1

Checking File System
Check Integrity of Linux File System
Command
e2fsck -f /dev/sda1

Check Bad Blocks & Errors
Command
e2fsck -f -c -p /dev/sda1

Leave a comment