lsm_volum...state_get(3)

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

✨ NAME ✨

lsm_volume_admin_state_get β€” bestie, this is the one that retrieves the administrative status of the volume. that's it. that's the whole job. πŸ’…

this page lives in the Libstoragemgmt C API Manual, so like, you're in the right place, don't worry 🫢


🌸 SYNOPSIS 🌸

uint32_t lsm_volume_admin_state_get (lsm_volume *v);

okay so it hands you back a uint32_t and it wants one lil volume pointer. simple. clean. iconic. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • v β€” the Volume you want the administrative status for. that's the one. give it here. 🫴

πŸ’– VERSION πŸ’–

1.0 β€” yes bestie, we're on version 1.0, the classic, the original flavor πŸ“


πŸ¦‹ DESCRIPTION πŸ¦‹

Retrieves administrative status of the volume.

that's literally the entire vibe. you pass the volume, it tells you the admin status. no cap, no drama, no side quests. 🌈


πŸ‘‘ RETURN πŸ‘‘

so it returns a uint64_t, and this is the Status of the specified volume β€” which, heads up, is a bit sensitive field πŸ‘€ like, treat it with care, okay?

the possible values are:

  • LSM_VOLUME_ADMIN_STATE_ENABLED β€” the volume is not explicitly disabled by the administrator. this is the normal state of a volume. the default. the main character state, honestly. ✨
  • LSM_VOLUME_ADMIN_STATE_DISABLED β€” the volume is explicitly disabled by the administrator, or via the method lsm_volume_disable. and bestie, when you see this one? > All block access will be rejected. πŸ’€ so like, everything's locked out. periodt.

February 2026 πŸŽ€ lsm_volume_admin_state_get πŸŽ€ lsm_volum...state_get(3)

and that's the whole page bestie!! thanks for reading my lil manpage, mwah πŸ’– go check your admin state, stay enabled, stay slay πŸ¦‹βœ¨

πŸ“¦ where this page comes from