From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BA7CC15ACFB for ; Sun, 16 Apr 2023 16:10:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7044AE0991; Sun, 16 Apr 2023 16:10:26 +0000 (UTC) Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF5C8E0978 for ; Sun, 16 Apr 2023 16:10:25 +0000 (UTC) Received: by mail-lj1-x231.google.com with SMTP id o8so2957259ljp.6 for ; Sun, 16 Apr 2023 09:10:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681661424; x=1684253424; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tUPEwniDZZ6egL1baOhCBDEIUmhUzdnkuLtymfLS6Tw=; b=lnGqjArTxqZ36bXLLOWA+66Bxaiol+CcuUvU1xto8qgHOajGEH42w/PbG1w+xTJPWu fSEpEjQZ19J624RjFPfQtDgoTJ/U7/Y0lPiip7d/xZR8iKhXIeY6iscYDniyRmeyot8f MJVtRT74ZH6lvlefL3hY5hPOcq7v07wB/not06+ndLh7McKgDvDqA1ZWWRmwOR1NCWWq fg1syR22vDyrexlQwe24aFvLnEm0im6AZ1Ezu137XAB5gHUJ6iLQFe9HPGgbqp+//ziV UvxmpRwTsDKtgmcLeOqbRMJJQlBnHcaQYcdVzVRaLoETlKLcPl0WX071/Ot+wXbX6pM7 CEHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681661424; x=1684253424; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tUPEwniDZZ6egL1baOhCBDEIUmhUzdnkuLtymfLS6Tw=; b=gioS8/B/s3xmYvPP1NOss7MoRU8rjjzG/tdlkfbpm2/Gkgp0yI75qmA7vVh0NCpg9y 9Ffx0Y8BZ3RkU5emb4nLJKQU3u5QChqlg4K13MclZBFPRLp97VisokyHNCt13RSD03Ii Pp4XCPC4RucR8syrdEHL+aq7SEyinldc79CczuombHAyo7Dvm+l/+PjG+pFbwZA2WBvk sh9mXoIE6PeInKCnklpKSzOQBM9eViYz0tY1haBij5XG5nlkQUHDbcu/I+kxc49RI4B0 RK8DkLW2+Bp/phe26+tUW+jYGfL0Cf86v1Rt6t2Esrzzu9xc1tn/FigVTwlU8j7enozv oQmQ== X-Gm-Message-State: AAQBX9dQ0Z01TGRU93b0e9eoPDwJ/zAu/2Y5TlFqNBgy9/r88JCqvo/n GO3uvCGeo+Il59srZJcYWyRErAI8ltpTI9GtmXcYoQF5 X-Google-Smtp-Source: AKy350bi/BrrtyL6DpjKV9bUI3QlIsduptvR8JzP6RSGubrEiVNRZE/V0pxQgz+/k2xMQeqzmkByIIl9cXTpjjcGxcQ= X-Received: by 2002:a2e:9082:0:b0:2a5:f6f2:1ff4 with SMTP id l2-20020a2e9082000000b002a5f6f21ff4mr3695255ljg.10.1681661424218; Sun, 16 Apr 2023 09:10:24 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <3a8a143d-38f0-b7ea-4aa1-10c0b3a2a1e0@gmail.com> <12194979.O9o76ZdvQC@wstn> <19959f07-88a8-f2ee-1523-573f794c9282@iinet.net.au> <9fbad854-2f36-f261-b2f3-4850059f6d2a@gmail.com> In-Reply-To: <9fbad854-2f36-f261-b2f3-4850059f6d2a@gmail.com> From: Mark Knecht Date: Sun, 16 Apr 2023 09:10:12 -0700 Message-ID: Subject: Re: [gentoo-user] Finally got a SSD drive to put my OS on To: Dale Cc: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="000000000000d2b84705f9764ff7" X-Archives-Salt: 5e256b8b-3d70-4ce4-9aa8-db2013d5c9be X-Archives-Hash: a40dcd6e06eeadf204fcf8a46164dc95 --000000000000d2b84705f9764ff7 Content-Type: text/plain; charset="UTF-8" > > > Oh, please, don't go anywhere. We already lost the long term Alan. BTW, I checked on him a while back. He's still OK. It's been a while tho. > Dale - I touched - truly. I'm happy to stick around but I no longer run Gentoo and don't want to cause problems or piss off the folks who need to be here. > I read during a google search that some distros handle this sort of thing automatically, some sort of firmware thing or something. I figured Gentoo didn't, it rarely does since that is the point of Gentoo. So, no harm. Heck, I just now applied power to the thing. I don't even have it partitioned or anything yet. Just rebooted after rearranging all the cables, adding power splitter etc etc. I don't know of any distros that do any of this in firmware. Maybe someone else can address that. Many distros now install fstrim by default and update crontab. The Ubuntu family does, which I didn't know before this thread. However it is on both my Kubuntu machine and my Ubuntu Server machine. BTW - Windows does this in Disk Defragmenter but you have to schedule it yourself according to Bard and ChatGPT. I'll be in Windows later today to record some new music and plan to look into that then. Answering the question from below - weekly is what was set up by default here. If your drive isn't near full and you're not writing a lot of new data on it each week then weekly would seem reasonable to me. However being that you are running Gentoo and hence compiling lots and lots and lots of stuff every week it's possible that you might _possibly_ want to run fstrim more often if your intermediate files are going to this drive. > > I do have one gripe. Why can't drive makers pick a screw size and stick to it on ALL drives? It took some digging to find a screw that would fit. Some I bought that are supposed to work on SSDs were to short. It would likely work on a metal adapter but not a thicker plastic one. Luckily, I found 4 screws. No clue where they came from. Just in my junk box. Before this week, never laid eyes on a SSD before. Anyone know the thread size and count on those things? I want to order a few, just in case. I second your gripe. I've purchased a couple of PC builder screw sets from Amazon. > > Is running fstrim once a week to often? I update my OS once a week but given the amount of extra space, I'd think once a month would be often enough. After all, it is 500GB and I'll likely only use less than half of that. Most of the extra space will be extra boot options like Knoppix or something. I'm just thinking it would give it a longer life. Maybe my thinking is wrong??? > > Now to play with this thing. I got to remember what all has to be copied over so I can boot the new thing. :/ Been ages since I moved a OS to another hard drive. Maybe a reinstall would work better. :-\ > I think you have at least 3 options to play with the drive: 1) It's Gentoo so install from scratch. You'll feel great if it works. It will only take you a day or two. 2) Possibly dd the old drive to the SSD. If the new SSD boots as the same /dev/sdX device it should work, maybe, maybe not. 3) If you have another SATA port then dual boot, either with Gentoo on both or something simple like Kubuntu. A base Kubuntu install takes about 15 minutes and will probably give you its own dual boot grub config. When you're sick of Kubuntu you can once again install Gentoo. Good luck no matter what path you take. Mark --000000000000d2b84705f9764ff7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
<SNIP>
>
>
> Oh, please, don't= go anywhere. =C2=A0<begging> =C2=A0We already lost the long term Ala= n.=C2=A0 BTW, I checked on him a while back.=C2=A0 He's still OK.=C2=A0= It's been a while tho.
>

