Re: HELP! Re: How to fix I/O errors? (SOLVED)

2017-02-13 Thread Mark Fletcher
On Sun, Feb 12, 2017 at 09:36:16PM -0500, Bob Weber wrote: > I use a program called ossec. It watches logs of all my linux boxes so I get > email messages about disk problems. I also do periodic self tests on all my > drives controlled by smartd from the smartmontools package. I also use a >

Re: HELP! Re: How to fix I/O errors? (SOLVED)

2017-02-12 Thread Marc Shapiro
On 02/12/2017 06:36 PM, Bob Weber wrote: After writing this I wonder if I am over doing this. I just don't want to loose data from a failing drive. I lived through 3.5 inch floppies which seemed to always fail. And tape drives that were painfully slow. Not to mention back in the mid 70s

Re: HELP! Re: How to fix I/O errors? (SOLVED)

2017-02-12 Thread Bob Weber
On 02/12/2017 01:59 PM, Marc Shapiro wrote: > On 02/12/2017 08:30 AM, Marc Auslander wrote: >> I do not use LVM over raid 1. I think it can be made to work, >> although IIRC booting from an LVM over RAID partion has caused issues. > my boot partitions are separate. They are not under LVM. >> LVM

Re: HELP! Re: How to fix I/O errors? (SOLVED)

2017-02-12 Thread Marc Auslander
Marc Shapiro writes: > BTW, what is your third partition, and why would you not separate it > now if starting from scratch? My third partition is for backups which I make to protect against software or operator error. At one point it was on a separate disk since disks were

Re: HELP! Re: How to fix I/O errors? (SOLVED)

2017-02-12 Thread Marc Shapiro
On 02/12/2017 08:30 AM, Marc Auslander wrote: I do not use LVM over raid 1. I think it can be made to work, although IIRC booting from an LVM over RAID partion has caused issues. my boot partitions are separate. They are not under LVM. LVM is useful when space requirements are changing over

Re: HELP! Re: How to fix I/O errors? (SOLVED)

2017-02-12 Thread Marc Auslander
Marc Shapiro writes: > the past couple of weeks. AIUI you can use LVM over raid. Is there > any actual advantage to this? I was trying to determine the > advantages of using straight raid, straight LVM, or LVM over raid. If > I decide, later, to use raid, how dificult is

Re: HELP! Re: How to fix I/O errors? (SOLVED)

2017-02-12 Thread Bob Weber
I use raid 1 also for the redundancy it provides. If I need a backup I just connect a disk, grow each array and add it to the array (I have 3 arrays for /, /home and swap). It syncs up in a couple hours (depending on size of the array). If you have grub install itself on the added disk you have

Re: HELP! Re: How to fix I/O errors? (SOLVED)

2017-02-11 Thread Marc Shapiro
On 02/11/2017 05:22 PM, Marc Auslander wrote: You didn't ask for advice so take it or ignore it. IMHO, in this day and age, there is no reason not to run raid 1. Two disks, identially partitioned, each parition set up as a raid 1 partition with two copies. When a disk dies, you remove it from

Re: HELP! Re: How to fix I/O errors? (SOLVED)

2017-02-11 Thread Felix Miata
Marc Auslander composed on 2017-02-11 20:22 (UTC-0500): IMHO, in this day and age, there is no reason not to run raid 1. Are you sure? Laptops have been outselling desktops for years. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living

Re: HELP! Re: How to fix I/O errors? (SOLVED)

2017-02-11 Thread Marc Auslander
You didn't ask for advice so take it or ignore it. IMHO, in this day and age, there is no reason not to run raid 1. Two disks, identially partitioned, each parition set up as a raid 1 partition with two copies. When a disk dies, you remove it from all the raid partitions, pop in a new disk,

Re: HELP! Re: How to fix I/O errors? (SOLVED)

2017-02-11 Thread David Christensen
On 02/10/17 23:39, Marc Shapiro wrote: On 02/08/2017 05:32 PM, David Christensen wrote: On 02/08/17 15:59, Marc Shapiro wrote: So how do I lay down a low level format on [the new 1 TB] drive? I would use the SeaTools bootable CD to fill the drive with zeroes: On 02/03/17 23:13, David

