Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-23 Thread Sid Spry
On Tue, Jun 23, 2020, at 12:20 PM, Rich Freeman wrote: > On Tue, Jun 23, 2020 at 12:14 PM Sid Spry wrote: > > > > So if I'm understanding properly most drive firmware won't let you > > operate the device in an append-only mode? > > So, there are several types of SMR drives. > > There are host-ma

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-23 Thread Rich Freeman
On Tue, Jun 23, 2020 at 12:14 PM Sid Spry wrote: > > So if I'm understanding properly most drive firmware won't let you > operate the device in an append-only mode? So, there are several types of SMR drives. There are host-managed, drive-managed, and then hybrid devices that default to drive-man

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-23 Thread Sid Spry
On Tue, Jun 16, 2020, at 7:25 AM, Rich Freeman wrote: > On Tue, Jun 16, 2020 at 7:36 AM Michael wrote: > > > > Just to add my 2c's before you throw that SMR away, the use case for these > > drives is to act as disk archives, rather than regular backups. You write > > data you want to keep, once.

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-23 Thread Sid Spry
On Tue, Jun 16, 2020, at 2:17 AM, Dale wrote: > David Haller wrote: > > I mentioned once long ago that I keep a list of frequently used > commands. I do that because, well, my memory at times isn't that great. > Here is some commands I ran up on based on posts here and what google > turned up w

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-22 Thread Dale
David Haller wrote: > Hello, > > On Mon, 22 Jun 2020, Dale wrote: >> David Haller wrote: >>> On Thu, 18 Jun 2020, Dale wrote: David Haller wrote: > [..] > ./ones | dd of=/dev/null bs=8M count=1000 iflag=fullblock >>> [..] I got it to compile, at least it created a file named ones

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-22 Thread David Haller
Hello, On Mon, 22 Jun 2020, Dale wrote: >David Haller wrote: >> On Thu, 18 Jun 2020, Dale wrote: >>> David Haller wrote: [..] ./ones | dd of=/dev/null bs=8M count=1000 iflag=fullblock >> [..] >>> I got it to compile, at least it created a file named ones anyway.  What >>> I'm unclear abou

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-22 Thread Dale
David Haller wrote: > Hello, > > On Thu, 18 Jun 2020, Dale wrote: >> David Haller wrote: > [..] >>> Compile with: >>> gcc $CFLAGS -o ones ones.c >>> or >>> gcc $(portageq envvar CFLAGS) -o ones ones.c >>> >>> and use/test e.g. like >>> >>> ./ones | dd of=/dev/null bs=8M count=1000 iflag

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-22 Thread David Haller
Hello, On Thu, 18 Jun 2020, Dale wrote: >David Haller wrote: [..] >> Compile with: >> gcc $CFLAGS -o ones ones.c >> or >> gcc $(portageq envvar CFLAGS) -o ones ones.c >> >> and use/test e.g. like >> >> ./ones | dd of=/dev/null bs=8M count=1000 iflag=fullblock [..] >I got it to compile,

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-21 Thread Dale
Pengcheng Xu wrote: > I'm wondering that who's email client is broken, yours or mine? I'm seeing a > lot of U+FFFD replacement characters in this email, like, behind every stop > punctuation ("?", ".", and ")"), but not in your other emails on the list. > > Regards, I notice it in your reply to

