diff --git a/delfin/drivers/dell_emc/power_store/consts.py b/delfin/drivers/dell_emc/power_store/consts.py index e334dacab..bed49de5f 100644 --- a/delfin/drivers/dell_emc/power_store/consts.py +++ b/delfin/drivers/dell_emc/power_store/consts.py @@ -506,8 +506,7 @@ class DiskType(object): } } FS_TYPE_MAP = { - 'Primary': constants.FSType.THIN, - 'Snapshot': constants.FSType.THICK + 'Primary': constants.FSType.THIN } FS_SECURITY_MODE_MAP = { 'Native': constants.NASSecurityMode.NATIVE, diff --git a/delfin/drivers/dell_emc/power_store/rest_handler.py b/delfin/drivers/dell_emc/power_store/rest_handler.py index 8d0a0ff1b..b8f2ef733 100644 --- a/delfin/drivers/dell_emc/power_store/rest_handler.py +++ b/delfin/drivers/dell_emc/power_store/rest_handler.py @@ -1026,6 +1026,8 @@ def list_filesystems(self, storage_id): file_system_list = self.rest_call(self.REST_FILE_SYSTEM_URL) for file_system in file_system_list: fs_type = file_system.get('filesystem_type') + if 'Snapshot' == fs_type: + continue total_capacity = int(file_system.get('size_total')) used_capacity = int(file_system.get('size_used')) file_dict = {