Re: [gentoo-user] Re: SDD, what features to look for and what to avoid.

2020-03-17 Thread David Haller
Hello, an addendum without digging up the details ... On Tue, 17 Mar 2020, David Haller wrote: >On Tue, 17 Mar 2020, Grant Edwards wrote: >>I've put five Samsung SATA drives into various things in the past few >>years with flawless results. Samsung is one of the big manufacturers >>of flash chips

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread Dale
james wrote: > On 3/17/20 10:14 AM, Rich Freeman wrote: >> On Tue, Mar 17, 2020 at 1:59 AM wrote: > >> Finally, ALL DRIVES FAIL.  It doesn't matter what the underlying >> storage technology is.  I've seen hard drives fail in less than a >> year, with the warranty replacement drive failing less tha

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread William Kenworthy
On 18/3/20 7:25 am, james wrote: > On 3/17/20 10:14 AM, Rich Freeman wrote: >> On Tue, Mar 17, 2020 at 1:59 AM wrote: > >> Finally, ALL DRIVES FAIL.  It doesn't matter what the underlying >> storage technology is.  I've seen hard drives fail in less than a I gave up trying to do fancy write min

Re: [gentoo-user] os-prober fails sucessfully

2020-03-17 Thread John Covici
On Tue, 17 Mar 2020 19:23:53 -0400, Dutch Ingraham wrote: > > On 3/17/20 4:16 AM, Neil Bothwick wrote: > > On Tue, 17 Mar 2020 03:00:59 -0500, Dutch Ingraham wrote: > > > >> Also from [1], with emphasis added "30_os-prober this script uses > >> **os-prober to search for Linux** and other operatin

[gentoo-user] Re: SDD, what features to look for and what to avoid.

2020-03-17 Thread Grant Edwards
On 2020-03-17, David Haller wrote: > And they produce and use their own controllers, so they additionally > know the ins and outs of those, i.e. they can easily optimize the > whole SSD from Flash-Chip over controller up to the firmware... Yep, that was definitely the gist of my (wishful) thinki

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread james
On 3/17/20 10:14 AM, Rich Freeman wrote: On Tue, Mar 17, 2020 at 1:59 AM wrote: Finally, ALL DRIVES FAIL. It doesn't matter what the underlying storage technology is. I've seen hard drives fail in less than a year, with the warranty replacement drive failing less than a year after that. I

Re: [gentoo-user] os-prober fails sucessfully

2020-03-17 Thread Dutch Ingraham
On 3/17/20 4:16 AM, Neil Bothwick wrote: On Tue, 17 Mar 2020 03:00:59 -0500, Dutch Ingraham wrote: Also from [1], with emphasis added "30_os-prober this script uses **os-prober to search for Linux** and other operating systems and places the results in the GRUB 2 menu. A review of the scripts

Re: [gentoo-user] apache htaccess - block IP range

2020-03-17 Thread thelma
On 03/17/2020 04:51 PM, Michael wrote: > Please do not top-post in this mailing list. > > On Tuesday, 17 March 2020 22:41:26 GMT the...@sys-concept.com wrote: >> I have tried (doesn't work) >> >> >> order allow,deny >> allow from all >> >> # block spamers: >> deny from huawei.com >> >> >> I'm st

Re: [gentoo-user] apache htaccess - block IP range

2020-03-17 Thread Michael
Please do not top-post in this mailing list. On Tuesday, 17 March 2020 22:41:26 GMT the...@sys-concept.com wrote: > I have tried (doesn't work) > > > order allow,deny > allow from all > > # block spamers: > deny from huawei.com > > > I'm still getting over 800-entires from: 114.119.128.0 - 11

Re: [gentoo-user] apache htaccess - block IP range

2020-03-17 Thread thelma
I have tried (doesn't work) order allow,deny allow from all # block spamers: deny from huawei.com I'm still getting over 800-entires from: 114.119.128.0 - 114.119.191.255 Thelma On 03/17/2020 04:00 PM, Michael wrote: > Require not ip 114.119.128.0/255.255.255.0

Re: [gentoo-user] apache htaccess - block IP range

2020-03-17 Thread thelma
The below are not blocking those IP's : deny from 114.119.128.0/24 deny from 114.119.128.0 Thelma On 03/17/2020 04:00 PM, Michael wrote: > On Tuesday, 17 March 2020 21:56:29 GMT the...@sys-concept.com wrote: >> Will it work: >> deny from 114.119.128.0/114.119.191.255 >> >> Thelma > > It is better

Re: [gentoo-user] apache htaccess - block IP range

2020-03-17 Thread thelma
I'm still using apache 2.2 So I think it should be: deny from 114.119.128.0/24 With the: Require all granted Require not ip 114.119.128.0/24 I couldn't even access my own webpage from localhost. Thelma On 03/17/2020 04:00 PM, Michael wrote: > On Tuesday, 17 March 2020 21:56:29 GMT th

Re: [gentoo-user] apache htaccess - block IP range

2020-03-17 Thread Michael
On Tuesday, 17 March 2020 21:56:29 GMT the...@sys-concept.com wrote: > Will it work: > deny from 114.119.128.0/114.119.191.255 > > Thelma It is better to use this syntax: Require all granted Require not ip XX.XXX.XX.XXX So your example address space becomes: Require not ip 114.119.1

Re: [gentoo-user] apache htaccess - block IP range

2020-03-17 Thread thelma
Will it work: deny from 114.119.128.0/114.119.191.255 Thelma On 03/17/2020 03:47 PM, the...@sys-concept.com wrote: > How to block in .htaccess file certain IP range? > > I have bot from huawei.com on my server for several days: > IP: 114.119.128.0 - 114.119.191.255 > Or just block all China >

[gentoo-user] apache htaccess - block IP range

2020-03-17 Thread thelma
How to block in .htaccess file certain IP range? I have bot from huawei.com on my server for several days: IP: 114.119.128.0 - 114.119.191.255 Or just block all China -- Thelma

Re: [gentoo-user] Re: SDD, what features to look for and what to avoid.

2020-03-17 Thread David Haller
Hello, On Tue, 17 Mar 2020, Grant Edwards wrote: >I've put five Samsung SATA drives into various things in the past few >years with flawless results. Samsung is one of the big manufacturers >of flash chips, so I figure they should always end up with 1st choice >quality chips in their own drives..

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread David Haller
Hello, On Tue, 17 Mar 2020, Neil Bothwick wrote: >On Tue, 17 Mar 2020 10:43:58 +0100, Andrea Conti wrote: >> >> The SSD is currently reporting 98% of its rated life left: I feel >> >> quite confident it's going to outlast the laptop's useful life. >> > What are you using to get that niformation?

Re: [gentoo-user] Re: SDD, what features to look for and what to avoid.

2020-03-17 Thread Mark Knecht
On Tue, Mar 17, 2020 at 12:33 PM Grant Edwards wrote: > > I've put five Samsung SATA drives into various things in the past few > years with flawless results. Samsung is one of the big manufacturers > of flash chips, so I figure they should always end up with 1st choice > quality chips in their o

[gentoo-user] Re: SDD, what features to look for and what to avoid.

2020-03-17 Thread Grant Edwards
I've put five Samsung SATA drives into various things in the past few years with flawless results. Samsung is one of the big manufacturers of flash chips, so I figure they should always end up with 1st choice quality chips in their own drives... -- Grant Edwards grant.b.edwards

Re: [gentoo-user] Re: SDD, what features to look for and what to avoid.

2020-03-17 Thread Dale
Grant Edwards wrote: > On 2020-03-17, Andrea Conti wrote: > >> "NAND flash" (as opposed to "NOR flash") refers to the way memory cells >> are organized and connected. See for example >> https://www.embedded.com/flash-101-nand-flash-vs-nor-flash/ >> >> AFAIK all SSDs use some variant of NAND flas

[gentoo-user] Re: SDD, what features to look for and what to avoid.

2020-03-17 Thread Grant Edwards
On 2020-03-17, Andrea Conti wrote: > "NAND flash" (as opposed to "NOR flash") refers to the way memory cells > are organized and connected. See for example > https://www.embedded.com/flash-101-nand-flash-vs-nor-flash/ > > AFAIK all SSDs use some variant of NAND flash. Correct. NOR flash densi

[gentoo-user] Re: SDD strategies...

2020-03-17 Thread Grant Edwards
On 2020-03-17, Neil Bothwick wrote: > Same here. The main advantage of spinning HDs are that they are cheaper > to replace when they fail. I only use them when I need lots of space. Me too. If I didn't have my desktop set up as a DVR with 5TB of recording space, I wouldn't have any spinning driv

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread Rich Freeman
On Tue, Mar 17, 2020 at 1:59 AM wrote: > > The HD will contain the whole system including the complete root > filesustem. Updateing, installing via Gentoo tools will run using > the HD. If that process has ended, I will rsync the HD based root > fileystem to the SSD. > ... I'll go ahead and write

Re: [gentoo-user] SDD, what features to look for and what to avoid.

2020-03-17 Thread Andrea Conti
My mobo is just old enough to not support NVMe drives.  I checked on that a while back.  It'll be old school SDDs, well, the ones that mount hardware wise like HDDs anyway.  It's not like SDDs are really that old. We're talking about interface standards here, not form factors. SATA drives use

Re: [gentoo-user] swaps mounted randomly

2020-03-17 Thread n952162
Okay, I'll give that a try.  But I was really hoping for something during the boot process. On 2020-03-17 14:14, Neil Bothwick wrote: On Tue, 17 Mar 2020 13:37:52 +0100, n952162 wrote: Question 2: how can one see the output from the RC "e-trace" statements (e.g. ebegin/eend)? I don't find it

Re: [gentoo-user] swaps mounted randomly

2020-03-17 Thread Neil Bothwick
On Tue, 17 Mar 2020 13:37:52 +0100, n952162 wrote: > Question 2: how can one see the output from the RC "e-trace" statements > (e.g. ebegin/eend)? > > I don't find it in /var/log/* > How about: openrc-run --verbose /etc/init.d/localmount start Or use --debug for more info. -- Neil Bothwick

[gentoo-user] help with boot msgs and ext[2-4] question

2020-03-17 Thread n952162
Hello, I see this msg in /var/log/dmesg: [    4.444826] EXT2-fs (sdb3): error: couldn't mount because of unsupported optional features (2c0) [    4.468074] EXT4-fs (sdb3): mounted filesystem with ordered data mode. Opts: (null) but my system boots.  Is the (2c0) the clue to what features are me

Re: [gentoo-user] swaps mounted randomly

2020-03-17 Thread n952162
There's new information on this, and new questions... I discovered that not only are my swaps not mounted, but the other filesystems listed in /etc/fstab aren't, either. These are, apparently, mounted by the localmount RC service. Its status is *started*.  But if I /restart/ it, then my fstab f

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread madscientistatlarge
Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Tuesday, March 17, 2020 5:18 AM, Peter Humphrey wrote: > > Hm. My NVMe boot drive doesn't show a lifetime attribute, but my two 1TB SSDs > do, and they both show 100%, which makes me suspi

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread Peter Humphrey
On Tuesday, 17 March 2020 09:43:58 GMT Andrea Conti wrote: > On 17/03/20 10:03, Neil Bothwick wrote: > > On Tue, 17 Mar 2020 09:35:10 +0100, Andrea Conti wrote: > >> The SSD is currently reporting 98% of its rated life left: I feel quite > >> confident it's going to outlast the laptop's useful life

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread Michael
On Tuesday, 17 March 2020 08:35:10 GMT Andrea Conti wrote: > Hello, > > > SSDs are a common replacement for HDs nowaday -- but I still trust my > > HDs more than this "flashy" things...call me retro or oldschool, but > > it my current "Bauchgefühl" (gut feeling). > > The days of shitty JMicron st

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread Dale
Neil Bothwick wrote: > On Tue, 17 Mar 2020 10:43:58 +0100, Andrea Conti wrote: > The SSD is currently reporting 98% of its rated life left: I feel quite confident it's going to outlast the laptop's useful life. >>> What are you using to get that niformation? >> smartctl -A /dev/sdX >

Re: [gentoo-user] SDD, what features to look for and what to avoid.

2020-03-17 Thread Dale
Andrea Conti wrote: >> So, before I find a SDD to buy, what are some things I should look for >> it to have and what are things I should avoid? > > I think the single most important thing is buying stuff from a > reputable brand (there's quite a number of those by now). Look at > reviews. Top-tier

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread Petr Vaněk
On Tue, Mar 17, 2020 at 09:15:58AM +, Peter Humphrey wrote: > On Tuesday, 17 March 2020 09:04:55 GMT Petr Vaněk wrote: > > > I use tmpfs to reduce compilation writes [1]. > > > > tmpfs /var/tmp/portage/ > > tmpfs uid=portage,gid=portage,mode=0775,size=2G,noatime 0 0

Re: [gentoo-user] Pocket sneaks back

2020-03-17 Thread Michael
On Tuesday, 17 March 2020 04:42:12 GMT Dale wrote: > Matt Connell wrote: > > On 2020-03-16 19:46, Dale wrote: > >> Anything that can do, I can do locally by saving a web page or > >> downloading the content. Firefox has this functionality for people who have multiple devices and are not able or

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread Neil Bothwick
On Tue, 17 Mar 2020 10:43:58 +0100, Andrea Conti wrote: > >> The SSD is currently reporting 98% of its rated life left: I feel > >> quite confident it's going to outlast the laptop's useful life. > > What are you using to get that niformation? > > smartctl -A /dev/sdX 83% after five years of

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread Andrea Conti
On 17/03/20 10:03, Neil Bothwick wrote: On Tue, 17 Mar 2020 09:35:10 +0100, Andrea Conti wrote: The SSD is currently reporting 98% of its rated life left: I feel quite confident it's going to outlast the laptop's useful life. What are you using to get that niformation? smartctl -A /dev/sdX

Re: [gentoo-user] SDD, what features to look for and what to avoid.

2020-03-17 Thread Andrea Conti
So, before I find a SDD to buy, what are some things I should look for it to have and what are things I should avoid? I think the single most important thing is buying stuff from a reputable brand (there's quite a number of those by now). Look at reviews. Top-tier performance probably isn't go

Re: [gentoo-user] os-prober fails sucessfully

2020-03-17 Thread Neil Bothwick
On Tue, 17 Mar 2020 03:00:59 -0500, Dutch Ingraham wrote: > Also from [1], with emphasis added "30_os-prober this script uses > **os-prober to search for Linux** and other operating systems and places > the results in the GRUB 2 menu. > > A review of the scripts 10_linux and 30_os-prober supplied

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread Peter Humphrey
On Tuesday, 17 March 2020 09:04:55 GMT Petr Vaněk wrote: > I use tmpfs to reduce compilation writes [1]. > > tmpfs /var/tmp/portage/ > tmpfs uid=portage,gid=portage,mode=0775,size=2G,noatime 0 0 > tmpfs /tmp/ tmpfs mode=0777,size=1G,noexec,

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread Petr Vaněk
On Tue, Mar 17, 2020 at 06:59:53AM +0100, tu...@posteo.de wrote: > Hi, > > currentlu I am setting up a new PC for my 12-years old one, > which has reached the limits of its "computational power" :) > > SSDs are a common replacement for HDs nowaday -- but I still trust my > HDs more than this "fla

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread Neil Bothwick
On Tue, 17 Mar 2020 09:35:10 +0100, Andrea Conti wrote: > The SSD is currently reporting 98% of its rated life left: I feel quite > confident it's going to outlast the laptop's useful life. What are you using to get that niformation? > That's not a single datapoint; every system I have around

Re: [gentoo-user] SDD strategies...

2020-03-17 Thread Andrea Conti
Hello, SSDs are a common replacement for HDs nowaday -- but I still trust my HDs more than this "flashy" things...call me retro or oldschool, but it my current "Bauchgefühl" (gut feeling). The days of shitty JMicron stuff and OCZ drives dropping like flies are long gone... you are not going t

Re: [gentoo-user] os-prober fails sucessfully

2020-03-17 Thread Dutch Ingraham
On 3/16/20 3:47 PM, Neil Bothwick wrote: On Mon, 16 Mar 2020 12:51:06 -0500, Dutch Ingraham wrote: Hi all. I'm having a problem with os-prober not finding other linux partitions. I'm on x86_64 and an old spinning drive with an msdos partition table and 4 primary partitions, 3 linux and 1 swap