You are not logged in.
I recently purchased a Dell XPS13 and am installing arch. As I won't be using windows at all I intended to completely wipe the SSD.
An ls on /dev/nvme* outputs:
/dev/nvme0
/dev/nvme0%
/dev/nvme0n1
I attempted to perform a dd on "nvme0", though it wouldnt let me so I performed a dd on "nvme0n1":
dd if=/dev/zero of=/dev/nvme0n1
Now when I lsblk I get the following listed:
nvme0n1 953.9G
An ls on /dev/nvme* outputs:
/dev/nvme0
/dev/nvme0%
/dev/nvme0n1
So whats "/dev/nvme0" "/dev/nvme0%" got to do with "/dev/nvme01" ?
And why do they exist?
And how can I get rid of them?
Tom
Last edited by anthillsocial (2015-11-14 22:25:03)
Offline
This link provide a bit of a description:
https://communities.intel.com/community … e-not-scsi
Seems like /dev/nvme01 is the block level device. Not sure what the others are though...
Offline
NVMe protocol seems to follow this naming scheme :
Controller level : nvme0
Device level : nvme0n1
Partition level : nvme0n1p1
That said, I can't say anything concerning /dev/nvme0% ...
Last edited by mkey (2015-11-14 21:57:43)
Offline
Thanks for that - yes the % is a little confusing!
Offline
Just wanted to mention that using dd to "wipe" an SSD is a bad idea, since you are not really wiping it, but filling it with zeros. When you are done, the controller on the SSD will not see all those zeros as empty, but as data you want to keep.
What you really want, is deallocate it completely. You wanna say to the controller that there is no block on the whole SSD needs to be kept.
For SATA-SSDs, this could be done by issuing a secure erase.
I don't know how to do a secure erase for NVMe. There is an NVMe format command. Not sure if it is able to do it.
Last edited by spheenik (2015-11-28 16:58:17)
Offline