Linux File Systems: Ext2 vs Ext3 vs Ext4 Flashcards

Linux File Systems: Ext2 vs Ext3 vs Ext4 are all filesystems created for Linux. This article explains the following: High level difference between these filesystems. How to create these filesystems. How to convert from one filesystem type to another.

1
Q

What does Ext2 stand for?

A

Second extended file system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When was Ext2 introduced?

A

1993

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Who developed Ext2?

A

Rémy Card

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why was Ext2 developed?

A

To overcome limitations of original ext file system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Does Ext2 have journaling feature?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What type of drives is Ext2 recommended for?

A

Flash drives, USB drives

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the maximum individual file size in Ext2?

A

16 GB to 2 TB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the overall Ext2 file system size?

A

2 TB to 32 TB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does Ext3 stand for?

A

Third extended file system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When was Ext3 introduced?

A

2001

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Who developed Ext3?

A

Stephen Tweedie

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Starting from which Linux Kernel was Ext3 available?

A

2.4.15

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the main benefit of Ext3?

A

Allows journaling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is journaling in Ext3?

A

A dedicated area to track changes, reduces potential file system corruption

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the maximum individual file size in Ext3?

A

16 GB to 2 TB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the overall Ext3 file system size?

A

2 TB to 32 TB

17
Q

What are the three types of journaling available in Ext3?

A

Journal, Ordered, Writeback

18
Q

Can you convert an Ext2 file system to Ext3 directly?

A

Yes, without backup/restore

19
Q

What does Ext4 stand for?

A

Fourth extended file system

20
Q

When was Ext4 introduced?

A

2008

21
Q

Starting from which Linux Kernel was Ext4 available?

A

2.6.19

22
Q

What is the maximum individual file size in Ext4?

A

16 GB to 16 TB

23
Q

What is the overall maximum Ext4 file system size?

A

1 EB (exabyte)

24
Q

What are the new features introduced in ext4?

A

Multiblock allocation, delayed allocation, journal checksum, fast fsck, etc.

25
Q

What is the option available in ext4? (journaling)

A

Turning the journaling feature off.

26
Q

What command is used to create an ext2 file system?

A

mke2fs /dev/sda1

27
Q

What command is used to create an ext3 file system?

A

mkfs.ext3 /dev/sda1 or mke2fs -j /dev/sda1

28
Q

What command is used to create an ext4 file system?

A

mkfs.ext4 /dev/sda1 or mke2fs -t ext4 /dev/sda1

29
Q

How can you convert ext2 to ext3?

A

Unmount /dev/sda2, tune2fs -j /dev/sda2, mount /dev/sda2 /home

30
Q

How can you convert ext3 to ext4?

A

Unmount /dev/sda2, tune2fs -O extents,uninit_bg,dir_index /dev/sda2, e2fsck -pf /dev/sda2, mount /dev/sda2 /home

31
Q

ext4 Directory can contain a maximum of __________ subdirectories

A

64,000 subdirectories (as opposed to 32,000 in ext3)

32
Q

Journal (Types of journaling available in ext3 file system)

A

Metadata and content are saved in the journal.

33
Q

Ordered (Types of journaling available in ext3 file system)

A

Only metadata is saved in the journal. Metadata are journaled only after writing the content to disk. This is the default.

34
Q

Writeback (Types of journaling available in ext3 file system)

A

Only metadata is saved in the journal. Metadata might be journaled either before or after the content is written to the disk.