#Filesystems on 512gb nvme
9 messages · Page 1 of 1 (latest)
ext4 with lvm
That’s what I was thinking too
Would you mind sharing why
my partition scheme is like this:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 1G 0 part /boot
└─nvme0n1p2 259:2 0 930.5G 0 part
└─root 253:0 0 930.5G 0 crypt /
I have a 1 gb /boot partition for efistub/kernel, and a xfs rootfs inside of luks, if you need swap you can always enable and configure zram and it should work ootb without messing with partitions, if you're not going to use swap enable systemd-oomd but either way it helps
I don't use lvm, I think it's ugly
I’ll look into xfs, ty!
btrfs might be a better choice if you care about zstd compression and snapshots but I've had several issues with it, including the entire file system becoming garbled corrupted data at some point because of some awkward bug I somehow managed to achieve
I don't really consider it a really, really stable file system
on the other hand I've never had issues with xfs, it's as rock solid as ext4 is except it has 64-bit inodes, copy on write (reflink), and extended file attributes
I personally think of it as an upgrade to ext4 because there's almost no downside to picking xfs over ext4
you might wanna use lvm if you plan on shrinking the partition at some point since both ext4 and xfs don't directly support shrinking