-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
local storageEverything related to the local storage feature (a.k.a. local disks)Everything related to the local storage feature (a.k.a. local disks)
Milestone
Description
From 11/10/2025 storage huddle:
- Naming: new disk type = "local"
- avoid the mention of "ephemeral" because it's designed to persist (see bullet below)
- consider renaming the crucible-backed disk to type =
"replicated""distributed".
- Data persistence: Local disks are kept around and remain intact by default. They go away only when explicitly deleted by the user.
Other notes:
- Number of disks: Hypervisor team is working to expand the max number of slots to 12 (1 for initial boot disk which must be a crucible volume, 1 reserved for cloud-init, up to 10 to use all the physical disks available in a sled). In other words:
- New VM: Besides the boot disk, user can specify up to 10 local + distributed disks.
- Existing VM: User can attach it to max 11 disks of any combination, and designate any disk as the boot disk (in case user has made a local disk bootable afterwards)
- Max disk size: Still TBD, SN861's raw disk space is 6.4 TB which is ~5.8 TiB. We'll see what comes out of the inventory table but we may want a client-side validation (similar to max vcpu/memory).
- Snapshot: This is out of scope in r18. Local disk is not allowed for snapshot creation initially.
- Other implied processing logic and UX:
- When creating a VM, user cannot create/attach to local disks only. The boot disk has to be a crucible volume.
- User can see the disk type (virtual disks vs local disks) via some new attribute added to disk metadata.
Local disks cannot be set as the boot disk in an existing VM.(dropped based on feedback)- All disks attached to a VM are detached when deleting a VM.
- User can create a local disk on its own (i.e. outside the context of create VM). The only parameter to specify is disk size.
- Local disks located in different sleds cannot be attached to the same VM.
- We'll probably punt on the option of auto-deleting local disks as part of a VM delete operation. If we decide to implement this, it won't be the default setting (at least in the beginning, until we have more customer feedback) and the same design can be applied to distributed disks as well.
Sub-issues to be added.
https://rfd.shared.oxide.computer/rfd/0584
https://rfd.shared.oxide.computer/rfd/0590
Metadata
Metadata
Assignees
Labels
local storageEverything related to the local storage feature (a.k.a. local disks)Everything related to the local storage feature (a.k.a. local disks)