Bug 247676 - nvme not detected when hot-adding new ebs to aws instance
Summary: nvme not detected when hot-adding new ebs to aws instance
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.1-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-01 03:47 UTC by Vincent Milum Jr
Modified: 2023-07-29 02:39 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Milum Jr 2020-07-01 03:47:43 UTC
On AWS, when hot adding an EBS volume to an EC2 instance, FreeBSD doesn't auto-detect the hot-add event.

Manually running "devctl rescan pci0" will detect the newly added device.

Rebooting the instance (which also forces a pci rescan at boot) will also work.


12.1-RELEASE-p6 GENERIC  amd64

FreeBSD 12.1-RELEASE-amd64-f5af2713-6d84-41f0-95ea-2eaee78f2af4-ami-0de268ac2498ba33d.4 - ami-05c3afd6554d42483

FreeBSD/amd64 releng/12.1@354233

Root Device Type: ebs Virtualization type: hvm

t3.small
Comment 1 dgmorris@earthlink.net 2023-02-19 18:10:01 UTC
I'm not sure if this was ever fixed for 12.1 -- but it is fixed in 13 at least by https://reviews.freebsd.org/D21948.