this post was submitted on 10 Feb 2024
613 points (94.1% liked)

linuxmemes

21454 readers
1873 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 4 points 9 months ago* (last edited 9 months ago) (2 children)

    As another commentor said most Linux distros will do that for you.

    If you still aren't sure then the answer is generally: swap should be at least as big as you have RAM at least if you want to hibernate. If you don't want to hibernate then you can make it smaller but it might impact system performance when low on memory.

    For file systems they will often offer you LVM or ZFS or occasionally BTRFS as options. These all allow you to make system snapshots (like the concept of restore points in Windows). If you like the idea of that then say yes, otherwise you will get slightly better performance not using those systems. ZFS and BTRFS also have other uses like RAID-like functionality and detecting and possibly correcting data corruption - with only one drive these features are not as useful though.

    BCacheFS is new to the mainline kernel and does much the same as ZFS and BTRFS, when distros start offering this as a supported option it's probably a good idea to use this, kind of unfinished at the moment though.

    Edit: also if it asks if you want a separate /home generally you want to say no. Unless it's a btrfs subvolume or zfs dataset in which case say yes.

    [–] [email protected] 2 points 9 months ago (1 children)

    LVM has snapshot support 🤨? Is this a new thing?

    ZFS and BTRFS also have other uses like RAID-like functionality and detecting and possibly correcting data corruption - with only one drive these features are not as useful though.

    Yes they are. Regarding data integrity (bit rot or read/write errors) though. Regarding data backup, no.

    BCacheFS is new to the mainline kernel and does much the same as ZFS and BTRFS, when distros start offering this as a supported option it's probably a good idea to use this, kind of unfinished at the moment though.

    I think kernel support is planned for version 6.7... I think.

    [–] [email protected] 1 points 9 months ago (1 children)

    Yeah it's included in kernel 6.7. Still probably too new to really use as they are still working on certain features like erasure code/parity.

    Without another drive it can't rebuild data, so all it can do is detect corruption not correct it.

    [–] [email protected] 2 points 9 months ago* (last edited 9 months ago)

    Yeah, that is still too unsable in real world scenarios.

    Still, it's great that people are doing this from scratch, not just build on what Oracle throws at us. I do wish they address the RAID5/6 issue properly, not just throw it under the carpet like BTRFS. I did hear that they are working on fixing RAID5/6 in BTRFS, but I haven't looked at how far things are. I still use it with mdadm in the background for the array.

    [–] [email protected] 0 points 9 months ago (1 children)

    I would just stick to the defaults.

    [–] [email protected] 3 points 9 months ago

    Systems don't always give defaults. That's what the guy I am replying to is complaining about.