I can't seem to find autofs-4.1.3-131.src.rpm on the download mirrors...
I notice that there are not many SRPMS in the 4.1 /centos/4.1/os/SRPMS directory on the download mirrors - is this because most can be found under /centos/4.0/os/SRPMS and /centos/4.0/updates/SRPMS? - or should all the 4.1 SRPMS be in /centos/4.1/os/SRPMS ?
Thanks
James Pearson
On Wed, 2005-06-22 at 14:24 +0100, James Pearson wrote:
I can't seem to find autofs-4.1.3-131.src.rpm on the download mirrors...
I notice that there are not many SRPMS in the 4.1 /centos/4.1/os/SRPMS directory on the download mirrors - is this because most can be found under /centos/4.0/os/SRPMS and /centos/4.0/updates/SRPMS? - or should all the 4.1 SRPMS be in /centos/4.1/os/SRPMS ?
The SRPMS are not there yet ... I am gathering them up from myself and other developers (as we have more than 1 build machine and more than one build developer). I was also working 2 issues (which are now complete) that might have require SRPMS changes.
That specific one is not at all changed from the upstream version which is available here: http://ftp.redhat.com/pub/redhat/linux/updates/enterprise/4AS/en/os/SRPMS/
If an rpm is not marked as .centos4 (or .centosX for other versions) it has not been modified by the CentOS team.
I am trying to get these SRPMS updated, once I have them all together, they will be at:
/centos/4.1/os/SRPMS
Should be soon
Hello,
I have a problem with my server :
Sometimes, this server is used to stop running. It doesn't shut down but it stops running (with a noise on the hard drive) and there's no other way to shut down than pushing the power button during a long time. I don't think that it comes from the hard drive because I have the same effect with two hard drives.
Here comes the best : Today it stops running during boot procedure and now, when I reboot the server, I have the following error message :
Buffer I/O error on /dev/hda2 device block 0 Buffer I/O error on /dev/hda2 device block 1 Buffer I/O error on /dev/hda2 device block 2 Buffer I/O error on /dev/hda2 device block 3 Buffer I/O error on /dev/hda2 device block 5 Buffer I/O error on /dev/hda2 device block 0 etc...
I have two questions :
Is there a way to recover data on /dev/hda2 ? (I tried linux rescue but it didn't find the linux installation) Is there a way to know why the server stops suddenly to run ?
Thank you for any help,
Jean LEE
This sure sounds like a failing hard drive to me. Over the years, I've had probably a dozen drives fail, almost always starting with I/O errors. A power cycle is frequently required. In fact, I'll be replacing a drive at home today!
Having two drives doesn't improve things. The system is still going to try to access the failing drive and will still generate I/O errors.
If rescue mode couldn't see the disk, you're probably out of luck. Sorry.
Kirk Bocek
Jean Lee wrote:
Hello,
I have a problem with my server :
Sometimes, this server is used to stop running. It doesn't shut down but it stops running (with a noise on the hard drive) and there's no other way to shut down than pushing the power button during a long time. I don't think that it comes from the hard drive because I have the same effect with two hard drives.
Here comes the best : Today it stops running during boot procedure and now, when I reboot the server, I have the following error message :
Buffer I/O error on /dev/hda2 device block 0 Buffer I/O error on /dev/hda2 device block 1 Buffer I/O error on /dev/hda2 device block 2 Buffer I/O error on /dev/hda2 device block 3 Buffer I/O error on /dev/hda2 device block 5 Buffer I/O error on /dev/hda2 device block 0 etc...
I have two questions :
Is there a way to recover data on /dev/hda2 ? (I tried linux rescue but it didn't find the linux installation) Is there a way to know why the server stops suddenly to run ?
Thank you for any help,
Jean LEE
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
try something like this. fdisk -l /dev/hda (no 1,2 etc just the drive) if it gives you back some partition table then you have hope. try to mount the drive with ro (read only option we do not need to change anything on it, we just want the data) If this fails for any reason, try to dd the whole disk to another (good one) and then mounting and perhaps fsck might give you your data back. Try in the archive there was an excelent post on this procedure just a few days ago.
Best luck,
Nikos Zaharioudakis
On 6/22/05, Jean Lee jean.lee@free.fr wrote:
Hello,
I have a problem with my server :
Sometimes, this server is used to stop running. It doesn't shut down but it stops running (with a noise on the hard drive) and there's no other way to shut down than pushing the power button during a long time. I don't think that it comes from the hard drive because I have the same effect with two hard drives.
Here comes the best : Today it stops running during boot procedure and now, when I reboot the server, I have the following error message :
Buffer I/O error on /dev/hda2 device block 0 Buffer I/O error on /dev/hda2 device block 1 Buffer I/O error on /dev/hda2 device block 2 Buffer I/O error on /dev/hda2 device block 3 Buffer I/O error on /dev/hda2 device block 5 Buffer I/O error on /dev/hda2 device block 0 etc...
I have two questions :
Is there a way to recover data on /dev/hda2 ? (I tried linux rescue but it didn't find the linux installation) Is there a way to know why the server stops suddenly to run ?
Thank you for any help,
Jean LEE
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, 22 Jun 2005, Nikos Zaharioudakis wrote:
try something like this. fdisk -l /dev/hda (no 1,2 etc just the drive) if it gives you back some partition table then you have hope.
Even when it fails to return a partition table there is still hope.
I actually had problems, fdisk -l didn't work, partitions couldn't be mounted read-only. But after ddrescueing the complete disk I still had 99.983% of my disk (about 30MB of the 160GB was lost, most of it on the recently formatted and therefor empty partition, only 2.2MB of real data was impacted)
Strangely, fdisk -l on the copied disk worked without a problem. According to ddrescues output:
Bad region size 32768 at position 4096 Bad region size 4096 at position 49152 ...
I verified fdisk's behaviour with strace and apparently it first reads the first 512 bytes, but then strangely reads the first 8k. Since that fails, I was out of luck.
try to mount the drive with ro (read only option we do not need to change anything on it, we just want the data)
Don't do this after a reboot, chances are the disk is dying, might go bad while using it and the filesystem might not recover from the problems anyway. If the system was still running, you might want to copy files off the filesystem (since the disk might not come back after a reboot). If you rebooted the system, use a rescue CD (knoppix) that has dd_rescue on it and use that to copy the complete block-device.
You can also download gnu ddrescue to your knoppix ramdisk, compile it and use that. It is more sophisticated and you can first recover the major working areas with a big blocksize and later refine the bad areas (when the disk might be even less reliable).
If this fails for any reason, try to dd the whole disk to another (good one) and then mounting and perhaps fsck might give you your data back.
dd will not work if you have bad blocks, it fails on the first bad block.
Also, before running fsck you might want to make a second copy, in case the fsck fails. You don't need to copy everything back from the broken disk, but instead try to refine copying the bad areas (some reports say freezing the disk in the freezer helps ?).
In my case it took 18h to copy the good parts, but refining the bad areas takes 4 secs for 1 bad block (512 bytes). So you might not want to do that at first or it could take a week (in my case 3 days for 30MB) refining every bad area.
-- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]
Depending on the disk, you can possibly get a vendor tool to disable bad block relocation. This way, if a block can't be read the disk will not do it's internal magic to remap the block to another part of the disk. Some vendors also offer a disk copy tool which can skip the unreadable parts, similar to what ddrescue ends up doing but can be significantly faster.
John.
Dag Wieers wrote:
On Wed, 22 Jun 2005, Nikos Zaharioudakis wrote:
try something like this. fdisk -l /dev/hda (no 1,2 etc just the drive) if it gives you back some partition table then you have hope.
Even when it fails to return a partition table there is still hope.
I actually had problems, fdisk -l didn't work, partitions couldn't be mounted read-only. But after ddrescueing the complete disk I still had 99.983% of my disk (about 30MB of the 160GB was lost, most of it on the recently formatted and therefor empty partition, only 2.2MB of real data was impacted)
Strangely, fdisk -l on the copied disk worked without a problem. According to ddrescues output:
Bad region size 32768 at position 4096 Bad region size 4096 at position 49152 ...
I verified fdisk's behaviour with strace and apparently it first reads the first 512 bytes, but then strangely reads the first 8k. Since that fails, I was out of luck.
try to mount the drive with ro (read only option we do not need to change anything on it, we just want the data)
Don't do this after a reboot, chances are the disk is dying, might go bad while using it and the filesystem might not recover from the problems anyway. If the system was still running, you might want to copy files off the filesystem (since the disk might not come back after a reboot). If you rebooted the system, use a rescue CD (knoppix) that has dd_rescue on it and use that to copy the complete block-device.
You can also download gnu ddrescue to your knoppix ramdisk, compile it and use that. It is more sophisticated and you can first recover the major working areas with a big blocksize and later refine the bad areas (when the disk might be even less reliable).
If this fails for any reason, try to dd the whole disk to another (good one) and then mounting and perhaps fsck might give you your data back.
dd will not work if you have bad blocks, it fails on the first bad block.
Also, before running fsck you might want to make a second copy, in case the fsck fails. You don't need to copy everything back from the broken disk, but instead try to refine copying the bad areas (some reports say freezing the disk in the freezer helps ?).
In my case it took 18h to copy the good parts, but refining the bad areas takes 4 secs for 1 bad block (512 bytes). So you might not want to do that at first or it could take a week (in my case 3 days for 30MB) refining every bad area.
-- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power] _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, 2005-06-22 at 08:34 -0500, Johnny Hughes wrote:
On Wed, 2005-06-22 at 14:24 +0100, James Pearson wrote:
I can't seem to find autofs-4.1.3-131.src.rpm on the download mirrors...
I notice that there are not many SRPMS in the 4.1 /centos/4.1/os/SRPMS directory on the download mirrors - is this because most can be found under /centos/4.0/os/SRPMS and /centos/4.0/updates/SRPMS? - or should all the 4.1 SRPMS be in /centos/4.1/os/SRPMS ?
The SRPMS are not there yet ... I am gathering them up from myself and other developers (as we have more than 1 build machine and more than one build developer). I was also working 2 issues (which are now complete) that might have require SRPMS changes.
That specific one is not at all changed from the upstream version which is available here: http://ftp.redhat.com/pub/redhat/linux/updates/enterprise/4AS/en/os/SRPMS/
If an rpm is not marked as .centos4 (or .centosX for other versions) it has not been modified by the CentOS team.
I am trying to get these SRPMS updated, once I have them all together, they will be at:
/centos/4.1/os/SRPMS
Should be soon
OK ... the CentOS-4.1 SRPMS are on mirror.centos.org they are at:
On Wed, Jun 22, 2005 at 04:35:02PM -0500, Johnny Hughes wrote:
OK ... the CentOS-4.1 SRPMS are on mirror.centos.org they are at: http://mirror.centos.org/centos/4/os/SRPMS
awesome. thanks.
On Wed, 2005-06-22 at 18:54 -0400, Matthew Miller wrote:
On Wed, Jun 22, 2005 at 04:35:02PM -0500, Johnny Hughes wrote:
OK ... the CentOS-4.1 SRPMS are on mirror.centos.org they are at: http://mirror.centos.org/centos/4/os/SRPMS
awesome. thanks.
Also, what debuginfo we have for CentOS-4.x is going up right now to:
http://vault.centos.org/debuginfo/
It may take a several hours before everything we have is uploaded.
On Wed, Jun 22, 2005 at 06:06:20PM -0500, Johnny Hughes wrote:
Also, what debuginfo we have for CentOS-4.x is going up right now to: http://vault.centos.org/debuginfo/
Cool -- I'll change to mirror offa that directly.
Johnny Hughes wrote:
OK ... the CentOS-4.1 SRPMS are on mirror.centos.org they are at:
Thanks
James Pearson