Bug 2168692 - Storage: mounted devices that are in use cannot be resized
Summary: Storage: mounted devices that are in use cannot be resized
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rhel-system-roles
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 9.3
Assignee: Rich Megginson
QA Contact: guazhang@redhat.com
Apurva Bhide
URL:
Whiteboard: role:storage
Depends On: 2168683
Blocks: 2168738
TreeView+ depends on / blocked
 
Reported: 2023-02-09 18:49 UTC by Vojtech Trefny
Modified: 2023-07-24 18:20 UTC (History)
6 users (show)

Fixed In Version: rhel-system-roles-1.22.0-0.12.el9
Doc Type: Bug Fix
Doc Text:
.The `storage` role can now resize the mounted file systems without unmounting Previously, the `storage` role was unable to resize mounted devices, even if the file system supported online resizing. As a consequence, the `storage` role unmounted all file systems prior to resizing, which failed for file systems that were in use, for example, while resizing the `/` directory of the running system. With this update, the `storage` role now supports resizing mounted file systems that support online resizing such as XFS and Ext4. As a result, the mounted file systems can now be resized without unmounting them.
Clone Of:
: 2168738 (view as bug list)
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github linux-system-roles storage pull 356 0 None Draft feat: Add support for filesystem online resize 2023-05-23 11:21:43 UTC
Red Hat Issue Tracker RHELPLAN-148216 0 None None None 2023-02-09 18:50:10 UTC

Description Vojtech Trefny 2023-02-09 18:49:25 UTC
The storage role currently cannot resize devices with mounted filesystems that are in use even if the filesystem supports online resize.

The role tries to unmount the device before resizing it and if the filesystem is in use, the unmount operation fails with "blivet.errors.FSError: umount of / failed (32)".

Comment 14 guazhang@redhat.com 2023-06-25 00:37:23 UTC
Test passed with fixed package, move to verified.


Note You need to log in before you can comment on or make changes to this bug.