Re: HELP! Re: How to fix I/O errors? (SOLVED)

2017-02-10 Thread Marc Shapiro
On 02/08/2017 05:32 PM, David Christensen wrote: On 02/08/17 15:59, Marc Shapiro wrote: So how do I lay down a low level format on [the new 1 TB] drive? I would use the SeaTools bootable CD to fill the drive with zeroes: On 02/03/17 23:13, David Christensen wrote: > Sometimes you get lucky

Re: HELP! Re: How to fix I/O errors?

2017-02-10 Thread Ric Moore
On 02/09/2017 12:13 PM, Greg Wooledge wrote: You shared your philosophy ("tear it all down and rebuild it from scratch every two years") I don't know where you got this. The OP was having one helluva time with a harddrive. I suggested that he create a partition to store his personal files

Re: HELP! Re: How to fix I/O errors?

2017-02-09 Thread Greg Wooledge
On Thu, Feb 09, 2017 at 12:03:18PM -0500, Ric Moore wrote: > How so?? Don't "many other operating systems" have different > configuration files in many other locations?? I wouldn't expect BSD > config files to migrate to Linux, or Windows to do anything useful. When I shared my $HOME between

Re: HELP! Re: How to fix I/O errors?

2017-02-09 Thread Ric Moore
On 02/09/2017 08:10 AM, Greg Wooledge wrote: On Wed, Feb 08, 2017 at 06:06:34PM -0500, Ric Moore wrote: Careful there, I would not copy any of the /home/username/dot-files or dot directories over, except like .mozilla and .thunderbird, so you don't carry over some old and crufty setting that

Re: HELP! Re: How to fix I/O errors?

2017-02-09 Thread Greg Wooledge
On Wed, Feb 08, 2017 at 06:06:34PM -0500, Ric Moore wrote: > Careful there, I would not copy any of the /home/username/dot-files or > dot directories over, except like .mozilla and .thunderbird, so you > don't carry over some old and crufty setting that might have been > problematic. I have

Re: HELP! Re: How to fix I/O errors?

2017-02-08 Thread rhkramer
On Wednesday, February 08, 2017 06:37:55 PM Marc Shapiro wrote: > On 02/08/2017 03:06 PM, Ric Moore wrote: > > On 02/08/2017 04:38 PM, Marc Shapiro wrote: > > Careful there, I would not copy any of the /home/username/dot-files or > > dot directories over, except like .mozilla and .thunderbird, so

Re: HELP! Re: How to fix I/O errors?

2017-02-08 Thread David Christensen
On 02/08/17 15:59, Marc Shapiro wrote: So how do I lay down a low level format on [the new 1 TB] drive? I would use the SeaTools bootable CD to fill the drive with zeroes: On 02/03/17 23:13, David Christensen wrote: > Sometimes you get lucky and the tool is a live CD: > >

Re: HELP! Re: How to fix I/O errors?

2017-02-08 Thread Marc Shapiro
On 02/08/2017 03:37 PM, Marc Shapiro wrote: On 02/08/2017 03:06 PM, Ric Moore wrote: On 02/08/2017 04:38 PM, Marc Shapiro wrote: On 02/08/2017 01:26 PM, Ric Moore wrote: On 02/08/2017 02:37 AM, Marc Shapiro wrote: How it went is not well. I tested the new drive with SeagateTools and it was

Re: HELP! Re: How to fix I/O errors?

2017-02-08 Thread Marc Shapiro
On 02/08/2017 03:06 PM, Ric Moore wrote: On 02/08/2017 04:38 PM, Marc Shapiro wrote: On 02/08/2017 01:26 PM, Ric Moore wrote: On 02/08/2017 02:37 AM, Marc Shapiro wrote: How it went is not well. I tested the new drive with SeagateTools and it was fine. Then I made a clonezilla live CD and

Re: HELP! Re: How to fix I/O errors?

2017-02-08 Thread Ric Moore
On 02/08/2017 04:38 PM, Marc Shapiro wrote: On 02/08/2017 01:26 PM, Ric Moore wrote: On 02/08/2017 02:37 AM, Marc Shapiro wrote: How it went is not well. I tested the new drive with SeagateTools and it was fine. Then I made a clonezilla live CD and booted from it. It stopped on the first

Re: HELP! Re: How to fix I/O errors?

2017-02-08 Thread David Christensen
On 02/07/17 23:37, Marc Shapiro wrote: > How it went is not well. > David Christensen wrote: >> Run memtest86+ for 24+ hours to verify that you don't have a memory >> problem. Did you test the memory? If not, test it now just to be sure. >> Use SeaTools to wipe the new 1 TB drive and run the

HELP! Re: How to fix I/O errors?

2017-02-07 Thread Marc Shapiro
How it went is not well. I tested the new drive with SeagateTools and it was fine. Then I made a clonezilla live CD and booted from it. It stopped on the first read error with a message saying to restart using the rescue option. I did that. After 5 hours it finished without mentioning any

Re: How to fix I/O errors?

2017-02-07 Thread Jonathan Dowland
On Fri, Feb 03, 2017 at 01:38:58PM -0800, Marc Shapiro wrote: > I had been trying as root (see above). I do not have smartmontools > currently installed. If I remember correctly, that is only going to be > useful if it was already installed so the daemon could be capturing data > when the

Re: How to fix I/O errors?

2017-02-06 Thread David Christensen
On 02/06/17 13:15, Marc Shapiro wrote: I am pasting the result of smartctl -x /dev/sda below as I have no real clue what to do with the information, but I have a few questions first. 1) I have purchased a new, very similar, Seagate 1TB drive and I plan to install it and copy the whole system to

Re: How to fix I/O errors?

2017-02-06 Thread Felix Miata
Gene Heskett composed on 2017-02-06 12:28 (UTC-0500): That cold spare will eventually develop stiction, seizing the parked haed to the surface of the disk solidly enough that the disk motor cannot break it loose to spin the disk up. Such is best treated by hooking up the cables, but holding

Re: How to fix I/O errors?

2017-02-06 Thread David Christensen
On 02/06/17 09:28, Gene Heskett wrote: That cold spare will eventually develop stiction, seizing the parked haed to the surface of the disk solidly enough that the disk motor cannot break it loose to spin the disk up. Such is best treated by hooking up the cables, but holding the drive in your

Re: How to fix I/O errors?

2017-02-06 Thread David Christensen
On 02/06/17 07:22, Joe Pfeiffer wrote: David Christensen writes: I've found (and heard) that the worst thing I can do to a HDD is put it on the shelf and let it rot. I've had more than a few that failed shortly after being put into a computer. I hadn't heard

Re: How to fix I/O errors?

2017-02-06 Thread Marc Shapiro
On 02/03/2017 11:13 PM, David Christensen wrote: On 02/03/17 13:47, Marc Shapiro wrote: On 02/02/2017 10:23 PM, David Christensen wrote: Have you downloaded and run the manufacturer diagnostic utilities for all your drives? What do they say? I have now downloaded and run Seagate's tools

Re: How to fix I/O errors?

2017-02-06 Thread Gene Heskett
On Monday 06 February 2017 10:22:54 Joe Pfeiffer wrote: > David Christensen writes: > > On 02/04/17 07:18, Ric Moore wrote: > >> I'm looking at a Seagate 750 gig drive that went south on me with a > >> pile of errors. Good luck getting Seagate to give a good gosh darn.

Re: How to fix I/O errors?

2017-02-06 Thread Joe Pfeiffer
David Christensen writes: > On 02/04/17 07:18, Ric Moore wrote: >> I'm looking at a Seagate 750 gig drive that went south on me with a pile >> of errors. Good luck getting Seagate to give a good gosh darn. In the >> past I have had mixed results replacing the drive

Re: How to fix I/O errors?

2017-02-04 Thread David Christensen
On 02/04/17 07:18, Ric Moore wrote: I'm looking at a Seagate 750 gig drive that went south on me with a pile of errors. Good luck getting Seagate to give a good gosh darn. In the past I have had mixed results replacing the drive motherboard. I saved two out of three. I doubt I will buy anything

Re: How to fix I/O errors?

