this post was submitted on 07 Oct 2023
2 points (100.0% liked)

Linux Questions

2225 readers
2 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS
 

I've tried Apacer AS2280Q4 2TB and ADATA SWORDFISH 500 GB. Both report nvme nvme0: globally duplicate IDs for nsid 1 since Linux 5.19, if I attach more than one.

Only the first drive is seen by the system. Workaround so far has been to stay on 5.15, but that's not a viable long-term solution.

This error has been known for quite some time, and has been fixed downstream for specific distros and ssd models. Is there any chance the manufacturers will start to assign unique ID's to each drive, or mainline implements usable a universal workaround?

top 2 comments
sorted by: hot top controversial new old
[โ€“] michaelmrose@lemmy.world 1 points 2 years ago

Your nvme drives don't support providing proper device UUIDs instead it results in "0" which of course is the same on both. The actual fix is for your vendor to get their shit together which might mean updating to a new firmware version IF there is a fix. The next best thing would be for the kernel devs to specifically work around your broken model. Such workarounds will appear in new versions of kernels and may not be ported to older versions. See this thread on kernel.org https://bugzilla.kernel.org/show_bug.cgi?id=216049

If you are feeling very adventurous its possible to do this fix yourself in a kernel you build. It mostly entails figuring out how to build and install the kernel and pasting some text not learning c

https://unix.stackexchange.com/questions/711739/globally-duplicate-ids-for-nsid

[โ€“] possiblylinux127@lemmy.zip 1 points 2 years ago* (last edited 2 years ago)

I've never heard of a drive not working on linux.

Maybe its a platform limitation?