Developers Guide

Volume management
13 Dell EMC SC Series with Red Hat Enterprise Linux 7x | CML1071
Sample output from this script as shown in the following:
# ./get_UUID.sh
[snip]
INFO: /dev/mapper/vol_001
Multipath Info:
UUID: mpath-36000d3100000650000000000000017f2
Filesystem Details:
Type: xfs
label = "TestVol"
UUID = fbef5bfb-94b9-4827-a103-516045b9b608
INFO: /dev/mapper/vol_002
Multipath Info:
UUID: mpath-36000d3100000650000000000000017f3
Filesystem Details:
Type: LVM2_member
WARN: Filesystem unknown
[snip]
2.6 Using snapshot view volumes
The use of the XFS filesystem allows for simple, effective integration with SC Series snapshot and snapshot
view volumes. An applied XFS filesystem residing on top of a volume creates, maintains, and manages XFS
metadata on the volume including a volume UUID. This volume UUID assists Linux in uniquely identifying this
volume regardless of the attached host.
Note: These methods can be applied to XFS file system management on any Linux host. If the snapshot view
volume is presented to an alternate Linux host (with a UUID), then the volume mounts normally without
needing any of the following methods.
The volume label and UUID of a known XFS filesystem can be displayed with the following command.
# xfs_admin -ul /dev/mapper/vol_001
UUID = fbef5bfb-94b9-4827-a103-516045b9b608
label = "TestVol"
This UUID on the filesystem is inherited by any snapshot or snapshot view volumes created from the original
SC Series volume. As such, any snapshot view volumes cannot be automatically presented to and mounted
on the originating host (even though the multipath device has its own unique ID). In the following example, a
snapshot view volume is created from the XFS filesystem-based /dev/mapper/vol_001 device and mounted
as /vol_001. This snapshot view volume is discovered, identified, and aliased as /dev/mapper/vol_004 using
the /etc/multipath.conf file.