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.

2 points

I’ve not seen this particular issue, but BTRFS is a turd on NVME. It does about 2/3 to 1/2 the IOPS of EXT4 or XFS on several PCIe 3.0 and 4.0 drives I’ve tested on several modern AMD and Intel systems. XFS actually has the upper-hand on NVME performance over EXT4, but not by much.

permalink
report
reply
1 point

Just wanted to report back. I’ve nuked the whole install, didn’t partition this time. Set it up on xfs and I have zero wake after suspend issues now. It’s been two days since I did that and still haven’t had a single issue. Thank you for suggesting xfs. Might sound dumb, but never knew about it until you mentioned it. Lol

permalink
report
parent
reply
1 point

Well, thank you. That’s reassuring. Is xfs available on all Linux distros? Also, does it support snapshots like btrfs? Also

BTRFS is a turd on NVME

😂

permalink
report
parent
reply
1 point

Yep, XFS is pretty much universally supported and in fact even the default filesystem for Fedora Server and RHEL. No snapshots, unfortunately. XFS’s “claim to fame” is scalability, performance, and stability.

permalink
report
parent
reply
1 point

Thank you for that. Then what would one use to back up in xfs

permalink
report
parent
reply
2 points

This sounds suspiciously like a hardware issue to me. What model of computer is it and what model is the old SSD? You may need a firmware update on either the laptop or the SSD.

permalink
report
reply
2 points

I have a dell Inspiron 7573 2 in 1. 4k screen with hybrid graphics Intel/Nvidia mx130 My laptop doesn’t support LVFM on Linux. So, for the SSD I had to get into Windows and update, but it doesn’t matter since I’ve replaced it with this one. Bios is latest since I’m able to update through a thumb drive. It’s the new nvme drive that doesn’t like btrfs. It’s working flawlessly now on ext4. Nvidia installed and all. Zero issue. I’ll be missing out on snapshots, but oh well

permalink
report
parent
reply
2 points
*

What did you use to manage snapshots? For e.g. timeshift enables quotas and that can cause freezes when deleting old snapshots.

permalink
report
reply
2 points

I used timeshift. I don’t remember if the freeze happened before or after I used it. The whole point of me using btrfs is to use timeshift and snapshots. I was never able to figure out snapper

permalink
report
parent
reply
2 points

Yeah it’s disappointing that such an annoying bug is still present and quotas are enabled without warnings. You could continue using Timeshift, the only feature quotas provide is the individual disk usage of the snapshots.

Anyone looking for the solution: https://www.suse.com/support/kb/doc/?id=000020696

permalink
report
parent
reply
1 point

So you really think disabling quotas would fix the freezing issue? Man, I’d love that. Btrfs/timeshift/snapshots JUST saved my ass on the desktop where an update got fucked in the middle of a kernel update and there was nothing to boot into after that. I have snapshots added to grub and I just rolled back and saved my fucking system. Now I REALLY want to try that quotas option if you think it’ll fix the issue

permalink
report
parent
reply
2 points

Damn, where were you before I nuked the whole system and installed ext4? I mean, I can still try it since I’d only need to reinstall the system onto the root partition after changing it to btrfs. But my system now works flawlessly with no issue. Also, I hate anaconda with a passion. It never works when I manually partition and then reinstall the system on the root partition. It always creates failure. I don’t know why fedora uses this ass installer. Just fucking use calameres and call it a day

permalink
report
parent
reply
2 points

I use NixOS with single-partition btrfs on both my laptop and my desktop and have never had this happen. Curious…

permalink
report
reply
1 point

Try installing timeshift and take some snapshots

permalink
report
parent
reply
4 points

I use btrfs and nvme on a Dell XPS 13 and I’ve had no issues, so it’s not a universal problem.

permalink
report
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