Jan Dvorak <firstname.lastname@example.org>
Library for communication with the multipathd process via it’s UNIX domain socket.
|(require multipath-daemon)||package: multipath-daemon|
Multipath daemon proxy operating over an abstract-namespace UNIX domain socket.
→ (is-a?/c multipath-daemon%) path : unix-socket-path? = undefinedCreate proxy, optionally using a non-default socket path.Queries known device paths.
Every path looks approximately like this:
'#hasheq((device . "sda") (major . 8) (minor . 0) (status . running) (uuid . "foobar-3cc708a235e4c035"))Queries known multipath maps (virtual devices diverting I/O to individual paths).
Every such map looks approximately like this:
'#hasheq((device . "disk1") (name . "disk1") (uuid . "foobar-3cc708a235e4c035"))Ask multipathd to re-read it’s configuration file and reconfigure all multipath maps. Basically equivalent to restarting it.Add path by name or uuid.Remove path by name or uuid.Add multipath mapping by name or uuid.Remove multipath mapping by name or uuid.Suspend multipath mapping by name or uuid. Suspended maps block on all access and can be safely redefined.Resume previously suspended multipath map.Ask the daemon to re-detect size of mapping paths and resize the mapping accordingly.Reset multipath mapping by name or uuid.Reload multipath mapping by name or uuid.Mark path as failed.Mark path as accessible again.Disable queuing on a single mapping.Disable queuing globally.Restore queuing on a single mapping.Restore queuing globally.