Developers Guide
Volume management
15 Dell EMC SC Series with Red Hat Enterprise Linux 7x | CML1071
Note: The following volume expansion steps are only for those volumes which have an XFS filesystem
applied. This is not applicable to volumes which have already been partitioned or LVM enabled.
1. Expand the SC Series volume.
a. Right-click the SC Series volume.
b. Select Expand Volume.
c. Enter a new size for the volume.
d. Click OK to execute the expansion.
2. Rescan the drive geometry for each path of the multipath device by executing:
# echo 1 >> /sys/block/sdX/device/rescan
3. Resize the multipath map by executing
# multipathd -k“resize map <devicename>”
Note the following:
- The multipath device is /dev/mapper/<devicename>.
- There is no space between the –k parameter and the command string.
4. Expand the XFS filesystem (in this example, to the boundary limit size of the underlying volume).
# xfs_growfs -d /<mountpoint_name>
Note: Reducing the size of a volume (or its accompanying filesystem) on demand is not recommended in any
environment. Alternate methods to achieving this result that greatly reduce the risk and potential impact
toward data integrity include backup and recovery, relocating the contents of a volume to an alternate new,
size-reduced SC Series volume, or mirroring and splitting volumes.
The rescan-scsi-bus.sh script (included in the sg3_utils.x86_64 package) can be used to rescan the SCSI bus
to update the host’s seen devices (after the device has been presented to the host).