Hi I didn’t found answer on my simple question, Do I need to perform some changes to secure use my SSD on ext4 file system(i know about btrfs but i found that it’s not stbale)? On windows it automatically do trim, not using defragmentation, and else. On ubuntu i found that it do automatically. So after installation i need to do some changes or not? I can install and use without any worries?. Thank you very much
Hi and welcome to the forum
What info do you see from the mount command of the ext4 partitions (I use btrfs for many years with SSD’s and find it stable ).
The scheduler should be set to deadline automatically, check via (for example sda);
cat /sys/block/sda/queue/scheduler noop [deadline] cfq
For trim, check the systemd service timer status;
systemctl status fstrim.timer
Hi, thank you for replying
I’m newbie in linux, i dont know what do you mean “mount command info”. I dont use linux right now, i want to install it, because i dont have much ram only 4gb .
noop [deadline] cfq, what does it mean? it means that it is enabled?
So, you suggest choose brtfs?
P.S. Right now i’m using virtual box on another machine On this week i will install opensuse and i will check these commands. Or i can check it via live cd ? On virtualbox machine systemmctl (Active: inactive(dead)). On my machine where SSD it will be active automatically?
If you open a terminal session, then type in the command mount, it will list all the hard drive mount points and to the right all the options used, run in your vm to see this.
You should be fine with 4GB of ram, there are some other tweaks that can be done to ensure the system will use this before it starts looking at your swap partition (extra ram on your disk).
For SSD’s deadline scheduler is the preferred setting these days.
Use what every your comfortable with, there are some additional considerations with snapper configuration so your disk is kept clean from too many snapshots.
Yes, it all needs to be on real hardware, not a VM to see those scheduler options.
If your not sure about anything during the install, make a note and start a new thread, there are plenty of users here that will help you
I thought that the deadline was set by default when the system detected an ssd, could this be a bug?
Concerning fstrim.timer, I know there’s a service called btrfsmanteinance.refresh that does the fstrim and a lot more things related to btrfs but is disabled, why is not enabled by default?
EDIT: btrfsmanteinance.refresh only updates the cron jobs, and I see all the btrfs cron jobs are set correctly, just one question, why is fstrim.timer enabled fstrim is also set as a cron job by btrfsmanteinance?
Yes your correct for btrfs, however the OP is wanting to use ext4, hence they need to check and compare
I use ext4 on a SSD and for what it is worth deadline is set here.Don’t think I set it was going to later and never got around to it. Checking it is the method used