Subclass of CIM_Service
A Service is a LogicalElement that represents the availability of functionality that can be managed. This functionality may be provided by a seperately modeled entity such as a LogicalDevice or a SoftwareFeature, or both. The modeled Service typically provides only functionality required for management of itself or the elements it affects.
None
uint32 CreateMount (CIM_ConcreteJob Job, LMI_MountedFileSystem Mount, CIM_FileSystem FileSystem, string MountPoint, string FileSystemSpec, string FileSystemType, LMI_MountedFileSystemSetting Goal, uint16 Mode)
Mounts the specified filesystem to a mountpoint.
ValueMap Values 0 Job Completed with No Error 1 Not Supported 2 Unknown 3 Timeout 4 Failed 5 Invalid Parameter 6 In Use DMTF Reserved 4096 Method Parameters Checked - Job Started 4098..32767 Method Reserved 32768..65535 Vendor Specific Parameters
- OUT CIM_ConcreteJob Job
- Reference to the created job.
- OUT LMI_MountedFileSystem Mount
- Reference to the created LMI_MountedFileSystem instance.
- IN CIM_FileSystem FileSystem
- Existing filesystem that should be mounted. If NULL, mount a remote filesystem, or mount a non-device filesystem (e.g. tmpfs). If not NULL, mount a local filesystem. When mounting a local filesystem, the FileSystemType parameter has to agree with the type of FileSystem.
- IN string MountPoint
- Directory where the mounted filesystem should be attached at.
- IN string FileSystemSpec
- Filesystem specification. Specifies the device that should be mounted. Remote filesystems can be specified in their usual form (e.g. ‘hostname:/share’ for NFS, or ‘//hostname/share’ for CIFS). Non-device filesystems can also be specified (e.g. ‘tmpfs’ or ‘sysfs’). When performing a bind mount, FileSystemSpec is the path to the source directory.
- IN string FileSystemType
- Filesystem type. If NULL, perform a binding mount. If mounting a local filesystem, this parameter has to be in agreement with the FileSystem.
- IN LMI_MountedFileSystemSetting Goal
- Desired mount settings. If NULL, defaults will be used. Default mount options are ‘rw, suid, dev, exec, auto, nouser, async’.
- IN uint16 Mode
The mode in which the configuration is to be applied to the MountedFileSystem.
IsNext and IsCurrent are properties of LMI_MountedFileSystemElementSettingData, which will be created.
Meaning of IsNext and IsCurrent is:
IsCurrent = 1: The filesystem will be mounted.
IsNext = 1: A persistent entry will be created (in /etc/fstab).
Mode 1 - IsNext = 1, IsCurrent = 1.
Mode 2 - IsNext = 1, IsCurrent not affected.
Mode 32768 - IsNext not affected, IsCurrent = 1.
ValueMap Values 0 Mode 0 1 Mode 1 2 Mode 2 3 Mode 3 4 Mode 4 5 Mode 5 6 Mode 6 DMTF Reserved 32768 Mode 32768 32769 Mode 32769
uint32 DeleteMount (CIM_ConcreteJob Job, LMI_MountedFileSystem Mount, uint16 Mode)
Unmounts an existing mount.
ValueMap Values 0 Job Completed with No Error 1 Not Supported 2 Unknown 3 Timeout 4 Failed 5 Invalid Parameter 6 In Use DMTF Reserved 4096 Method Parameters Checked - Job Started 4098..32767 Method Reserved 32768..65535 Vendor Specific Parameters
- OUT CIM_ConcreteJob Job
- Reference to the created job.
- IN LMI_MountedFileSystem Mount
- An existing mount.
- IN uint16 Mode
The mode in which the configuration is to be applied to the MountedFileSystem.
IsNext and IsCurrent are properties of LMI_MountedFileSystemElementSettingData, which will be created.
Meaning of IsNext and IsCurrent is:
IsCurrent = 1: The filesystem will be mounted.
IsCurrent = 2: The filesystem will be unmounted.
IsNext = 1: A persistent entry will be created (in /etc/fstab).
IsNext = 2: The persistent entry will be removed.
Mode 4 - IsNext = 2, IsCurrent = 2.
Mode 5 - IsNext = 2, IsCurrent not affected.
Mode 32769 - IsNext not affected, IsCurrent = 2.
ValueMap Values 0 Mode 0 1 Mode 1 2 Mode 2 3 Mode 3 4 Mode 4 5 Mode 5 6 Mode 6 DMTF Reserved 32768 Mode 32768 32769 Mode 32769
uint32 ModifyMount (CIM_ConcreteJob Job, LMI_MountedFileSystem Mount, LMI_MountedFileSystemSetting Goal, uint16 Mode)
Modifies (remounts) an existing mount.
ValueMap Values 0 Job Completed with No Error 1 Not Supported 2 Unknown 3 Timeout 4 Failed 5 Invalid Parameter 6 In Use DMTF Reserved 4096 Method Parameters Checked - Job Started 4098..32767 Method Reserved 32768..65535 Vendor Specific Parameters
- OUT CIM_ConcreteJob Job
- Reference to the created job.
- IN, OUT LMI_MountedFileSystem Mount
- Reference to the LMI_Mount instance that is being modified.
- IN LMI_MountedFileSystemSetting Goal
- Desired mount settings. If NULL, the mount options are not changed. If mount (or an fstab entry) should be performed (created), the appropriate respective MountedFileSystemSetting will be created.
- IN uint16 Mode
The mode in which the configuration is to be applied to the MountedFileSystem.
IsNext and IsCurrent are properties of LMI_MountedFileSystemElementSettingData, which will be created.
Meaning of IsNext and IsCurrent is:
IsCurrent = 1: The filesystem will be mounted.
IsCurrent = 2: The filesystem will be unmounted.
IsNext = 1: A persistent entry will be created (in /etc/fstab).
IsNext = 2: The persistent entry will be removed.
Mode 1 - IsNext = 1, IsCurrent = 1.
Mode 2 - IsNext = 1, IsCurrent not affected.
Mode 4 - IsNext = 2, IsCurrent = 2.
Mode 5 - IsNext = 2, IsCurrent not affected.
Mode 32768 - IsNext not affected, IsCurrent = 1.
Mode 32769 - IsNext not affected, IsCurrent = 2.
ValueMap Values 0 Mode 0 1 Mode 1 2 Mode 2 3 Mode 3 4 Mode 4 5 Mode 5 6 Mode 6 DMTF Reserved 32768 Mode 32768 32769 Mode 32769