Dale - I touched - = truly. I'm happy to stick around but I no longer=C2=A0
run Ge= ntoo and don't want to cause problems or piss off the=C2=A0
f= olks who need to be here.=C2=A0

> I read during a google s= earch that some distros handle this sort of thing automatically, some sort = of firmware thing or something.=C2=A0 I figured Gentoo didn't, it rarel= y does since that is the point of Gentoo.=C2=A0 So, no harm.=C2=A0 Heck, I = just now applied power to the thing.=C2=A0 I don't even have it partiti= oned or anything yet.=C2=A0 Just rebooted after rearranging all the cables,= adding power splitter etc etc.

I don't know o= f any distros that do any of this in firmware. Maybe someone
else= can address that. Many distros now install fstrim by default and=C2=A0
update crontab. The Ubuntu family does, which I didn't know befo= re this
thread. However it is on both my Kubuntu machine and my U= buntu
Server machine.

BTW - Windows does= this in Disk Defragmenter but you have to=C2=A0
schedule it your= self according to Bard and ChatGPT. I'll be in=C2=A0
Windows = later today to record some new music and plan to look into
that t= hen.

Answering the question from below - weekly is= what was set up by=C2=A0
default here. If your drive isn't n= ear full and you're not writing a lot of new
data on it each = week then weekly would seem reasonable to me.=C2=A0
However being= that you are running Gentoo and hence compiling
lots and lots an= d lots of stuff every week it's possible that you=C2=A0
might= _possibly_ want to run fstrim more often if your intermediate=C2=A0
<= div>files are going to this drive.=C2=A0


><= br>> I do have one gripe.=C2=A0 Why can't drive makers pick a screw = size and stick to it on ALL drives?=C2=A0 It took some digging to find a sc= rew that would fit.=C2=A0 Some I bought that are supposed to work on SSDs w= ere to short.=C2=A0 It would likely work on a metal adapter but not a thick= er plastic one.=C2=A0 Luckily, I found 4 screws.=C2=A0 No clue where they c= ame from.=C2=A0 Just in my junk box.=C2=A0 Before this week, never laid eye= s on a SSD before.=C2=A0 Anyone know the thread size and count on those thi= ngs?=C2=A0 I want to order a few, just in case.

I = second your gripe. I've purchased a couple of PC builder screw=C2=A0
sets from Amazon.
=C2=A0
>
> Is running fstr= im once a week to often?=C2=A0 I update my OS once a week but given the amo= unt of extra space, I'd think once a month would be often enough.=C2=A0= After all, it is 500GB and I'll likely only use less than half of that= .=C2=A0 Most of the extra space will be extra boot options like Knoppix or = something.=C2=A0 I'm just thinking it would give it a longer life.=C2= =A0 Maybe my thinking is wrong???
>
> Now to play with this thi= ng.=C2=A0 I got to remember what all has to be copied over so I can boot th= e new thing. =C2=A0:/ =C2=A0Been ages since I moved a OS to another hard dr= ive.=C2=A0 Maybe a reinstall would work better. =C2=A0:-\
>

I think you have at least 3 options to play with the d= rive:

1) It's Gentoo so install from scratch. = You'll feel great=C2=A0
if it works. It will only take you a = day or two.

2) Possibly dd the old drive to the SS= D. If the new=C2=A0
SSD boots as the same /dev/sdX device it shou= ld=C2=A0
work, maybe, maybe not.

3) If y= ou have another SATA port then dual boot,=C2=A0
either with Gento= o on both or something simple=C2=A0
like Kubuntu. A base Kubuntu = install takes about
15 minutes and will probably give you its own=
dual boot grub config. When you're sick of Kubuntu
you can once again install Gentoo.

Good luck no m= atter what path you take.

Mark
--000000000000d2b84705f9764ff7--