Creating a Comprehensive Guide to Building a Professional Long-Form Blog Post on Red Hat SAN Storage Expansion
- Imran Asghar
- 11 hours ago
- 3 min read
```markdown
Published: February 2026 | Category: Linux Systems Consultancy | Author: Secure Edge Engineering Team
Expanding SAN storage on Red Hat systems requires careful planning and precise execution. This guide focuses on using Logical Volume Manager (LVM) and multipath I/O to safely increase disk space while maintaining system stability and performance. Whether you manage enterprise storage or complex virtual environments, this article offers a clear, technical walkthrough to help you expand SAN storage effectively.
Production Safety: Read Before Proceeding
<div style="border: 2px solid #ff4500; background-color: #3a1f1f; padding: 15px; margin-bottom: 20px;">
<strong>Warning:</strong> Expanding SAN storage involves modifying disk partitions and volume groups that are critical to system operation. Always ensure you have verified backups and tested recovery procedures before proceeding. Interruptions or errors during this process can cause data loss or system downtime. Perform all steps during scheduled maintenance windows and confirm multipath configurations to avoid device conflicts.
</div>
Understanding SAN Storage Expansion on Red Hat
Expanding storage on a Red Hat system connected to a SAN involves two main components: managing multipath devices and extending LVM volumes. Multipath I/O ensures redundancy and load balancing between the server and SAN storage, while LVM provides flexible volume management.
Key concepts include:
Multipath Devices: These represent physical paths to SAN storage aggregated into a single logical device.
Physical Volumes (PVs): Underlying block devices used by LVM.
Volume Groups (VGs): Collections of PVs pooled together.
Logical Volumes (LVs): Virtual partitions carved from VGs, which can be resized.
Preparing the Environment
Before expanding storage, verify the current multipath and LVM setup.
Open a terminal and run:
```bash
multipath -ll
```
This command lists all multipath devices and their status.
Next, check existing volume groups and logical volumes:
```bash
vgdisplay
lvdisplay
```
Confirm the SAN has provisioned additional LUNs or storage space visible to the host. Use:
```bash
lsblk
```
to identify new devices.
Adding New SAN Storage to Multipath
When new LUNs are added on the SAN, the host must detect and configure them for multipath.
Rescan SCSI bus to detect new devices:
```bash
for host in /sys/class/scsi_host/host*; do echo "- - -" > $host/scan; done
```
Reload multipath configuration and check devices:
```bash
multipath -r
multipath -ll
```
Verify new devices appear as multipath devices (e.g., /dev/mapper/mpatha).
Extending LVM with New Multipath Devices
Once multipath devices are ready, add them as physical volumes:
```bash
pvcreate /dev/mapper/mpatha
```
Add the new PV to an existing volume group:
```bash
vgextend vg_data /dev/mapper/mpatha
```
Check volume group free space:
```bash
vgdisplay vg_data | grep "Free PE"
```
Resizing Logical Volumes and Filesystems
After extending the volume group, increase the logical volume size:
```bash
lvextend -l +100%FREE /dev/vg_data/lv_storage
```
Resize the filesystem to use the new space. For XFS filesystems (default on Red Hat):
```bash
xfs_growfs /dev/vg_data/lv_storage
```
For ext4 filesystems:
```bash
resize2fs /dev/vg_data/lv_storage
```
Verifying the Expansion
Confirm the logical volume and filesystem sizes:
```bash
lvdisplay /dev/vg_data/lv_storage
df -h /mount/point
```
Check multipath device health again:
```bash
multipath -ll
```
Troubleshooting Tips
If new devices do not appear after rescanning, check SAN zoning and LUN masking.
Multipath daemon logs can be found in `/var/log/messages` or via `journalctl -u multipathd`.
Use `multipath -F` to flush multipath maps if stale devices persist, but only after ensuring no active I/O.
Always verify device mapper names before modifying LVM to avoid data corruption.
Technical Reference Matrix
| Command | Purpose | Risk |
|-----------------------------|------------------------------------|----------------------------------|
| `multipath -ll` | List multipath devices and status | None |
| `pvcreate /dev/mapper/mpatha` | Initialize new physical volume | Data loss if run on existing PV |
| `vgextend vg_data /dev/mapper/mpatha` | Add PV to volume group | Volume group corruption if interrupted |
| `lvextend -l +100%FREE /dev/vg_data/lv_storage` | Extend logical volume size | Filesystem corruption if not resized properly |
Need expert help expanding your SAN storage on Red Hat?
<button style="background-color:#00ff00; color:#000; border:none; padding:10px 20px; cursor:pointer;">Get in Touch</button>
Comments