NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

attaching new nvme* (AWS EBS)



Hello,

When using AWS EC2, I can attach a new EBS volume to
an instance at runtime.  EBS volumes use nvme(4), but
I can't seem to get a NetBSD instance (9.x or 10.99.2)
to discover the new disk without rebooting.

# pcictl pci0 list 
000:00:0: Intel 82441FX (PMC) PCI and Memory Controller (host bridge)
000:01:0: Intel 82371SB (PIIX3) PCI-ISA Bridge (ISA bridge)
000:01:3: Intel 82371AB (PIIX4) Power Management Controller (miscellaneous prehistoric, revision 0x08)
000:03:0: Amazon.com, Inc. product 1111 (VGA display)
000:04:0: Amazon.com, Inc. NVMe SSD (Flash mass storage, NVMe I/O)
000:05:0: Amazon.com, Inc. Elastic Network Adapter (ethernet network)
000:31:0: Amazon.com, Inc. NVMe SSD (Flash mass storage, NVMe I/O)

The first NVMe shown here is the root disk, the second
one is the volume I attached after the system booted
up.

# nvmectl identify nvme0

provides me with the correct information, but

# nvmectl identify nvme1
nvmectl: could not open /dev/nvme1: Device not configured

How do I get the new nvme to be discovered without
rebooting?

Thanks in advance!
-Jan


Home | Main Index | Thread Index | Old Index