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?
-
2I have never heard of namespaces on storage devices. Do you mean partitions?– wurtelJan 24, 2019 at 8:17
-
@wurtel: Yes, they are basically partitions– Kailash MallikarjunJan 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.– Miles B HuffMay 4, 2021 at 5:09
Add a comment
|
1 Answer
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.