Skip to content

Conversation

@mariash
Copy link
Member

@mariash mariash commented Dec 15, 2025

This PR introduces agent-side handling for attach and detach lifecycle operations for dynamically provisioned disks. It adds 2 agent actions:

  • add_dynamic_disk - resolves dynamic disk path for provided disk hint and creates a symlink /var/vcap/data/dynamic_disks/<diskID>
  • remove_dynamic_disk - removes the symlink /var/vcap/data/dynamic_disks/<diskID>

Please refer to the corresponding Director PR - cloudfoundry/bosh#2652

@mariash mariash changed the title Add dynamic disks Add support for dynamic disks Dec 15, 2025
It will resolve disk path based on hint and create symlink in data directory
It will delete the symlink to real device path in
/var/vcap/data/dynamic_disks
@rkoster
Copy link
Contributor

rkoster commented Dec 18, 2025

As discussed during the FI working group meeting, a change like this especially if it is gonna be used by something like diego needs an RFC. For more information about the RFC process please look here: https://github.com/cloudfoundry/community

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants