lsm_pool_member_info(3)
π lsm_pool_member_info β the libstoragemgmt C API manual, bestie edition π
okay so this one lives in the Libstoragemgmt C API Manual, and it's called lsm_pool_member_info. It's giving "tell me who's in this pool's friend group" energy. Let's go π«Ά
β¨ NAME β¨
lsm_pool_member_info β retrieves the membership of given pool.
like. literally who is in this pool. who are its people. π
πΈ SYNOPSIS πΈ
int lsm_pool_member_info (lsm_connect *conn, lsm_pool *pool,
lsm_volume_raid_type *raid_type, lsm_pool_member_type *member_type,
lsm_string_list **member_ids, lsm_flag flags);
π ARGUMENTS π
connβ a valid connection. it has to be real, bestie, no imaginary friends.poolβ the pointer oflsm_pool. the pool we're investigating πraid_typeβ anlsm_volume_raid_type. the valid values are, and I'm listing every single one because we don't gatekeep:LSM_VOLUME_RAID_TYPE_RAID0β Stripe.LSM_VOLUME_RAID_TYPE_RAID1β Two disks MirrorLSM_VOLUME_RAID_TYPE_RAID3β Byte-level striping with dedicated parityLSM_VOLUME_RAID_TYPE_RAID4β Block-level striping with dedicated parityLSM_VOLUME_RAID_TYPE_RAID5β Block-level striping with distributed parityLSM_VOLUME_RAID_TYPE_RAID6β Block-level striping with two distributed parities, aka, RAID-DPLSM_VOLUME_RAID_TYPE_RAID10β Stripe of mirrorsLSM_VOLUME_RAID_TYPE_RAID15β Parity of mirrorsLSM_VOLUME_RAID_TYPE_RAID16β Dual parity of mirrorsLSM_VOLUME_RAID_TYPE_RAID50β Stripe of paritiesLSM_VOLUME_RAID_TYPE_RAID60β Stripe of dual paritiesLSM_VOLUME_RAID_TYPE_RAID51β Mirror of paritiesLSM_VOLUME_RAID_TYPE_RAID61β Mirror of dual paritiesLSM_VOLUME_RAID_TYPE_JBODβ Just bunch of disks, no parity, no striping. chaotic. iconic. no notes.LSM_VOLUME_RAID_TYPE_UNKNOWNβ The plugin failed to detect the volume's RAID type. πLSM_VOLUME_RAID_TYPE_MIXEDβ This volume contains multiple RAID settings.LSM_VOLUME_RAID_TYPE_OTHERβ Vendor specific RAID type
member_typeβ anlsm_pool_member_type. valid values, again, all of them:LSM_POOL_MEMBER_TYPE_POOLβ Current pool (also known as sub-pool) is allocated from other pool (parent pool). The'raid_type'will set toRAID_TYPE_OTHERunless certain RAID system support RAID using space of parent pools.LSM_POOL_MEMBER_TYPE_DISKβ Pool is created from RAID group using whole disks.LSM_POOL_MEMBER_TYPE_OTHERβ Vendor specific RAID member type.LSM_POOL_MEMBER_TYPE_UNKNOWNβ Plugin failed to detect the RAID member type.
member_idsβ Pointer oflsm_string_list. When'member_type'isLSM_POOL_MEMBER_TYPE_POOL, the'member_ids'will contain a list of parent Pool IDs. When'member_type'isLSM_POOL_MEMBER_TYPE_DISK, the'member_ids'will contain a list of disk IDs. When'member_type'isLSM_POOL_MEMBER_TYPE_OTHERorLSM_POOL_MEMBER_TYPE_UNKNOWN, themember_idsshould beNULL. Memory need to be freed vialsm_string_list_free. π«Ά don't leak, bestie, that's not the vibe.flagsβ Reserved for future use, must beLSM_CLIENT_FLAG_RSVD. it's not for you yet, it's reserved. hands off. β
π¦ VERSION π¦
1.2.
π DESCRIPTION π
Retrieves the membership information of certain pool: RAID type, member type and member ids. Currently, LibStorageMgmt supports two types of pool, and they're both a little bit main character in their own way:
- Sub-pool β
LSM_POOL_MEMBER_TYPE_POOL- Pool space is allocated from parent pool.
- Example:
- NetApp ONTAP volume
- Disk RAID pool β
LSM_POOL_MEMBER_TYPE_DISK- Pool is a RAID group assembled by disks.
- Example:
- LSI MegaRAID disk group
- EMC VNX pool
- NetApp ONTAP aggregate
so like. one of them borrows space from its parent (it's giving living at home), and the other one is a whole RAID group made of actual disks. both valid. both slay. π
π CAPABILITY π
LSM_CAP_POOL_MEMBER_INFO
β RETURN β
Error code as enumerated by 'lsm_error_number'. the whole roster:
LSM_ERR_OKβ On success. π we ate.LSM_ERR_INVALID_ARGUMENTβ When any argument isNULLor invalid flags.LSM_ERR_NO_SUPPORTβ Not supported. π
ngl bestie, if you pass aNULLanywhere or get cute withflags,LSM_ERR_INVALID_ARGUMENTis coming for you. and remember: whenmember_typeisLSM_POOL_MEMBER_TYPE_OTHERorLSM_POOL_MEMBER_TYPE_UNKNOWN,member_idsshould beNULLβ and the memory you do get needs to be freed vialsm_string_list_free. periodt. β¨
okay that's the whole page! this dropped in February 2026, it's lsm_pool_member_info from the Libstoragemgmt C API Manual, and that's the tea. go check your pool's membership, you've got this π§π
π¦ where this page comes from
- fedora 43: libstoragemgmt-devel 1.10.3-1.fc43 Β· LGPL-2.1-or-later
- fedora 44: libstoragemgmt-devel 1.10.3-1.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms