Allow Virtual Disk size to be smaller than 1GB #10026

Closed
opened 2025-12-29 21:25:54 +01:00 by adam · 0 comments
Owner

Originally created by @arthanson on GitHub (Jul 31, 2024).

Originally assigned to: @arthanson on GitHub.

NetBox version

v4.0.8

Feature type

Change to existing functionality

Proposed functionality

I would like to be able to create virtual disks with a size that is smaller than 1GB. Ideally, disk sizes could specified in MB (like memory) or decimal values could be allowed. This will match #14692 but for Virtual Disk

Use case

We operate a lot of small VMs that are just PBX appliances. These only need disks of a few MB in size. At the moment we can not model these VMs properly since the smallest disk size possible is 1GB.

Database changes

If the disk size field is changed to represent MB no change to the database is necessary, but existing data would have to be converted during migration. Alternatively, the field could be converted to a decimal field (like vCPUs).

External dependencies

No response

Originally created by @arthanson on GitHub (Jul 31, 2024). Originally assigned to: @arthanson on GitHub. ### NetBox version v4.0.8 ### Feature type Change to existing functionality ### Proposed functionality I would like to be able to create virtual disks with a size that is smaller than 1GB. Ideally, disk sizes could specified in MB (like memory) or decimal values could be allowed. This will match #14692 but for Virtual Disk ### Use case We operate a lot of small VMs that are just PBX appliances. These only need disks of a few MB in size. At the moment we can not model these VMs properly since the smallest disk size possible is 1GB. ### Database changes If the disk size field is changed to represent MB no change to the database is necessary, but existing data would have to be converted during migration. Alternatively, the field could be converted to a decimal field (like vCPUs). ### External dependencies _No response_
adam added the status: acceptedtype: featurecomplexity: low labels 2025-12-29 21:25:54 +01:00
adam closed this issue 2025-12-29 21:25:55 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10026