On 21 Apr 2022 at 8:49, Richard Shaw wrote:
From: Richard Shaw <hobbes1069@xxxxxxxxx>
Date sent: Thu, 21 Apr 2022 08:49:41 -0500
Subject: Re: Upgraded system from regular SATA disk to SDD disk. Anything need
to get best?
To: mikes@xxxxxxxx,
Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
Send reply to: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
>
> On Thu, Apr 21, 2022 at 8:41 AM Michael D. Setzer II via users
> <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> I had a Fedora 34 machine with a regular 1TB hard disk.
> Imaged it to a 1TB SDD disk and then removed regular
> disk.
> Did a reinstall of the kernel files, since wasn't sure if
> perhaps something would be modified.
>
> Just wondering if there are any other things that might
> take full advantage of the new disk..
>
> Assuming you started with Fedora 34 you should be on BTRFS. I would just
> make sure btrfs-trim.timer is enabled to periodically do trimming of unused
> blocks.
>
> The other btrfs services (defrag, balance, scrub) are generally only needed
> if you're running some kind of btrfs array.
>
> Maybe it wouldn't hurt to check /etc/fstab and see if compression is
> enabled. It trades some CPU cycles for space savings which can extend the
> life of SSD (less blocks written) and improves I/O on spinning disks (less
> blocks to read/write).
>
> https://fedoramagazine.org/fedora-workstation-34-feature-focus-btrfs-transp
> arent-compression/
>
> Just check first, it may already be enabled. Level 1 is recommended for
> SSDs and level 3 for spinning disks.
>
> Thanks,
> Richard
Thanks...
Been using Linux since Redhat version 9, and Fedora
Core 1 thru 34 and 35 on machines. Had Unixware before
that.
Use standard partition setup.
Will have to look at info on fstrim?
On my notebook with SSD drive
fstrim -v -A
/DATA: 22.4 GiB (24029523968 bytes) trimmed on /dev/sda9
/home: 436.6 GiB (468820439040 bytes) trimmed on /dev/sda8
/boot: 651.2 MiB (682827776 bytes) trimmed on /dev/sda5
/: 17.7 GiB (18981560320 bytes) trimmed on /dev/sda7
Had SSD in this one for a while. Recall something on
fstrim??
New machine showed this.
fstrim -v -A
/home: 741.1 GiB (795723341824 bytes) trimmed on /dev/sda5
/boot: 612.2 MiB (641925120 bytes) trimmed on /dev/sda1
/: 37.4 GiB (40122470400 bytes) trimmed on /dev/sda3
# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Fri May 15 05:05:26 2020
#
# Accessible filesystems, by reference, are maintained under
'/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for
more info.
#
# After editing this file, run 'systemctl daemon-reload' to update
systemd
# units generated from this file.
#
UUID=1a2e295f-8e7e-463b-ad2c-938075a880c8 / ext4 defaults 1 1
UUID=c3f2bd2e-011f-420a-9ea2-c021c2b89e43 /boot ext4 defaults 1 2
UUID=1766a052-f4df-4bac-8cca-6dfe5c9463eb /home ext4 defaults 1 2
UUID=92e0af15-a78a-443e-a6cf-6f23cd3be54f none swap defaults 0 0
Haven't used BTRFS on a system yet.
Is there a service or what to run the fstrim?
Tried it on two other machines that still have regular
disks, and command shows no output, so guess it doesn't
apply to regular disks?
Thanks again for the quick response.
More stuff to look into.
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mikes@xxxxxxxx
mailto:msetzerii@xxxxxxxxx
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure