From Fedora Project Wiki

Revision as of 10:01, 21 August 2023 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |description=This test case ensures the basic functionalities of `e2fsprogs` work correctly on ext2/ext3/ext4 file systems. |setup= # Install a fresh copy of Fedora. # Ensure `e2fsprogs` is installed: `dnf install e2fsprogs`. # Prepare a spare storage device or a disk image for testing. |actions= # Create an ext4 file system: `mkfs.ext4 /path/to/device_or_image`. # Check the file system: `e2fsck /path/to/device_or_image`. # Adjust filesystem parameters us...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case ensures the basic functionalities of e2fsprogs work correctly on ext2/ext3/ext4 file systems.

Setup

  1. Install a fresh copy of Fedora.
  2. Ensure e2fsprogs is installed: dnf install e2fsprogs.
  3. Prepare a spare storage device or a disk image for testing.

How to test

  1. Create an ext4 file system: mkfs.ext4 /path/to/device_or_image.
  2. Check the file system: e2fsck /path/to/device_or_image.
  3. Adjust filesystem parameters using tune2fs.

Expected Results

  1. Filesystem creation should succeed without errors.
  2. Filesystem check should report the file system is clean.
  3. Adjustments with tune2fs should be applied without issues.

Optional

1. Repeat tests for ext2 and ext3 file systems. 2. Use other utilities from the e2fsprogs package.