2017-02-04 Thread Ric Moore
On 02/03/2017 04:47 PM, Marc Shapiro wrote: On 02/02/2017 10:23 PM, David Christensen wrote: Have you downloaded and run the manufacturer diagnostic utilities for all your drives? What do they say? I have now downloaded and run Seagate's tools and it does show a does show a disk error.

Re: How to fix I/O errors?

2017-02-03 Thread David Christensen
On 02/03/17 13:47, Marc Shapiro wrote: On 02/02/2017 10:23 PM, David Christensen wrote: Have you downloaded and run the manufacturer diagnostic utilities for all your drives? What do they say? I have now downloaded and run Seagate's tools and it does show a does show a disk error. Since it

Re: How to fix I/O errors?

2017-02-03 Thread Marc Shapiro
On 02/02/2017 10:23 PM, David Christensen wrote: Have you downloaded and run the manufacturer diagnostic utilities for all your drives? What do they say? I have now downloaded and run Seagate's tools and it does show a does show a disk error. Since it stops on the first error I do not

Re: How to fix I/O errors?

2017-02-03 Thread Marc Shapiro
On 02/03/2017 06:50 AM, Mark Fletcher wrote: On Thu, Feb 02, 2017 at 11:34:03PM -0800, Marc Shapiro wrote: Have you looked at the SMART reports? Please paste the following command into a root shell, run it once for each drive (replacing /dev/sdX with the corresponding device name), and paste

Re: How to fix I/O errors?

2017-02-03 Thread Mark Fletcher
On Thu, Feb 02, 2017 at 11:34:03PM -0800, Marc Shapiro wrote: > > >Have you looked at the SMART reports? Please paste the following command > >into a root shell, run it once for each drive (replacing /dev/sdX with the > >corresponding device name), and paste both the command and the output into

Re: How to fix I/O errors?

2017-02-02 Thread Marc Shapiro
On 02/02/2017 10:23 PM, David Christensen wrote: On 02/02/17 13:05, Marc Shapiro wrote: I apologize for this being so long, but since the problem occurs sporadically I wanted to get as much information in this post as possible because I don't know when it will happen again. ... What operating

Re: How to fix I/O errors?

2017-02-02 Thread David Christensen
On 02/02/17 13:05, Marc Shapiro wrote: I apologize for this being so long, but since the problem occurs sporadically I wanted to get as much information in this post as possible because I don't know when it will happen again. ... What operating system are you running? Please paste the

Re: How to fix I/O errors?

2017-02-02 Thread Marc Shapiro
On 02/02/2017 04:20 PM, Marc Auslander wrote: A few observations. Are your filesystems journaled. They say ext3, which IIRC does support journaling? the flashplayer should not be able to trash the file system. /var/log/syslog is a place to look for io errors. If you are having them you

Re: How to fix I/O errors?

2017-02-02 Thread Marc Auslander
A few observations. Are your filesystems journaled. They say ext3, which IIRC does support journaling? the flashplayer should not be able to trash the file system. /var/log/syslog is a place to look for io errors. If you are having them you likely have a failing disk and need to replace it

Re: How to fix I/O errors?

2017-02-02 Thread Marc Shapiro
On 02/02/2017 01:40 PM, Marc Shapiro wrote: On 02/02/2017 01:19 PM, to...@tuxteam.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Feb 02, 2017 at 01:05:47PM -0800, Marc Shapiro wrote: I apologize for this being so long, but since the problem occurs sporadically I wanted to get

Re: How to fix I/O errors?

2017-02-02 Thread Marc Shapiro
On 02/02/2017 01:19 PM, to...@tuxteam.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Feb 02, 2017 at 01:05:47PM -0800, Marc Shapiro wrote: I apologize for this being so long, but since the problem occurs sporadically I wanted to get as much information in this post as possible

Re: How to fix I/O errors?

2017-02-02 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Feb 02, 2017 at 01:05:47PM -0800, Marc Shapiro wrote: > I apologize for this being so long, but since the problem occurs > sporadically I wanted to get as much information in this post as > possible because I don't know when it will happen

How to fix I/O errors?

2017-02-02 Thread Marc Shapiro
I apologize for this being so long, but since the problem occurs sporadically I wanted to get as much information in this post as possible because I don't know when it will happen again. This problem started a bout two weeks ago. I woke up to find a black screen and a kernel panic. I