Search in sources :

Example 1 with ExpandFileSystem

use of com.emc.sa.service.vipr.file.tasks.ExpandFileSystem in project coprhd-controller by CoprHD.

the class FileStorageUtils method expandFileSystem.

public static void expandFileSystem(URI fileSystemId, double sizeInGb) {
    String newSize = String.valueOf(DiskSizeConversionUtils.gbToBytes(sizeInGb));
    Task<FileShareRestRep> response = execute(new ExpandFileSystem(fileSystemId, newSize));
    addAffectedResource(response);
    logInfo("file.storage.task", response.getOpId());
}
Also used : FileShareRestRep(com.emc.storageos.model.file.FileShareRestRep) ExpandFileSystem(com.emc.sa.service.vipr.file.tasks.ExpandFileSystem)

Aggregations

ExpandFileSystem (com.emc.sa.service.vipr.file.tasks.ExpandFileSystem)1 FileShareRestRep (com.emc.storageos.model.file.FileShareRestRep)1