udisks2_lsm.conf man page

udisks2_lsm.conf — The UDisks2 LSM Module configuration file

Description

The lsm module of UDisks2 uses LibStorageMgmt[1] API to provides org.freedesktop.UDisks2.Drive.LSM interface with RAID information for external(DAS or SAN) Linux disk drive. Please refer to storage interface document for detail.

Some storage system requires extra configuration in /etc/udisks2/modules.conf.d/udisks2.conf.

Configuration File

refresh_interval = <integer>

The option controls how many seconds should this module refresh the RAID information cache. If not defined, the default value is 30 (seconds).

enable_sim = true|false

This option indicates whether lsm module should try simulator of LibStorageMgmt. This is only for developer. If not defined, the default value is false(do not enable simulator of LibStorageMgmt). If enabled, the sim:// URI will be used to query LibStorageMgmt simulator plugin.

enable_hpsa = true|false

This option indicates whether lsm module should check HP SmartArray. If not defined, the default value is true(check HP SmartArray).

To be functional, also requires libstoragemgmt-hpsa-plugin package be installed and well configured. Please refer to the hpsa_lsmplugin(1) manpage for detail.

If enabled, the hpsa:// URI will be used to query LibStorageMgmt HP SmartArray plugin.

extra_uris= ["uri_string_1", "uri_string_2"]

This option defines extra LibStorageMgmt URI list here. Please refer to LibStorageMgmt User Guide[3] for URI format.

Require double quoted string and separated by comma, example:

extra_uris = ["ontap+ssl://root@ontap.a.ip", "ontap+ssl://root@ontap.b.ip"]

If not defined, empty list(no extra URI loaded) will be used.

extra_passwords = ["password_string_1", "password_string_2"]

This options defines the passwords of above URI list. Please use double quoted string and separated by comma, example:

extra_paasswords = ["password1", "password2"]

Hardware Support Status

Any hardwares which are supported in LibStorageMgmt with these capabilities will get fully support by UDisks2 LSM module:

* VOLUMES capabilityes with valid VPD83 information,

* VOLUME_RAID_INFO capabilities.

Please refer to LibStorageMgmt document website[2] for support status.

Tested hardwares are:

HP SmartArray

Using libstoragemgmt-hpsa-plugin package.

NetApp ONTAP

Using libstoragemgmt-netapp-plugin package.

Author

Gris Ge <fge@redhat.com>

Bugs

Please send bug reports to either the distribution bug tracker or the upstream bug tracker at https://github.com/storaged-project/sto….

See Also

lsmd(1), udisksd(8), hpsa_lsmplugin(1), ontap_lsmplugin(1),

[1]: https://github.com/libstorage/libstorag…

[2]: http://libstorage.github.io/libstoragem…

[3]: http://libstorage.github.io/libstoragem…

Info

March 2016 udisks2_lsm.conf 2.6.3 UDisks2 LSM Module Configurati