Drive support #6070

Closed
opened 2025-12-29 19:36:20 +01:00 by adam · 5 comments
Owner

Originally created by @QuentinN42 on GitHub (Feb 9, 2022).

NetBox version

v3.1.6

Feature type

Data model extension

Proposed functionality

Create a new component type in each device : drive slots.

We can now create some drives and assign them to the device's slot.

Drive can have the following props:

  • SSD /HDD
  • size
  • speed
  • serial number

Use case

When we have a failed drive (too many dead sectors or undetected), we want to se where the drive is (slot number in the storage shelf).

This feature enables operators to identify drive location more quickly without resorting to blinking leds, if this feature doesn't exist or is unreliable.

Database changes

  • Drives table.
  • Drive slot components.

External dependencies

None

Originally created by @QuentinN42 on GitHub (Feb 9, 2022). ### NetBox version v3.1.6 ### Feature type Data model extension ### Proposed functionality Create a new component type in each device : drive slots. We can now create some drives and assign them to the device's slot. Drive can have the following props: - SSD /HDD - size - speed - serial number ### Use case When we have a failed drive (too many dead sectors or undetected), we want to se where the drive is (slot number in the storage shelf). This feature enables operators to identify drive location more quickly without resorting to blinking leds, if this feature doesn't exist or is unreliable. ### Database changes - Drives table. - Drive slot components. ### External dependencies None
adam added the type: featurepending closurestatus: under review labels 2025-12-29 19:36:20 +01:00
adam closed this issue 2025-12-29 19:36:20 +01:00
Author
Owner

@PieterL75 commented on GitHub (Feb 14, 2022):

I create an Inventory pre Disk.. The Label is the BayID and the name is the model/type/... of the disk
image

@PieterL75 commented on GitHub (Feb 14, 2022): I create an Inventory pre Disk.. The Label is the BayID and the name is the model/type/... of the disk ![image](https://user-images.githubusercontent.com/74899468/153843733-6ecd5f5f-ad91-48e2-bb48-e2aaa6171333.png)
Author
Owner

@github-actions[bot] commented on GitHub (May 30, 2022):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@github-actions[bot] commented on GitHub (May 30, 2022): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@dgsardina commented on GitHub (Jun 27, 2022):

I am trying to model a disk array with N drive slots to know how many slots are used and by what specific drive. I believe currently the best way to model would be to use the module and module types, which I believe its a bit far fetched. Am I missing something?

@dgsardina commented on GitHub (Jun 27, 2022): I am trying to model a disk array with N drive slots to know how many slots are used and by what specific drive. I believe currently the best way to model would be to use the module and module types, which I believe its a bit far fetched. Am I missing something?
Author
Owner

@jeremystretch commented on GitHub (Jul 26, 2022):

The recommended approach is to utilize inventory items as noted by @PieterL75 above.

@jeremystretch commented on GitHub (Jul 26, 2022): The recommended approach is to utilize inventory items as noted by @PieterL75 above.
Author
Owner

@dgsardina commented on GitHub (Jul 27, 2022):

The recommended approach is to utilize inventory items as noted by @PieterL75 above.

Inventory Items will not make it for a disk array. You will not be able to see how many slots are empty or occupied with disks. With modules at least it is possible.

@dgsardina commented on GitHub (Jul 27, 2022): > The recommended approach is to utilize inventory items as noted by @PieterL75 above. Inventory Items will not make it for a disk array. You will not be able to see how many slots are empty or occupied with disks. With modules at least it is possible.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6070