Skip to content

Assign specific app volumes to dedicated storage #7665

Closed
3 of 3 issues completed
Closed

Description

@DavidePrincipi

NS8 primary storage works best with drives offering fast random access. However, some data-intensive applications (e.g. Samba, Mail, Nextcloud, backup destinations) require large archive space. To optimize resource usage, specific application volumes can be mounted on separate, large-capacity drives instead of consuming the primary storage.

Proposed solution

  • Developer: Allow module developers to define which volumes can use additional disks.
  • Sysadmin: Enable and manage additional disks on cluster nodes for application use.
  • Sysadmin: During app install, restore, or clone, allow selection of the node’s additional disk to host the app’s volume.

Alternative solution

  • Support additional filesystem mount points, making them available for applications.
  • Allow module developers to define a volume role. Matching between available mount points and volumes can be automatic or user-supervised.
  • Define data migration policy: existing data may be preserved, migrated, or trigger a fatal error, depending on the developer’s decision.

See also

Activity

  1. added this to the NethServer 8.7 milestone on Oct 1, 2025
  2. moved this from ToDo to In Progress in NethServeron Nov 7, 2025
  3. DavidePrincipi commented on Nov 14, 2025

    @DavidePrincipi
    MemberAuthor

    In Testing Core 3.14.0-dev.3

    Test case

    • Install NS8 with core from Testing
    • Mount one or more additional disks
    • Configure volume assignments in /etc/nethserver/volumes.conf according to https://nethserver.github.io/ns8-core/modules/volumes/ guidelines (direct edit, or by volumectl helper)
    • Check that application volumes are created and data is correctly written to additional disks in the following scenarios:
      • New app installation
      • Restore from backup
      • Clone and Move
  4. moved this from In Progress to Testing in NethServeron Nov 14, 2025
  5. mrmarkuz commented on Nov 18, 2025

    @mrmarkuz
    Member

    Test case verified

    • Application volumes are correctly created and written to additional disks

    Extra test case "remove-module" verified

    • Volumes on additional disks are correctly removed
  6. added
    verifiedAll test cases were verified successfully
    on Nov 18, 2025
  7. removed
    testingPackages are available from testing repositories
    on Nov 18, 2025
  8. moved this from Testing to Verified in NethServeron Nov 18, 2025
  9. removed their assignment
    on Nov 18, 2025
  10. DavidePrincipi commented on Nov 18, 2025

    @DavidePrincipi
    MemberAuthor
  11. moved this from Verified to Done in NethServeron Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    milestone goal 👑This describes an announced milestone goalverifiedAll test cases were verified successfully

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions