Skip to content

New machine: the Disk stepper allows sizes the server rejects (below 4 GB or above 4096 GB) #204

Closed

Description

@nixfred

What happens

web/src/CreateMachine.tsx limits the Disk stepper with min={profile.minDiskSizeGb} and max={10_000} (line 265), but create() in omarchyd/machines.mjs (about lines 490-495) requires 4 to 4096 GB for a catalog cloud image or a manual ISO (20 for Omarchy, 64 for Windows).

  • Alpine: client minimum is 2 (SPECS.alpine), default 8, step 5. One click on "Less Disk" gives 3 GB.
  • Your own non-Windows ISO uses FALLBACK (minimum 1). Starting from the default 40 and pressing "Less Disk" repeatedly gives 35, 30, 25, 20, 15, 10, 5, 1 (ran the stepper arithmetic).
  • Any OS: "More Disk" can go to 10000 GB, the server allows 4096.

In each case "Create machine" stays enabled and the request fails with Disk size must be between 4 and 4096 GB. The Stepper never tells the user the real limits.

How to reproduce

New machine, pick Alpine, press "Less Disk" once (3 GB), "Create machine". Actual: error banner "Disk size must be between 4 and 4096 GB". Expected: the stepper stops at 4 GB.

Suggested fix

Make the client floors at least 4 GB (20 for Omarchy, 64 for Windows, as on the server) and cap the stepper at 4096.

Environment

Omarchy Server main (0786ba9, 0.9.50), Node 26.

Activity

  1. calledtoconstruct commented on Nov 22, 2026

    @calledtoconstruct
    Collaborator

    Working to resolve this.

    No open pull request references this issue, and no one has commented that they are working on it.

    #163, #653, #472, #797, #205, #206, #207, #654, #806, #798, #264, #258, #238, and #360 share storage, setup, and new machines with this and will land in one pull request.

    🤖 Generated with Grok 4.7

  2. calledtoconstruct commented on Nov 22, 2026

    @calledtoconstruct
    Collaborator

    Thanks @nixfred. The disk stepper stays inside the sizes the server accepts. This ships in #879.

    🤖 Generated with Grok 4.7

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions