lsm_volume_enable(3)

πŸ“¦
version 1.10.3 Β· 3 versions
, in fedora 43, fedora 44

πŸ’– lsm_volume_enable β€” bestie edition πŸ’–

okay so this one lives in the Libstoragemgmt C API Manual, and it's called lsm_volume_enable(3). it's giving "wake up babe, your volume's back online" energy and honestly? we love that for you. 🌸


✨ NAME ✨

lsm_volume_enable β€” Set a Volume to online πŸ”₯

like, literally. it takes a volume that's been sitting there all sad and offline and goes "not on my watch, bestie" πŸ’…


🌈 SYNOPSIS 🌈

int lsm_volume_enable (lsm_connect *conn, lsm_volume *volume, lsm_flag
flags);

that's the whole vibe. three args, one int coming back at you. periodt. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • conn β€” a Valid lsm_connect pointer. your connection to the whole storage situation. it has to be valid, okay? no fake ones, no NULLs, we're not doing that today. 🫢
  • volume β€” The pointer of lsm_volume to be enabled. this is the main character of the operation. the volume we're waking up. πŸ‘‘
  • flags β€” Reserved for future use, must be LSM_CLIENT_FLAG_RSVD. ngl it's not doing anything yet, it's just sitting there being reserved. put the right value in and we move on. πŸ’€

⭐ VERSION ⭐

1.0

yes queen, we're on version one point oh. 🌟


πŸ’œ DESCRIPTION πŸ’œ

Enable the specified volume when that volume is disabled by administrator or via lsm_volume_disable.

so the lore is: somebody (an admin, or a call to lsm_volume_disable) put this volume in time-out. this function is the "you can come back to the group chat now" text. you pass the volume, it gets enabled. iconic behaviour, no cap. πŸ”₯


🧚 CAPABILITY 🧚

LSM_CAP_VOLUME_ENABLE

that's the capability you're checking for, bestie. if the plugin doesn't have it, don't expect the enable to happen β€” go check that first, iykyk. 🌈


πŸ’… RETURN πŸ’…

Error code as enumerated by lsm_error_number. here's the whole list, don't skip it, i know you want to:

  • LSM_ERR_OK β€” On success. slay! everything worked, the volume is enabled, we're thriving. πŸŽ‰
  • LSM_ERR_INVALID_ARGUMENT β€” When any argument is NULL or not a valid lsm_connect pointer or invalid flags. basically you handed it something cursed. check your pointers and your flags, bestie. 😭
  • LSM_ERR_NOT_FOUND_VOLUME β€” When volume not found. it's not there. nowhere. ghosted you fr fr. πŸ‘»
  • LSM_ERR_POOL_NOT_READY β€” Pool is not ready. the pool is not in its ready era yet, give it a minute. πŸ™ˆ
  • LSM_ERR_NO_SUPPORT β€” Not supported. the plugin said "not my department". πŸ’€
lowkey important: that flags arg genuinely must be LSM_CLIENT_FLAG_RSVD right now. it's reserved, not a free-for-all. don't get creative. πŸ’…

🌸 SEE ALSO 🌸

no SEE ALSO section in this one, bestie β€” this page is a solo act and she's serving. 🫢


and that's the whole page!! written by the Libstoragemgmt C API Manual girlies, dated February 2026, and yes the footer says lsm_volume_enable(3) twice because she's extra like that. mwah. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from