You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

Oracle Linux - resize2fs: New size too large to be expressed in 32 bits

Applies To:
Oracle Linux Cloud Service - Version Oracle Linux 8.0 and later
Oracle Cloud Infrastructure

Symptoms:
Resizing the EXT4 filesystem throwing below error:

resize2fs /dev/mapper/vg1-lv1
resize2fs 1.46.2 (28-Feb-2021)
resize2fs: New size too large to be expressed in 32 bits

Cause:
Filesystem was created with 32-bit instead of 64-bit.

Solution

Before implementing this solution, check withthe application team if they have any dependency on a 32-bit filesystem.

1 Unmount the filesystem:

umount /dev/mapper/vg1-lv1

2 Run filesystem check with "-f" flag on filesystem:


e2fsck 1.46.2 (28-Feb-2021)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!