dmmp\_path\_group\_id\_get(3) Device Mapper Multipath API - libdmmp Manual dmmp\_path\_group\_id\_get(3)

# [NAME](#NAME)

dmmp\_path\_group\_id\_get - Retrieve path group ID.

# [SYNOPSIS](#SYNOPSIS)

**uint32\_t dmmp\_path\_group\_id\_get** **(struct dmmp\_path\_group \*dmmp\_pg);**

# [ARGUMENTS](#ARGUMENTS)

[dmmp\_pg](#dmmp_pg)

Pointer of 'struct dmmp\_path\_group'. If this pointer is NULL, your program will be terminated by assert.

# [DESCRIPTION](#DESCRIPTION)

Retrieve the path group ID which could be used to switch active path group via command:

multipathd -k'switch multipath mpathb group $id'

# [RETURN](#RETURN)

uint32\_t.

dmmp\_path\_group\_id\_get June 2025

---

Document: dmmp_path_group_id_get(3) from multipath-tools 0.15.1-r0 (Chainguard OS)
Source: https://github.com/opensvc/multipath-tools
