I’ve created a handy web-based tool for Red Hat 9 users to simplify setting up and managing LVM with XFS filesystems. Built with HTML, CSS, and JavaScript, this tool generates precise shell commands based on your inputs. You can specify disks (like sdb, sdc), choose to either create a new volume group (VG) or extend an existing one, and define your VG and logical volume (LV) names. It also lets you set a custom mount point and decide whether to allocate all available space to the LV or a specific size (e.g., 10G). For a new VG, it initializes the disks, creates the VG and LV, formats it with XFS, mounts it, and even provides an /etc/fstab entry. For extending a VG, it adds new disks, grows the existing LV, and expands the XFS filesystem—all tailored to your setup. Just fill in the form, click “Generate Commands,” and copy the output to your terminal!
Red Hat 9 LVM & XFS Setup
This tool serves as a helpful guide for managing disk setups on Red Hat 9, offering clear, tailored LVM and XFS commands through an easy-to-use webpage. It’s designed to assist anyone needing to create a new volume group or extend an existing one, simplifying the process with step-by-step output. I’m thankful for the support of Grok 3, built by xAI, which was instrumental in developing this project. Its insights helped me craft the code and turn my concept into a practical guide—many thanks to Grok 3 for the assistance!