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 Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s