Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

add NVME SSD drive

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
vcba79
Posts: 10
Joined: 2021-04-28 12:43

add NVME SSD drive

#1 Post by vcba79 »

I just add a NVME SSD drive to my debian 10.9 but no drive info found
after examining 'dmesg' output. So I have to reinstall Debian 11 to
partition this drive.

Here is my question:
1. is nvme drive supported in 4.x kernel?
2. situation like this, is there a better way not to reinstall

Thanks,

mm3100
Posts: 337
Joined: 2020-10-21 21:39
Has thanked: 8 times
Been thanked: 14 times

Re: add NVME SSD drive

#2 Post by mm3100 »

Simplest solution would be to add backport to your sources, and install backported kernel 5.10

https://wiki.debian.org/Backports

That should hopefully detect your NVME. I had bad luck with those drives, first bought wrong type, since there are three, then when got correct type it was faulty and had filesystem failure every two weeks. Finally third one worked great.

User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

Re: add NVME SSD drive

#3 Post by ticojohn »

vcba79 wrote:I just add a NVME SSD drive to my debian 10.9 but no drive info found
after examining 'dmesg' output. So I have to reinstall Debian 11 to
partition this drive.

Here is my question:
1. is nvme drive supported in 4.x kernel?
2. situation like this, is there a better way not to reinstall

Thanks,
I've been using an NVME M.2 PCIe on my Intel Nuc for about 6 years. It has worked fine with Jessie, Buster and now Bullseye. I would think that the 4.x kernel should work as that was the kernel in Jessie and Buster. Perhaps there is some hardware or bios issue. Maybe a dumb question, but does the bios detect the drive?
I am not irrational, I'm just quantum probabilistic.

User avatar
cds60601
df -h | participant
df -h | participant
Posts: 719
Joined: 2017-11-25 05:58
Location: Florida
Has thanked: 133 times
Been thanked: 63 times

Re: add NVME SSD drive

#4 Post by cds60601 »

vcba79 wrote:I just add a NVME SSD drive to my debian 10.9 but no drive info found
after examining 'dmesg' output. So I have to reinstall Debian 11 to
partition this drive.

Here is my question:
1. is nvme drive supported in 4.x kernel?
2. situation like this, is there a better way not to reinstall

Thanks,
What does lsblk and sudo blkid show you?
Supercalifragilisticexpialidocious

vcba79
Posts: 10
Joined: 2021-04-28 12:43

Re: add NVME SSD drive

#5 Post by vcba79 »

ticojohn wrote:
vcba79 wrote:I just add a NVME SSD drive to my debian 10.9 but no drive info found
after examining 'dmesg' output. So I have to reinstall Debian 11 to
partition this drive.

Here is my question:
1. is nvme drive supported in 4.x kernel?
2. situation like this, is there a better way not to reinstall

Thanks,
I've been using an NVME M.2 PCIe on my Intel Nuc for about 6 years. It has worked fine with Jessie, Buster and now Bullseye. I would think that the 4.x kernel should work as that was the kernel in Jessie and Buster. Perhaps there is some hardware or bios issue. Maybe a dumb question, but does the bios detect the drive?
From your experience, I guess NVME supported in kernel long ago. Debian 11 installer can recognize it and partition it for use.
What about a running debian instance? I install NVME drive in 10.9 and I can not find NVME drive info in dmesg output.
So I have to reinstall Debian 11 to get it work. What package or command to install or run can partition newly installed
NVME drive. Hope experts can answer this question, so next case can smoothly configure new NVME drive for use.
Instead of reinstall whole system.

User avatar
cds60601
df -h | participant
df -h | participant
Posts: 719
Joined: 2017-11-25 05:58
Location: Florida
Has thanked: 133 times
Been thanked: 63 times

Re: add NVME SSD drive

#6 Post by cds60601 »

Before you reinstall - can you post what lsblk shows you with the nvme drive in the device?
Supercalifragilisticexpialidocious

vcba79
Posts: 10
Joined: 2021-04-28 12:43

Re: add NVME SSD drive

#7 Post by vcba79 »

cds60601 wrote:Before you reinstall - can you post what lsblk shows you with the nvme drive in the device?
I am sorry, It's already done last night. I got to get system up ASAP.

User avatar
cds60601
df -h | participant
df -h | participant
Posts: 719
Joined: 2017-11-25 05:58
Location: Florida
Has thanked: 133 times
Been thanked: 63 times

Re: add NVME SSD drive

#8 Post by cds60601 »

vcba79 wrote:
cds60601 wrote:Before you reinstall - can you post what lsblk shows you with the nvme drive in the device?
I am sorry, It's already done last night. I got to get system up ASAP.
Do you see the drive now?
Supercalifragilisticexpialidocious

vcba79
Posts: 10
Joined: 2021-04-28 12:43

Re: add NVME SSD drive

#9 Post by vcba79 »

cds60601 wrote:
vcba79 wrote:
cds60601 wrote:Before you reinstall - can you post what lsblk shows you with the nvme drive in the device?
I am sorry, It's already done last night. I got to get system up ASAP.
Do you see the drive now?
Yes, During reinstall Debian 11 RC2, installer can recognize NVME drive and partition it.

Thanks,

User avatar
cds60601
df -h | participant
df -h | participant
Posts: 719
Joined: 2017-11-25 05:58
Location: Florida
Has thanked: 133 times
Been thanked: 63 times

Re: add NVME SSD drive

#10 Post by cds60601 »

vcba79 wrote: Yes, During reinstall Debian 11 RC2, installer can recognize NVME drive and partition it.

Thanks,
Ok - keep some things in mind should you need to install more drives etc.
Once you install the drive, use the lsblk command. This will show you if the drive is being seen.
Chances are, your drive was there, but needed to be partitioned and mounted.
Of course (and I'm sure you know this), that can be done manually if you see the drive with lsblk.
Supercalifragilisticexpialidocious

vcba79
Posts: 10
Joined: 2021-04-28 12:43

Re: add NVME SSD drive

#11 Post by vcba79 »

cds60601 wrote:
vcba79 wrote: Yes, During reinstall Debian 11 RC2, installer can recognize NVME drive and partition it.

Thanks,
Ok - keep some things in mind should you need to install more drives etc.
Once you install the drive, use the lsblk command. This will show you if the drive is being seen.
Chances are, your drive was there, but needed to be partitioned and mounted.
Of course (and I'm sure you know this), that can be done manually if you see the drive with lsblk.
This is useful. lsblk output is much beter then looking for drive in dmesg output.
I only know dmesg until now.

Thank you very much.

Post Reply