You are not logged in.

#1 2015-11-12 15:58:31

anthillsocial
Member
Registered: 2013-02-18
Posts: 129

[SOLVED] nvme SSD cant wipe "/dev/nvme0" "/dev/nvme0%" "/dev/nvme01"

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

#2 2015-11-12 16:45:51

anthillsocial
Member
Registered: 2013-02-18
Posts: 129

Re: [SOLVED] nvme SSD cant wipe "/dev/nvme0" "/dev/nvme0%" "/dev/nvme01"

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

#3 2015-11-14 21:57:10

mkey
Member
Registered: 2015-02-09
Posts: 38

Re: [SOLVED] nvme SSD cant wipe "/dev/nvme0" "/dev/nvme0%" "/dev/nvme01"

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

#4 2015-11-14 22:24:45

anthillsocial
Member
Registered: 2013-02-18
Posts: 129

Re: [SOLVED] nvme SSD cant wipe "/dev/nvme0" "/dev/nvme0%" "/dev/nvme01"

Thanks for that - yes the % is a little confusing!

Offline

#5 2015-11-28 16:57:59

spheenik
Member
Registered: 2015-11-08
Posts: 4

Re: [SOLVED] nvme SSD cant wipe "/dev/nvme0" "/dev/nvme0%" "/dev/nvme01"

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

Board footer

Powered by FluxBB