Skip to content

How to determine to which interface an SSD is connected?

Removed before it was archived.

Edited 16 Apr 2021. We only hold this version.

1 points7 comments
Open on Reddit
About this post
Posted
Archived
Deleted on
Edited
Score
1 · 100% up
Kind
Text
ID
ms6php

7 comments

You don't need to clear the memory cells. Clearing the memory cells is for preventing data recovery, it's completely overkill for anything else.

In this case, you just want to reformat the drive by creating a new partition table. (e.g. by using the g command in fdisk)

1 points

The wiki mentions flash memory cache artifacts and I don't want that so it's probably better to clear the memory cells

0 points

Those are nothing to worry about. All that means is that it's theoretically possible to recover some of the original data.

The cache artifacts are caused by the layers of abstraction that modern SSDs provide - when you delete or write to an SSD, it just copies over to other cells and makes the modification as it moves the data, then the old cell is marked as empty. The controller is smart enough to only return the data it's supposed to be storing, and any other data will be treated as junk and (eventually) overwritten.

You shouldn't be worrying about any of this. The SSD's controller handles it all for you.

2 points

If it's brand new, there is no need to clean the memory cells. Just create a new partition table and follow the installation guide.

1 points

For SSDs, as a best effort to minimize flash memory cache artifacts, consider performing a SSD memory cell clearing prior to instructions below.

It's from the wiki. Not sure what this means but flash memory cache artifacts don't sound great

1 points

Only if your r/w performance is low. Since it's new, and probably not near full capacity, there is no real gain in doing so.

If you really want to do, lspci can give you a hint on what devices are connected. Probably if there is only sata controllers on the output, chances are your ssd is connected to one of them.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.