nerdexam
CompTIA

LX0-103 · Question #125

Which utility would be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem?

The correct answer is C. tune2fs. tune2fs is the administrative tool for adjusting ext2/ext3/ext4 filesystem parameters in place, without reformatting or destroying data.

Devices, Linux Filesystems, Filesystem Hierarchy Standard

Question

Which utility would be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem?

Options

  • Amod2fs
  • Bfsck
  • Ctune2fs
  • Dmke2fs
  • Efixe2fs

How the community answered

(24 responses)
  • B
    4% (1)
  • C
    88% (21)
  • E
    8% (2)

Why each option

tune2fs is the administrative tool for adjusting ext2/ext3/ext4 filesystem parameters in place, without reformatting or destroying data.

Amod2fs

mod2fs does not exist as a standard Linux utility.

Bfsck

fsck is used to check and repair a filesystem, not to configure how often checks are scheduled.

Ctune2fsCorrect

tune2fs allows an administrator to change tunable parameters on an existing ext2 filesystem - including the maximum mount count and time interval between forced checks - without touching any stored data. It directly modifies the filesystem superblock metadata, so all user data remains intact. This makes it the correct tool for adjusting fsck frequency settings like -c (max mount count) or -i (interval).

Dmke2fs

mke2fs creates a new ext2 filesystem, which would destroy all existing data on the partition.

Efixe2fs

fixe2fs does not exist as a standard Linux utility.

Concept tested: ext2 filesystem parameter tuning with tune2fs

Source: https://man7.org/linux/man-pages/man8/tune2fs.8.html

Topics

#tune2fs#ext2#fsck interval#filesystem tuning

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice