lsm_acces...tor_delete(3)
π lsm_access_group_initiator_delete(3) π
okay bestie, so this one lives in the Libstoragemgmt C API Manual, and it's literally the glow-down for an initiator β we're deleting one from an access group. bye girl π
β¨ NAME β¨
lsm_access_group_initiator_delete β deletes an initiator from an access group πͺπ
πΈ SYNOPSIS πΈ
int lsm_access_group_initiator_delete (lsm_connect *conn,
lsm_access_group *access_group, const char *initiator_id,
lsm_access_group_init_type init_type, lsm_access_group
**updated_access_group, lsm_flag flags);
π ARGUMENTS π
connβ a validlsm_connectpointer, no fakes allowed π ββοΈaccess_groupβ pointer to thelsm_access_groupwe're modifying. this is the group getting the makeover πββοΈinitiator_idβ string. the initiator id that's getting deleted from the group. she's leaving the group chat πinit_typeβ anlsm_access_group_init_type. the valid initiator types are:LSM_ACCESS_GROUP_INIT_TYPE_ISCSI_IQNβ iSCSI IQN β¨LSM_ACCESS_GROUP_INIT_TYPE_WWPNβ FC WWPN π¦
updated_access_groupβ output pointer of the updatedlsm_access_group. ngl bestie the returned value must be freed withlsm_access_group_record_free, don't leave her hanging π«Άflagsβ reserved for future use, must beLSM_CLIENT_FLAG_RSVD. like, no improvising here π
β VERSION β
1.0
π DESCRIPTION π
Delete an initiator to the specified access group. that's it, that's the whole vibe β she's out π
π CAPABILITY π
LSM_CAP_ACCESS_GROUP_INITIATOR_DELETE
π₯ RETURN π₯
returns an error code as enumerated by lsm_error_number. let's go through the whole roster, no skipping:
LSM_ERR_OK- on success π slay!
LSM_ERR_INVALID_ARGUMENT- when any argument is
NULL, or it's not a validlsm_connectpointer, or invalid flags, or an invalidlsm_access_grouppointer, or an illegal initiator, or an invalidinit_type. basically you did something cursed π
- when any argument is
LSM_ERR_NOT_FOUND_ACCESS_GROUP- when the access group is not found. she's not here, girl π
LSM_ERR_NO_STATE_CHANGE- when the specified initiator is not in the specified access group. so you tried to kick someone who was never in the group in the first place π
LSM_ERR_LAST_IN_ACCESS_GROUPβ wait, correction bestie, it'sLSM_ERR_LAST_INIT_IN_ACCESS_GROUP- when the specified initiator is the last initiator in the specified access group. please use
lsm_access_group_deleteinstead β you can't just remove the last one, that's not how this works π ββοΈ
- when the specified initiator is the last initiator in the specified access group. please use
LSM_ERR_NO_SUPPORT- not supported. the server said no π«
fr fr, watch out for thatLSM_ERR_LAST_INIT_IN_ACCESS_GROUPone β if she's the last initiator standing, you gotta calllsm_access_group_deleteinstead. don't come for the final girl π
π«Ά SEE ALSO π«Ά
lsm_access_group_delete β because that's literally the move when you hit the last-initiator situation, iykyk β¨
that's the whole page, bestie β February 2026, Libstoragemgmt C API Manual, version 1.0. go delete responsibly ππ¦
π¦ 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