Skip to content

e2fsprogs package

negan07 edited this page Jan 16, 2019 · 8 revisions

opkg update && opkg install e2fsprogs

Dependencies: none

Binaries included: e2fsck, blkid

Config files: /usr/etc/e2fsck.conf

GUI section: Storage

Usage: rc_e2fsck < start restart stop > < device_part >

<device_part> is the partition device to check (mandatory).

Nvram variables:

None

Docs:

http://e2fsprogs.sourceforge.net

https://linux.die.net/man/8/e2fsck

Ext2/3/4 Filesystem Utilities

With this package it's possible to check a Linux hdd storage ext2/ext3/ext4 file system device connected through the 2 router's usb 3.0 ports.

To start a partition device check type:

rc_e2fsck start sd[a-h][1-15]

To stop/interrupt a partition device check type:

rc_e2fsck stop

(GUI Select device name & partition then Click: Analyze then follow screen output).

The process doesn't fork to background while running.

At the end of the check a restart of the device could be recommended.

e2fsck.conf

The config file includes many settings: for a further knowledge read the man page tutorial .

Config file is located & stored in /usr/etc/e2fsck.conf .

To make modifications, vi /usr/etc/e2fsck.conf then save it.

GUI Click: Modify E2fsck Configuration , edit text then Click: Save then Click: Apply .

The config file won't be saved after package removal/upgrade and after firmware upgrade too.

Select Device

Select the device to check.

As default, the devices are named /dev/sd[a-h] .

Select Partition

Select the partition related to the device above: normally, the partition #1 .

Internal partitions possible are [1-15] for sda & sdb devices and [1-4] for [sdc-sdh] devices.