Added
A production RHEL 8 server hosts a database on an XFS filesystem mounted at /var/lib/ledger. A new virtual disk, /dev/vdb, has been added, and the filesystem must grow online without interrupting the database. The existing filesystem is not on LVM, and the disk contains no data that must be preserved. The storage team requires the new capacity to be available after reboot. Which approach meets the requirements with the least disruption?
Because the existing filesystem is a non-LVM XFS filesystem, it cannot be extended to consume a separate disk. Creating a filesystem on the new disk and migrating the data allows the mount to be changed persistently, although the database must be stopped for a consistent copy and cutover. Creating a filesystem mounted over the active directory would hide the existing data. xfs_growfs cannot join an unrelated partition to the current filesystem. LVM cannot absorb the existing non-LVM filesystem into a logical volume.