LMI_FileSystemSetting

Class reference

Subclass of CIM_FileSystemSetting

The FileSystemSetting describes the attribute values set when creating a FileSystem by a FileSystemConfigurationService. These settings can be associated via the ElementSettingData association with the created FileSystem. If the setting is associated via SettingAssociatedToCapabilities to a FileSystemCapabilities, it is one of the canned settings supported by this capabilities instance. A setting can also be an embedded instance parameter to a method (for instance, when used as a Goal parameter).

A NULL value for a property in a canned setting indicates support for a vendor-specific default. A NULL value for a property when the setting is used as a Goal parameter to a method indicates that the client does not care what value that property will have on creation and will accept any vendor-supplied default. When used with a FileSystem, a NULL value for a property must be interpreted as “Unknown”. The ActualFileSystemType property cannot have a default value in any context. If this Setting is associated with a FileSystemCapabilities element via SettingAssociatedToCapabilities, the value of ActualFileSystemType in the Setting and the Capabilities MUST match.

This class also supports persistence and recoverability of a FileSystem and its contained elements as defined in CIM 2.8 for the use of DatabaseStorageArea.

Key properties

Local properties

uint16[] FilenameLengthMax

An array of integers that specify the maximum number of characters in a filename corresponding to an entry in the FilenameFormats property.

An entry of ‘0xFFFF’ (the largest 16-bit integer) is interpreted as an indefinite length.

uint64[] ObjectSizeMax

An array of integers that specifies the maximum size of objects (corresponding to the entry in the ObjectTypes array) that this FileSystem will “normally” contain. A value of 0 implies that there is no specific maximum associated with this setting.

uint16[] FilenameFormats

An array of enumerated values that specify the filename formats supported on this FileSystem for naming files. Some common formats are:

  1. DOS 8.3
  2. VMS ‘name.extension;version’ where the extension specifies a file type
  3. Unix name (file type is not specified in the name)
  4. Windows ‘name{.ext}*’ where any of the exts can specify a file type

For each entry in this array there is an associated maximum length for the name and an associated reserved set of characters.

The interpretation of the maximum length of the name as well as the FilenameReservedCharacterSet string is vendor-specific.

ValueMap Values
1 DOS8.3
2 Unix
3 VMS
4 Windows LongNames
DMTF Reserved
0x8000.. Vendor Defined

uint16 DataExtentsSharing

An enumerated value that specifies if the FileSystem supports or enforces sharing of data extents between objects.

ValueMap Values
0 Unknown
1 No Sharing
2 Sharing Possible/Optional
3 Sharing Enforced
DMTF Reserved
0x8000.. Vendor Defined

uint16[] ObjectTypes

An array of enumerated values that specifies the set of object types that this FileSystem supports. This array is associated with a number of correspondingly indexed properties that specify the size and number of such objects.

When used as a goal, the client needs to specify only the subset of objects that they wish to specify; when used in a Setting associated with the FileSystem, this should contain all the types that the provider knows about; when used in a Setting associated with a Capabilities, this may only contain the types that the client can modify.

“inodes” indicates that the number of required inodes is specified.”files” indicates that the number of required files is specified.”directories” indicates that the number of required directories is specified.”links” indicates that the number of required links is specified.”devices” indicates that the number of required devices is specified.”files/directories” indicates that the number of required files and directories is specified.”blocks” indicates that the size of required storage in client-specific storage units is specified. This represents the desired size of available space in the filesystem, exclusive of space reserved for meta-data and for other system functions. If “blocks” is specified, the corresponding ObjectSize properties must all be the same and must specify the intended size of the blocks in bytes.

ValueMap Values
2 inodes
3 files
4 directories
5 links
6 devices
7 files/directories
8 Blocks
DMTF Reserved
0x8000.. Vendor Defined

uint16 FilenameCaseAttributes

An enumerated value that specifies how this FileSystem supports the case of characters in the Filename. Note that the host and the service may support multiple conflicting features, but each FileSystem must be configured with only one of the supported features.

ValueMap Values
0 Unknown
1 Case-sensitive
2 Case-forced to upper case
3 Case-forced to lower-case
4 Case-indifferent but lost
5 Case-indifferent but preserved
DMTF Reserved
0x8000.. Vendor Defined

uint64[] ObjectSizeMin

An array of integers that specifies the minimum size of objects (corresponding to the entry in the ObjectTypes array) that this FileSystem will “normally” contain. A value of 0 implies that there is no specific minimum associated with this setting.

uint64[] NumberOfObjects

An array of integers that specifies the number of objects (corresponding to the entry in the ObjectTypes array) that this FileSystem will “normally” contain. A value of 0 implies that there is no specific number associated with this setting. When the Setting is associated with a FileSystemCapabilities element, this is the default; When the Setting is associated with a FileSystem element, this is the expected value; When the Setting is used as an embedded parameter to a method this is the goal.

uint64[] NumberOfObjectsMin

An array of integers that specifies the minimum number of objects (corresponding to the entry in the ObjectTypes array) that this FileSystem MUST be able to contain. A value of 0 implies that there is no specific minimum associated with this setting.

uint64[] NumberOfObjectsMax

An array of integers that specifies the maximum number of objects (corresponding to the entry in the ObjectTypes array) that this FileSystem MUST be able to contain. A value of 0 implies that there is no specific maximum associated with this setting.

uint16 ActualFileSystemType

An enumerated value that indicates the file system implementation type supported by this Setting. This property MUST exist and have a value.

ValueMap Values
0 Unknown
2 UFS
3 HFS
4 FAT
5 FAT16
6 FAT32
7 NTFS4
8 NTFS5
9 XFS
10 AFS
11 EXT2
12 EXT3
13 REISERFS
DMTF Reserved
32769 EXT4
32770 BTRFS
32771 JFS
32772 TMPFS
32773 VFAT

uint64[] ObjectSize

An array of integers that specifies the size of objects (corresponding to the entry in the ObjectTypes array) that this FileSystem will “normally” contain. A value of 0 implies that there is no specific number associated with this setting. When the Setting is associated with a FileSystemCapabilities element, this is the default; When the Setting is associated with a FileSystem element, this is the expected value; When the Setting is used as an embedded parameter to a method this is the goal.

uint16[] PersistenceTypes

An array of enumerated values representing the persistence attributes of the FileSystem. A value of “Persistent” indicates that the FileSystem supports persistence, can be preserved through an orderly shutdown and could be protected. A value of “Temporary” indicates that the FileSystem supports non-persistence, may not be protected and may not survive a shutdown. A value of “External” indicates that the FileSystem could controlled outside of the operating environment and may need to be protected by specialized means. A value of “Other” is provided to allow for additional persistence types, to be described in the corresponding entry of the OtherPersistenceTypes property, and is expected to be rarely, if ever, used.

ValueMap Values
0 Unknown
1 Other
2 Persistent
3 Temporary
4 External
5.. DMTF Reserved

Local methods

None

Inherited methods

None