2

I deleted all the namespaces (2 were present) on a samsung drive (SSD). Now the drive is not being recognized by the system. How do I recover the SSD?

3
  • 2
    I have never heard of namespaces on storage devices. Do you mean partitions?
    – wurtel
    Jan 24, 2019 at 8:17
  • @wurtel: Yes, they are basically partitions Jan 24, 2019 at 17:51
  • 1
    @wurtel Namespaces are a special feature of NVMe drives. Each namespace is treated essentially as a separate drive by Linux, and can have its own partition table and everything. May 4, 2021 at 5:09

1 Answer 1

1

You should still be able to see nvme0 in /dev -- only the -nX entries should be gone. Try sudo nvme create-ns -s 100000 -b 4096 /dev/nvme0, then sudo nvme attach -n 1 /dev/nvme0, and see if that gets things working again.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .