Re: [gentoo-user] Hard drive error from SMART

2022-04-29 Thread Dale
Neil Bothwick wrote: > On Mon, 18 Apr 2022 09:06:11 -0500, Dale wrote: > >>> #!/bin/sh >>> cryptsetup whatever >>> mount whatever >>> >>> >> >> I have to enter a password in the middle of that.  I don't know how that >> would work.  As I've said before, my "scripts" are so simple, they may >>

Re: [gentoo-user] Hard drive error from SMART

2022-04-18 Thread Neil Bothwick
On Mon, 18 Apr 2022 09:06:11 -0500, Dale wrote: > > #!/bin/sh > > cryptsetup whatever > > mount whatever > > > > > > > I have to enter a password in the middle of that.  I don't know how that > would work.  As I've said before, my "scripts" are so simple, they may > not even be called

Re: [gentoo-user] Hard drive error from SMART

2022-04-18 Thread Dale
Neil Bothwick wrote: > On Sun, 17 Apr 2022 13:45:39 -0500, Dale wrote: > What is crypttab?  I type in the command manually. >>> Then use a shell alias, even less typing. >> I've done a couple basic alias things here but never grasped it enough >> to do anything beyond making ls run with -al

Re: [gentoo-user] Hard drive error from SMART

2022-04-18 Thread Neil Bothwick
On Sun, 17 Apr 2022 13:45:39 -0500, Dale wrote: > >> What is crypttab?  I type in the command manually. > > Then use a shell alias, even less typing. > > I've done a couple basic alias things here but never grasped it enough > to do anything beyond making ls run with -al each time.  I think

Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Dale
Neil Bothwick wrote: > On Sat, 16 Apr 2022 23:44:58 -0500, Dale wrote: > That's even more typing than /dev/sdk. Some things I do easily by using tab completion and all. When mounting, I let fstab remember the UUID for it. >>> That's what copy/paste is for. How often are you

Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Mark Knecht
On Sun, Apr 17, 2022 at 11:04 AM Dale wrote: > > When I bought my current TV, I avoided the smart ones. At the time, it > was new technology and people were talking about how buggy it was so I > bought a regular TV. If I had to buy one today, I'd buy a smart one. > They seem to work pretty

Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Dale
Rich Freeman wrote: > On Sat, Apr 16, 2022 at 6:39 PM Dale wrote: >> Neil Bothwick wrote: >>> Use /dev/disks/by/partlabel/foo or /dev/disks/by-partuuid/bar. >>> >> That's even more typing than /dev/sdk. Some things I do easily by using >> tab completion and all. When mounting, I let fstab

Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Dale
Mark Knecht wrote: > On Sun, Apr 17, 2022 at 10:22 AM Dale wrote: > >> I was wanting to have a NAS that also puts video on my TV. That way I >> can turn off my puter and still watch TV. It would be as much a media >> system as a NAS. I have a mobo, ram and I think I have a extra video >> card

Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Mark Knecht
On Sun, Apr 17, 2022 at 10:22 AM Dale wrote: > > I was wanting to have a NAS that also puts video on my TV. That way I > can turn off my puter and still watch TV. It would be as much a media > system as a NAS. I have a mobo, ram and I think I have a extra video > card somewhere. I'd need a

Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Dale
Mark Knecht wrote: > On Sat, Apr 16, 2022 at 6:06 PM Dale wrote: >> Mark Knecht wrote: >>> On Sat, Apr 16, 2022 at 3:53 PM Dale wrote: >>> >>> Maybe this is a good excuse to start working on a NAS. :/ >>> That's my vote. (For the second time) >>> >>> I'm using a FreeBSD Nas (TrueNAS) but

Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Mark Knecht
On Sat, Apr 16, 2022 at 6:06 PM Dale wrote: > > Mark Knecht wrote: > > On Sat, Apr 16, 2022 at 3:53 PM Dale wrote: > > > > Maybe this is a good excuse > >> to start working on a NAS. :/ > > That's my vote. (For the second time) > > > > I'm using a FreeBSD Nas (TrueNAS) but they recently came

Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Neil Bothwick
On Sat, 16 Apr 2022 23:44:58 -0500, Dale wrote: > >> That's even more typing than /dev/sdk. Some things I do easily by > >> using tab completion and all. When mounting, I let fstab remember > >> the UUID for it. > > That's what copy/paste is for. How often are you editing your > > crypttab

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Dale
Rich Freeman wrote: > On Sat, Apr 16, 2022 at 6:39 PM Dale wrote: >> Neil Bothwick wrote: >>> Use /dev/disks/by/partlabel/foo or /dev/disks/by-partuuid/bar. >>> >> That's even more typing than /dev/sdk. Some things I do easily by using >> tab completion and all. When mounting, I let fstab

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Rich Freeman
On Sat, Apr 16, 2022 at 6:39 PM Dale wrote: > > Neil Bothwick wrote: > > Use /dev/disks/by/partlabel/foo or /dev/disks/by-partuuid/bar. > > > > That's even more typing than /dev/sdk. Some things I do easily by using > tab completion and all. When mounting, I let fstab remember the UUID > for

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Dale
Mark Knecht wrote: > On Sat, Apr 16, 2022 at 3:53 PM Dale wrote: > > Maybe this is a good excuse >> to start working on a NAS. :/ > That's my vote. (For the second time) > > I'm using a FreeBSD Nas (TrueNAS) but they recently came out with a > Linux version which you might be more comfortable

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Mark Knecht
On Sat, Apr 16, 2022 at 3:53 PM Dale wrote: Maybe this is a good excuse > to start working on a NAS. :/ That's my vote. (For the second time) I'm using a FreeBSD Nas (TrueNAS) but they recently came out with a Linux version which you might be more comfortable with. If you use a 1Gb/S or

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Dale
Frank Steinmetzger wrote: > Am Sat, Apr 16, 2022 at 12:45:20PM -0500 schrieb Dale: > >> My next project, find a good external drive enclosure like the three I >> got now.  They no longer available tho.  I like them because they have a >> fan, a eSATA port and a nifty display to let me know things

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Dale
Neil Bothwick wrote: > On Sat, 16 Apr 2022 12:45:20 -0500, Dale wrote: > >>> You're using LVM, so all the drives should be assembled based on their >>> embedded metadata. It is fine to reference whatever temporary device >>> name you're using when running pvmove/pvcreate since that doesn't >>>

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Neil Bothwick
On Sat, 16 Apr 2022 20:09:23 +, Alan Mackenzie wrote: > > If Yoda so strong in force is, why words in right order he cannot > > put? > > Vielleicht, weil seine Muttersprache Deutsch ist. :-) RLFO -- Neil Bothwick SITCOM: Single Income, Two Children, Oppressive Mortgage

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Alan Mackenzie
On Sat, Apr 16, 2022 at 19:58:22 +0100, Neil Bothwick wrote: > -- > Neil Bothwick > If Yoda so strong in force is, why words in right order he cannot put? Vielleicht, weil seine Muttersprache Deutsch ist. :-) -- Alan Mackenzie (Nuremberg, Germany).

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Frank Steinmetzger
Am Sat, Apr 16, 2022 at 12:45:20PM -0500 schrieb Dale: > My next project, find a good external drive enclosure like the three I > got now.  They no longer available tho.  I like them because they have a > fan, a eSATA port and a nifty display to let me know things are > working.  Really a good

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Neil Bothwick
On Sat, 16 Apr 2022 12:45:20 -0500, Dale wrote: > > You're using LVM, so all the drives should be assembled based on their > > embedded metadata. It is fine to reference whatever temporary device > > name you're using when running pvmove/pvcreate since that doesn't > > really get stored

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Dale
Michael wrote: > On Saturday, 16 April 2022 15:59:25 BST Dale wrote: >> Frank Steinmetzger wrote: >>> Am Fri, Apr 15, 2022 at 10:49:21AM -0500 schrieb Dale: Howdy, I got the drive and pvmove is doing its thing. I would like to unplug one of the drives and physically move them

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Dale
Rich Freeman wrote: > On Sat, Apr 16, 2022 at 10:59 AM Dale wrote: >> I have googled and can not find a way to reset udev and it naming >> drives. I may have to rework some things since the drive kept the sdk >> instead of switching to sdd when I made the physical change. Thing is, >> I suspect

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Michael
On Saturday, 16 April 2022 15:59:25 BST Dale wrote: > Frank Steinmetzger wrote: > > Am Fri, Apr 15, 2022 at 10:49:21AM -0500 schrieb Dale: > >> Howdy, > >> > >> I got the drive and pvmove is doing its thing. I would like to unplug > >> one of the drives and physically move them around without

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Rich Freeman
On Sat, Apr 16, 2022 at 10:59 AM Dale wrote: > > I have googled and can not find a way to reset udev and it naming > drives. I may have to rework some things since the drive kept the sdk > instead of switching to sdd when I made the physical change. Thing is, > I suspect it will when I reboot

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Dale
Frank Steinmetzger wrote: > Am Fri, Apr 15, 2022 at 10:49:21AM -0500 schrieb Dale: >> Howdy, >> >> I got the drive and pvmove is doing its thing.  I would like to unplug >> one of the drives and physically move them around without shutting down >> my system.  Is there a way to tell LVM to disable

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Frank Steinmetzger
Am Fri, Apr 15, 2022 at 10:49:21AM -0500 schrieb Dale: > Howdy, > > I got the drive and pvmove is doing its thing.  I would like to unplug > one of the drives and physically move them around without shutting down > my system.  Is there a way to tell LVM to disable the drives while I'm > doing

Re: [gentoo-user] Hard drive error from SMART

2022-04-15 Thread Dale
Dale wrote: > John Covici wrote: >> On Fri, 15 Apr 2022 11:49:21 -0400, >> Dale wrote: >>> Howdy, >>> >>> I got the drive and pvmove is doing its thing.  I would like to unplug >>> one of the drives and physically move them around without shutting down >>> my system.  Is there a way to tell LVM to

Re: [gentoo-user] Hard drive error from SMART

2022-04-15 Thread Dale
John Covici wrote: > On Fri, 15 Apr 2022 11:49:21 -0400, > Dale wrote: >> Howdy, >> >> I got the drive and pvmove is doing its thing.  I would like to unplug >> one of the drives and physically move them around without shutting down >> my system.  Is there a way to tell LVM to disable the drives

Re: [gentoo-user] Hard drive error from SMART

2022-04-15 Thread John Covici
On Fri, 15 Apr 2022 11:49:21 -0400, Dale wrote: > > Howdy, > > I got the drive and pvmove is doing its thing.  I would like to unplug > one of the drives and physically move them around without shutting down > my system.  Is there a way to tell LVM to disable the drives while I'm > doing this

Re: [gentoo-user] Hard drive error from SMART

2022-04-15 Thread Dale
Howdy, I got the drive and pvmove is doing its thing.  I would like to unplug one of the drives and physically move them around without shutting down my system.  Is there a way to tell LVM to disable the drives while I'm doing this and restart them when done?  I found the command vgchange -a n

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Dale
Frank Steinmetzger wrote: > Am Tue, Apr 12, 2022 at 06:01:11PM -0500 schrieb Dale: > >>> The advantage of an integrity scheme (like ZFS or comparing with a checksum >>> file) over your rsync approach is that you only need to read all the datas™ >>> from one drive instead of two. Plus: if rsync

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Frank Steinmetzger
Am Tue, Apr 12, 2022 at 06:01:11PM -0500 schrieb Dale: > > The advantage of an integrity scheme (like ZFS or comparing with a checksum > > file) over your rsync approach is that you only need to read all the datas™ > > from one drive instead of two. Plus: if rsync actually detects a change, it >

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Dale
Frank Steinmetzger wrote: > Am Tue, Apr 12, 2022 at 05:03:01PM -0500 schrieb Dale: >> Rich Freeman wrote: >>> On Tue, Apr 12, 2022 at 1:08 PM Dale wrote: I remounted the drives and did a backup. For anyone running up on this, just in case one of the files got corrupted, I used a little

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Frank Steinmetzger
Am Tue, Apr 12, 2022 at 05:03:01PM -0500 schrieb Dale: > Rich Freeman wrote: > > On Tue, Apr 12, 2022 at 1:08 PM Dale wrote: > >> I remounted the drives and did a backup. For anyone running up on this, > >> just in case one of the files got corrupted, I used a little trick to > >> see if I can

RE: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Laurence Perkins
>-Original Message- >From: Wol >Sent: Tuesday, April 12, 2022 2:51 PM >To: gentoo-user@lists.gentoo.org >Subject: Re: [gentoo-user] Hard drive error from SMART > >On 12/04/2022 20:41, Laurence Perkins wrote: >> LVM is good for being able to swap out drives

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Mark Knecht
On Tue, Apr 12, 2022 at 3:01 PM Dale wrote: > Neat setup. I need something similar for a NAS setup thingy. Just got > way to much going on right now. > > Dale > > :-) :-) > LOL. Watching this thread made me start a round of backups to my NAS thingy Dale. ;-) Mark

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Dale
Rich Freeman wrote: > On Tue, Apr 12, 2022 at 1:08 PM Dale wrote: >> I remounted the drives and did a backup. For anyone running up on this, >> just in case one of the files got corrupted, I used a little trick to >> see if I can figure out which one may be bad if any. I took my rsync >>

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Dale
Wols Lists wrote: > On 12/04/2022 18:21, Laurence Perkins wrote: >> You can get up to 16X SATA PCI-e cards these days for pretty cheap.  >> So as long as you have the power to run another drive or two there's >> not much reason not to do RAID on the important stuff.  Also, the >> SATA protocol

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Dale
Laurence Perkins wrote: > I went with a couple of > https://www.amazon.com/MZHOU-Profile-Bracket-Support-Converter/dp/B08L7W8QFT/ > in a couple different sizes for two of my mass storage systems and they seem > to be doing OK. > > The difference between the cheap vendors and the expensive

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Wol
On 12/04/2022 20:41, Laurence Perkins wrote: LVM is good for being able to swap out drives easily but with the modern, huge drives you really want data checksums if you can get them. Otherwise all it takes is a flipped bit somewhere to wreck your data and drive firmware doesn't always

RE: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Laurence Perkins
>-Original Message- >From: Dale >Sent: Tuesday, April 12, 2022 11:22 AM >To: gentoo-user@lists.gentoo.org >Subject: Re: [gentoo-user] Hard drive error from SMART > >Laurence Perkins wrote: >>> -Original Message- >>> From: Dale >

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Rich Freeman
On Tue, Apr 12, 2022 at 1:08 PM Dale wrote: > > I remounted the drives and did a backup. For anyone running up on this, > just in case one of the files got corrupted, I used a little trick to > see if I can figure out which one may be bad if any. I took my rsync > commands from my little script

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Wols Lists
On 12/04/2022 18:21, Laurence Perkins wrote: You can get up to 16X SATA PCI-e cards these days for pretty cheap. So as long as you have the power to run another drive or two there's not much reason not to do RAID on the important stuff. Also, the SATA protocol allows for port expanders,

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Frank Steinmetzger
Am Tue, Apr 12, 2022 at 06:09:13PM + schrieb Laurence Perkins: > > I actually developed a tool for that. It creates and checks md5 > > checksums recursively and *per directory*. Whenever I copy stuff from > > somewhere, like a music album, I do an immediate md5 run on that > > directory. And

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Dale
Laurence Perkins wrote: >> -Original Message- >> From: Dale >> Sent: Tuesday, April 12, 2022 10:08 AM >> To: gentoo-user@lists.gentoo.org >> Subject: Re: [gentoo-user] Hard drive error from SMART >> >> Rich Freeman wrote: >>> On Mon,

RE: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Laurence Perkins
> -Original Message- > From: Frank Steinmetzger > Sent: Tuesday, April 12, 2022 10:39 AM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] Hard drive error from SMART > > > I actually developed a tool for that. It creates and checks md5 checksums

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Frank Steinmetzger
Am Tue, Apr 12, 2022 at 12:08:24PM -0500 schrieb Dale: > Rich Freeman wrote: > > On Mon, Apr 11, 2022 at 9:27 PM Dale wrote: > >> Thoughts. Replace as soon as drive arrives or wait and see? > >> > > So, first of all just about all my hard drives are in a RAID at this > > point, so I have a

RE: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Laurence Perkins
> -Original Message- > From: Dale > Sent: Tuesday, April 12, 2022 10:08 AM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] Hard drive error from SMART > > Rich Freeman wrote: > > On Mon, Apr 11, 2022 at 9:27 PM Dale wrote: > >>

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Dale
Rich Freeman wrote: > On Mon, Apr 11, 2022 at 9:27 PM Dale wrote: >> Thoughts. Replace as soon as drive arrives or wait and see? >> > So, first of all just about all my hard drives are in a RAID at this > point, so I have a higher tolerance for issues. > > If a drive is under warranty I'll

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Rich Freeman
On Mon, Apr 11, 2022 at 9:27 PM Dale wrote: > > Thoughts. Replace as soon as drive arrives or wait and see? > So, first of all just about all my hard drives are in a RAID at this point, so I have a higher tolerance for issues. If a drive is under warranty I'll usually try to see if they will

RE: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Laurence Perkins
> -Original Message- > From: Dale > Sent: Monday, April 11, 2022 6:28 PM > To: gentoo-user@lists.gentoo.org > Subject: [gentoo-user] Hard drive error from SMART > > Given the low number and it showing it corrected that error, and then passed > a short and

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Dale
Wols Lists wrote: > On 12/04/2022 02:27, Dale wrote: >> The one I aborted was because it was stuck on 10% for well over a day. >> The whole test doesn't take that long, or shouldn't anyway.  I restarted >> it shortly after that.  I might add, the test did take many hours longer >> than it

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Wols Lists
On 12/04/2022 02:27, Dale wrote: The one I aborted was because it was stuck on 10% for well over a day. The whole test doesn't take that long, or shouldn't anyway.  I restarted it shortly after that.  I might add, the test did take many hours longer than it estimated which from my past

[gentoo-user] Hard drive error from SMART

2022-04-11 Thread Dale
Howdy, As some know, I recently moved a LOT of data around.  Seems to have stressed one of my drives.  I got a email from SMART reporting a error.  It's info: The following warning/error was logged by the smartd daemon: Device: /dev/sdd [SAT], 1 Currently unreadable (pending) sectors The