Problem Resizing Filesystem: "resize2fs: Permission denied to resize filesystem" During Online Resize
Environment
Debian 10, 11, 12
Situation
As per the logs on the system we can see that the system is mounted with the corrupted filesystem and required recovery to perform the online filesystem resizing.
It is highly recommended if you are using any virtualization platform then take a working machine snapshot to avoid any disaster.
After snapshot or backup follow the below steps:
1. Reboot the VM in Recovery Mode:
3. Run fsck with -fy option on remounted drive
Cause
Inconsistency can prevent various file system operations, including online resizing. To proceed with the resize operation, you'll need to fix the file system errors using a file system check and repair tools.
Disclaimer
Materials are provided for informational, personal or non-commercial use within your organization and rare presented "AS IS" WITHOUT ANY WARRANTY OF ANY KIND.
Comments
Post a Comment