Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-04 Thread Neil Bothwick
On Thu, 3 Nov 2005 18:13:58 -0500, Denis wrote:

 Running df shows that /usr partition is at 18% use.  However,
 running du gives more input/output errors...

Either your filesystem or your disk is screwed, backup NOW!


-- 
Neil Bothwick

Fire at will... NO WORF! Not Commander Riker!


signature.asc
Description: PGP signature


[gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Denis
So last night I do emerge sync, and all of a sudden portage is
giving me a whole lot of I/O errors right before emerge sync is
completed, like

stat app-misc/esekeyd : Input/output error
rsync: recv_generator: mkdir app-misc/esekeyd/files: Input/output error (2)
stat app-misc/esekeyd/files : Input/output error
io timeout after 180 seconds - exiting
rsync error: timeout in data send/receive (code 30) at io.c(85)

The emerge will not complete successfully.  Tried it again this
morning - no luck.  Thought I'd reboot, and on boot-up I get a message
telling me that my /dev/sda4 filesystem, which is where my /usr is
mounted, contains errors.  So as Gentoo is trying to repair it, I hear
periodic beeps coming from inside my PC.  Finally, the PC boots.  I
run emerge sync, and again - same errors that I posted above.  But
this time, I hear beeps from inside my PC even as emerge is running
trying to complete syncing.  The sync will not complete successfully,
so I cannot even use portage until I get a successful sync (right?).

Do I have a problem with my hardware in this case, or is it something
software related?  I am using two big old Seagate SCSI drives (47 GB
each), with Adaptec drivers.

My partition table is as follows, if it helps resolve this:

/dev/sda1 -- /boot  (200MB)
/dev/sda2 -- SWAP (2GB)
/dev/sda3 -- / (25GB)
/dev/sda4 -- /usr (20GB)

/dev/sdb1 -- /home (47GB)

I am running an Intel x86-based system.  Would appreciate any help.
Denis

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Neil Bothwick
On Thu, 3 Nov 2005 09:51:51 -0500, Denis wrote:

 So last night I do emerge sync, and all of a sudden portage is
 giving me a whole lot of I/O errors right before emerge sync is
 completed,

Getting the obvious out of the way first, do you have free space
on /usr/portage?


-- 
Neil Bothwick

Irritable? Who the bloody hell are you calling irritable?


signature.asc
Description: PGP signature


Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread brullo nulla
Looks like your hard drive has something bad, bad, bad.
Try to run the badblocks utility, maybe not from Gentoo but from a live-cd.

m.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Mrugesh Karnik

brullo nulla wrote:

Looks like your hard drive has something bad, bad, bad.
Try to run the badblocks utility, maybe not from Gentoo but from a live-cd.

m.



Even then, you might get the same errors. Looks like a hard disk failure 
to me.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Denis
 Getting the obvious out of the way first, do you have free space
 on /usr/portage?

Neil - I doubt that could be a problem.  I have 20 GB allocated to
/usr partition alone!  I think portage couldn't have filled all that
up - I have had no problems of the sort on other machines, where my
/usr partition was much smaller.

I think hard drive failure is a possibility, although it's kind of
funny that the failure should be limited to just that /usr partition! 
Or does that happen sometimes?  I'll try badblocks and see what I get.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread b.n.

I think hard drive failure is a possibility, although it's kind of
funny that the failure should be limited to just that /usr partition! 
Or does that happen sometimes?  I'll try badblocks and see what I get.


Well, if you have something rotting leading to bad blocks, it can be 
easily limited to just a partition...


m.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Mrugesh Karnik

I think hard drive failure is a possibility, although it's kind of
funny that the failure should be limited to just that /usr partition! 
Or does that happen sometimes?  I'll try badblocks and see what I get.


My dear fellow, I speak from experience. Just last month a hard disk 
(IDE) of mine died after giving out io errors first on the logical 
volume that hosted my /usr/portage. Then my entire volume group started 
giving the same errors and the next thing I know, the drive is dead!


Thinking about it though, is it just a mere coincidance that the errors 
started with /usr/portage?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Neil Bothwick
On Thu, 3 Nov 2005 14:39:28 -0500, Denis wrote:

  Getting the obvious out of the way first, do you have free space
  on /usr/portage?
 
 Neil - I doubt that could be a problem.  I have 20 GB allocated to
 /usr partition alone!  I think portage couldn't have filled all that
 up

It could if you don't clean out /usr/portage/distfiles. My distfiles
directory is 7.5GB (I must get round to cleaning it out sometime) and
packages is quite large too. add in all the other stuff in /usr and
filling 20GB is conceivable, although not particularly likely. how much
free space does it have?

 I think hard drive failure is a possibility, although it's kind of
 funny that the failure should be limited to just that /usr partition! 
 Or does that happen sometimes?

As with many things, the most used parts wear out first :(


-- 
Neil Bothwick

Quick!! Act as if nothing has happened!


signature.asc
Description: PGP signature


Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Denis
Running df shows that /usr partition is at 18% use.  However,
running du gives more input/output errors...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread John Myers
On Thursday 03 November 2005 15:13, Denis wrote:
 Running df shows that /usr partition is at 18% use.  However,
 running du gives more input/output errors...
First, I would back up all your data immediately. You have filesystem 
corruption or hardware failure. And if you have hardware failure, you 
probably also have filesystem corruption. If you have space somewhere, boot 
with a livecd, and copy everything (except /usr/portage) to another place. 
Then, recreate the filesystem, and copy it back. If this works, and the 
errors cease, you're probably OK. If not, you need to buy a new disk


pgpgF2cGyf7RP.pgp
Description: PGP signature