use of com.emc.sa.service.linux.tasks.GetMultipathPrimaryPartitionDeviceParentDmName in project coprhd-controller by CoprHD.
the class LinuxSupport method getParentMultipathDevice.
protected String getParentMultipathDevice(String device) {
String parentDeviceDmName = execute(new GetMultipathPrimaryPartitionDeviceParentDmName(device));
MultiPathEntry multipathEntry = execute(new FindMultiPathEntryForDmName(parentDeviceDmName));
return StringUtils.substringBeforeLast(device, "/") + "/" + multipathEntry.getName();
}
Aggregations