[OpenIndiana-discuss] how to swap nvme drives
Tony Brian Albers
tba at kb.dk
Thu Feb 11 06:34:23 UTC 2021
Hi,
I'd try something like:
devfsadm -C -v -c disk
and then
devfsadm -v -c disk
I'm not sure whether you should use '-c disk'. It might not work on nvme
drives -but it should IMO.
That should clean up eventual remains of the failed disk in /dev and
create new device links for the new disk.
HTH
/tony
On 10/02/2021 21:52, jason matthews wrote:
>
>
> I had an NVMe drive fail. I put a new drive in, and it assumed "Slot 11"
> from the view of cfgadm. The new drive shows up as connected/configured
> in cfgadm. However, no block device shows up in iostat. The system is
> on joyent_20200910T013122Z.
>
> What additional secret sauce needs to be applied for nvme drives to show
> up as disks?
>
> nvmeadm list doesnt display the device either...
>
> root at dba028:/root# nvmeadm list
> nvme8: model: INTEL SSDPE2KE016T8, serial: PHLN0042004N1P6AGN, FW rev:
> VDV10152, NVMe v1.2
> nvme8/5cd2e4cb7d1d0100 (c1t5CD2E4CB7D1D0100d0): Size = 1526185 MB,
> Capacity = 1526185 MB, Used = 1526185 MB
> nvme9: model: INTEL SSDPE2KE016T8, serial: PHLN0130010Z1P6AGN, FW rev:
> VDV10152, NVMe v1.2
> nvme9/5cd2e41347390100 (c2t5CD2E41347390100d0): Size = 1526185 MB,
> Capacity = 1526185 MB, Used = 1526185 MB
> nvme2: model: INTEL SSDPE2KE016T8, serial: PHLN0132007M1P6AGN, FW rev:
> VDV10152, NVMe v1.2
> nvme2/5cd2e4e8d9390100 (c3t5CD2E4E8D9390100d0): Size = 1526185 MB,
> Capacity = 1526185 MB, Used = 1526185 MB
> nvme1: model: INTEL SSDPE2KE016T8, serial: PHLN013101271P6AGN, FW rev:
> VDV10152, NVMe v1.2
> nvme1/5cd2e4abd9390100 (c4t5CD2E4ABD9390100d0): Size = 1526185 MB,
> Capacity = 1526185 MB, Used = 1526185 MB
> nvme6: model: INTEL SSDPE2KE016T8, serial: PHLN013001151P6AGN, FW rev:
> VDV10152, NVMe v1.2
> nvme6/5cd2e41947390100 (c5t5CD2E41947390100d0): Size = 1526185 MB,
> Capacity = 1526185 MB, Used = 1526185 MB
> nvme0: model: INTEL SSDPE2KE016T8, serial: PHLN013100AZ1P6AGN, FW rev:
> VDV10152, NVMe v1.2
> nvme0/5cd2e4c264390100 (c6t5CD2E4C264390100d0): Size = 1526185 MB,
> Capacity = 1526185 MB, Used = 1526185 MB
> nvme4: model: INTEL SSDPE2KE016T8, serial: PHLN013300641P6AGN, FW rev:
> VDV10152, NVMe v1.2
> nvme4/5cd2e47fea390100 (c7t5CD2E47FEA390100d0): Size = 1526185 MB,
> Capacity = 1526185 MB, Used = 1526185 MB
> nvme5: model: INTEL SSDPE2KE016T8, serial: PHLN013300S91P6AGN, FW rev:
> VDV10152, NVMe v1.2
> nvme5/5cd2e485ea390100 (c8t5CD2E485EA390100d0): Size = 1526185 MB,
> Capacity = 1526185 MB, Used = 1526185 MB
> nvme7: model: INTEL SSDPE2KE076T8, serial: PHLN007300CD7P6DGN, FW rev:
> VDV10152, NVMe v1.2
> nvme7/5cd2e409c9250100 (c9t5CD2E409C9250100d0): Size = 7325650 MB,
> Capacity = 7325650 MB, Used = 7325650 MB
>
>
> root at dba028:/root# cfgadm -al
> Ap_Id Type Receptacle Occupant Condition
> Slot9 nvme/hp connected configured ok
> Slot10 nvme/hp connected configured ok
> Slot11 nvme/hp connected configured ok
> pcie238 nvme/hp connected configured ok
> pcieb0:pcie238 nvme/hp connected configured ok
> pcieb1:pcie238 nvme/hp connected configured ok
> pcieb13:Slot10 nvme/hp connected configured ok
> pcieb14:Slot11 nvme/hp connected configured ok
> pcieb17:pcie238 nvme/hp connected configured ok
> pcieb23.pcie0 nvme/hp connected configured ok
>
>
>
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
--
Tony Albers - Systems Architect - IT Development Royal Danish Library,
Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142
More information about the openindiana-discuss
mailing list