So, recently, I bought an nvme ssd to replace the very old ssd I have on my laptop. I don’t know what the non-nvme is called. It shows as “sda” on the system. Anyway, doubled the storage. The new drive is an nvme WD black SN770. I have the same one running just fine on an optiplex dell mini running endeavourOS. Zero issues. I like to separate home and root partitions and have btrfs on root for snapshots. So, thinking it would behave the same on the laptop, I put the new drive in the laptop and did the same partitioning. Installed Fedora this time, since I like gnome on the laptop and plasma on desktop. Everything went fine. Laptop was responsive and all until I was done and closed the lid. Came back a while later to use it again, black screen and nothing revives it. No key combo or anything works except holding down the power button to shut it off. This kept happening every single time I closed and opened the lid after a while. Thought it might be the distro/DE. Removed fedora and slapped endeavourOS with plasma on it. Same shit happens now. Black screen every time I open the lid after a suspend. So, I decided fuck it, let me juse use ext4 since it happens on every distro. Removed btrfs and used ext4 on all partions, and now this issue never happens. Not even once. Is this a known issue with btrfs and nvmes? Do they not like each other? Just wanted to share this little dilemma I had to deal with the last couple of days.

5 points

I’ve been using a btrfs and nvme combo for almost 2 years now without any issues like that, the main difference being that I have a relatively large swap partition and am on arch linux’ zen kernel

permalink
report
reply
1 point

On a laptop? I have, too, but on a desktop. This issue only happens on the laptop

permalink
report
parent
reply
3 points

sda

Check your motherboard docs - depending on how things are set up, your m.2 slot might be running in SATA mode. I didn’t think the sn770 supported SATA mode, but worth checking - if it is you are massively capping your performance from the drive

permalink
report
reply
1 point

Sda was the old drive that I already removed. If has a lot of cycles and it is about to die pretty soon. The new one is nvme and shows as nvme in the system. Not sure where to change those things from sata to whatever works.

permalink
report
parent
reply
2 points

Oh, sorry, I misread your post - I thought you ment that the NVMe device was showing up as /dev/sda

permalink
report
parent
reply
1 point

No worries.

permalink
report
parent
reply
8 points

Can confirm that btrfs on nvme with sleep/suspend has been working fine for me on my Framework laptop (haven’t tested hibernate, though).

permalink
report
reply
2 points

I think it starts acting up when there is nvidia in the mix. I don’t think framework has nvidia, does it?

permalink
report
parent
reply
3 points

Might this just be an issue of your distro (or version) that does not hibernate well with btrfs? I know my Ubuntu 22.04 LTS fails to wake up from hibernation on btrfs right now. Coincidentally, also on an NVME.

permalink
report
reply
1 point

Interesting. Mine sometimes fails to wake up with ZFS. I wonder if automatic snapshots are the culprit.

permalink
report
parent
reply
3 points
*

I highly doubt it’s a distro issue. I’ve tried both endeavourOS and fedora. Two totally different distro distros with two different DEs. Literally the same exact thing. I honestly suggest that you back up your system and switch from btrfs to ext4 and see if that works. Just to investigate.

permalink
report
parent
reply
7 points

I’m surprised this works at all check out Suspend and Suspend on Nvidia

permalink
report
reply
3 points

It has been working flawlessly on my desktop. That one has all Intel, though. Also, now on ext4, I have zero issues and this laptop has Nvidia. So crazy.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 6.9K

    Monthly active users

  • 6.6K

    Posts

  • 180K

    Comments