spacedrive/.tasks/VOL-001-volume-physicalclass-and-location-logicalclass.md
2025-10-14 20:39:56 -07:00

1.0 KiB

id, title, status, assignee, parent, priority, tags, whitepaper
id title status assignee parent priority tags whitepaper
VOL-001 Volume PhysicalClass and Location LogicalClass To Do james VOL-000 High
volume
storage-tiering
classification
Section 4.8

Description

Implement the PhysicalClass for Volumes and LogicalClass for Locations. This is the foundation of the intelligent storage tiering system, allowing Spacedrive to understand the physical characteristics of storage devices and the user's intent for the data stored on them.

Implementation Steps

  1. Define the PhysicalClass enum (e.g., SSD, HDD, Cloud) for Volumes.
  2. Define the LogicalClass enum (e.g., Hot, Warm, Cold) for Locations.
  3. Implement the logic to associate a PhysicalClass with each Volume.
  4. Implement the logic to allow users to assign a LogicalClass to each Location.

Acceptance Criteria

  • The PhysicalClass and LogicalClass enums are defined.
  • The system can correctly identify the PhysicalClass of a Volume.
  • A user can assign a LogicalClass to a Location.