RE: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-21 Thread Pengcheng Xu
heng Xu https://jsteward.moe > -Original Message- > From: Dale > Sent: Thursday, June 18, 2020 5:14 PM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] Testing a used hard drive to make SURE it is good. > > David Haller wrot

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-20 Thread Dale
Additional info.  I got the data moved and a smaller drive removed from the LVM setup.  I decided to play with badblocks a bit and test the old drive.  I'm testing with destructive patterns since that should effectively erase data.  The old drive reported a few errors.  I did some googling and foun

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-18 Thread Dale
David Haller wrote: > Hello, > > On Mon, 15 Jun 2020, Dale wrote: > [..] >> While I'm at it, when running dd, I have zero and random in /dev.  Where >> does a person obtain a one?  In other words, I can write all zeros, I >> can write all random but I can't write all ones since it isn't in /dev.  >

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-18 Thread Dr Rainer Woitok
David, On Wednesday, 2020-06-17 17:27:30 +0200, you wrote: > ... > $ man -l -Tps -P-pa4 $(man -w smartctl ) | ps2pdf - smartctl.pdf Why not simply $ man -Tps -P-pa4 smartctl | ps2pdf - smartctl.pdf Sincerely, Rainer

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-17 Thread David Haller
Hello, On Tue, 16 Jun 2020, Dale wrote: [..] >For the /dev/one, I found some which seems to work.  They listed further >down.  I think my google search terms was poor.  Google doesn't have ESP >for sure.  O_o [..] >dd if=<(yes $'\xFF' | tr -d "\n") of= This is correct but _much_ slower than my pr

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-17 Thread Rich Freeman
On Wed, Jun 17, 2020 at 8:32 AM Wols Lists wrote: > > On 17/06/20 05:47, Dale wrote: > > From what I've read, all the drive makers were selling SMR without > > telling anyone at first. It wasn't just WD but Seagate as well. > > Yes, but Seagate didn't start selling SMR drives advertised as > "opt

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-17 Thread Wols Lists
On 17/06/20 05:47, Dale wrote: > From what I've read, all the drive makers were selling SMR without > telling anyone at first. It wasn't just WD but Seagate as well. Yes, but Seagate didn't start selling SMR drives advertised as "optimised for raid/nas".THAT is what's so bad about the WD case - t

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-17 Thread Rich Freeman
On Tue, Jun 16, 2020 at 7:38 PM antlists wrote: > > On 16/06/2020 13:25, Rich Freeman wrote: > > And of course the problem with these latest hidden SMR drives is that > > they generally don't support TRIM, > > This, I believe, is a problem with the ATA spec. I don't understand > what's going on, b

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread Dale
Dale wrote: > Howdy, > > I finally bought a 8TB drive.  It is used but they claim only a short > duration.  Still, I want to test it to be sure it is in grade A shape > before putting a lot of data on it and depending on it.  I am familiar > with some tools already.  I know about SMART but it is no

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread Dale
antlists wrote: > On 16/06/2020 12:26, Dale wrote: >> I've also read about the resilvering problems too.  I think LVM >> snapshots and something about BTFS(sp?) has problems.  I've also read >> that on windoze, it can cause a system to freeze while it is trying >> to rewrite the moved data too.  It

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread antlists
On 16/06/2020 13:25, Rich Freeman wrote: And of course the problem with these latest hidden SMR drives is that they generally don't support TRIM, This, I believe, is a problem with the ATA spec. I don't understand what's going on, but something like for these drives you need v4 of the spec, a

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread antlists
On 16/06/2020 12:26, Dale wrote: I've also read about the resilvering problems too.  I think LVM snapshots and something about BTFS(sp?) has problems.  I've also read that on windoze, it can cause a system to freeze while it is trying to rewrite the moved data too.  It gets so slow, it actually

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread Dale
Michael wrote: > On Tuesday, 16 June 2020 12:26:01 BST Dale wrote: > >> From what I've read, I agree. Basically, as some have posted in >> different places, SMR drives are good when writing once and leaving it >> alone. Basically, about like a DVD-R. From what I've read, let's say I >> moved a l

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread Rich Freeman
On Tue, Jun 16, 2020 at 7:36 AM Michael wrote: > > Just to add my 2c's before you throw that SMR away, the use case for these > drives is to act as disk archives, rather than regular backups. You write > data you want to keep, once. If your write pattern is more like a tape SMR should be ok in t

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread Michael
On Tuesday, 16 June 2020 12:26:01 BST Dale wrote: > Wols Lists wrote: > > On 16/06/20 10:04, Dale wrote: > >> I might add, I don't have LVM on that drive. I read it does not work > >> well with LVM, RAID etc as you say. Most likely, that drive will always > >> be a external drive for backups or s

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread Dale
Wols Lists wrote: > On 16/06/20 10:04, Dale wrote: >> I might add, I don't have LVM on that drive. I read it does not work >> well with LVM, RAID etc as you say. Most likely, that drive will always >> be a external drive for backups or something. If it ever finds itself >> on the OS or /home, it

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread Wols Lists
On 16/06/20 10:04, Dale wrote: > I might add, I don't have LVM on that drive. I read it does not work > well with LVM, RAID etc as you say. Most likely, that drive will always > be a external drive for backups or something. If it ever finds itself > on the OS or /home, it'll be a last resort.

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread Dale
Wols Lists wrote: > On 16/06/20 08:34, Dale wrote: >> Right now, I'm backing up to a 8TB external drive, sadly it is a SMR >> drive but it works. As I go along, I'll be breaking down my backups. >> Example. I may have my Documents directory, which includes my camera >> pics, backed up to one dri

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread Dale
Neil Bothwick wrote: > On Tue, 16 Jun 2020 02:34:55 -0500, Dale wrote: > >> Even if I build a NAS setup, I still need a backup arrangement.  Even if >> I have a RAID setup, still need backups.  It gets complicated for sure.  >> Sort of expensive too.  Just imagine if my DSL was 10 times faster.  >>

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread Neil Bothwick
On Tue, 16 Jun 2020 02:34:55 -0500, Dale wrote: > Even if I build a NAS setup, I still need a backup arrangement.  Even if > I have a RAID setup, still need backups.  It gets complicated for sure.  > Sort of expensive too.  Just imagine if my DSL was 10 times faster.  > O_O  I'd need to order driv

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread Wols Lists
On 16/06/20 08:34, Dale wrote: > Right now, I'm backing up to a 8TB external drive, sadly it is a SMR > drive but it works. As I go along, I'll be breaking down my backups. > Example. I may have my Documents directory, which includes my camera > pics, backed up to one drive. I may have videos b

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread Dale
William Kenworthy wrote: > > In case no one has mentioned it, check out "stress" and "stress-ng" - > they have HDD tests available. (I am going to have to look into that > --ignite-cpu option ... :) > > BillK > > I did see that mentioned somewhere but forgot about it.  Another option.  May have to

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread Dale
Mark Knecht wrote: > > > On Mon, Jun 15, 2020 at 12:37 PM Dale > wrote: > > > > Howdy, > > > > I finally bought a 8TB drive.  It is used but they claim only a > short duration.  Still, I want to test it to be sure it is in grade A > shape before putting a lot of data o

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread William Kenworthy
In case no one has mentioned it, check out "stress" and "stress-ng" - they have HDD tests available. (I am going to have to look into that --ignite-cpu option ... :) BillK On 16/6/20 3:17 pm, Dale wrote: > David Haller wrote: >> Hello, >> >> On Mon, 15 Jun 2020, Dale wrote: >> [..] >>> While I'm

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-16 Thread Dale
David Haller wrote: > Hello, > > On Mon, 15 Jun 2020, Dale wrote: > [..] >> While I'm at it, when running dd, I have zero and random in /dev.  Where >> does a person obtain a one?  In other words, I can write all zeros, I >> can write all random but I can't write all ones since it isn't in /dev.  >

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-15 Thread madscientistatlarge
I just tested a couple of 4TB drives, the hgst 7k400 series (7200 rpm), it takes about a day to fill one of those, copying from another one of those. I prefer to use "real" data, rather than a test pattern. My procedure is to first run the short SMART test, format the drive (which also takes awh

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-15 Thread David Haller
Hello, On Mon, 15 Jun 2020, Dale wrote: [..] >While I'm at it, when running dd, I have zero and random in /dev.  Where >does a person obtain a one?  In other words, I can write all zeros, I >can write all random but I can't write all ones since it isn't in /dev.  >Does that even exist?  Can I crea

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-15 Thread Mark Knecht
On Mon, Jun 15, 2020 at 1:01 PM Rich Freeman wrote: > > On Mon, Jun 15, 2020 at 3:54 PM Mark Knecht wrote: > > > > The SMART test, long version, will do a very reasonable job catching problems. Run it 2 or 3 times if it makes you feel better. > > > > Chris's suggestion about Spinrite is another o

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-15 Thread Rich Freeman
On Mon, Jun 15, 2020 at 3:54 PM Mark Knecht wrote: > > The SMART test, long version, will do a very reasonable job catching > problems. Run it 2 or 3 times if it makes you feel better. > > Chris's suggestion about Spinrite is another option but it is slow, slow, > slow. Might take you weeks? On

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-15 Thread Mark Knecht
On Mon, Jun 15, 2020 at 12:37 PM Dale wrote: > > Howdy, > > I finally bought a 8TB drive. It is used but they claim only a short duration. Still, I want to test it to be sure it is in grade A shape before putting a lot of data on it and depending on it. I am familiar with some tools already. I

Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-15 Thread Spackman, Chris
On 2020/06/15 at 11:07am, Dale wrote: > I finally bought a 8TB drive.  It is used but they claim only a short > duration.  Still, I want to test it to be sure it is in grade A shape > before putting a lot of data on it and depending on it.  I am familiar > with some tools already.  I know about SM