Re: hard error reading: set fstab mounts to frw: can no longer access filesystem

2006-03-21 Thread Derek Ragona

Edwin,

Boot the server single user, -s.  Then if you need to, bring up the IP 
stack manually.  Depending on your mount points, booting single user only 
mounts root, so you can try to fsck the other unmounted filesystems.  Only 
if those file systems are readable will you be able to get your files off.


You can also try tar'ing files to floppy or other removeable drive you may 
have on the server.  Not a great solution, but it may be all you can do.


-Derek

At 08:12 PM 3/20/2006, Edwin D. Vinas wrote:

Hi,

After a power outage my FreeBSD-4.10 server's 40GB HDD had many
fragmentations and no matter how I repeatedly do "fsck", the errors saying
"hard error reading fsbn" are still there. I tried doing fsck over and over
but it seems this is already a hardware error and can no longer be
corrected. So my goal now is to recover my files!

First, I did a "mount -a" and was able to copy some of important files but I
have more data which I need to backup which I thought would only be possible
if I can make the server boot and make it work at least with TCP/IP so I can
transfer data to the other PCs in the LAN. But, after "mount -a", I edited
the fstab to set mounts to "frw" to force mount all drives and not give me
those "hard error reading fsbn". So, I rebooted the machine, only to find
out that after it mounted all partitions the the "/usr/libexec/getty"
something can't be found or executed for ttys and its giving me unending
errors. And there it goes, I can no longer access my filesystem because it
hangs or doesn't have a terminal when the machine is about to finish
booting. There is no prompt anymore, all I can see are the getty errors. If
only I can edit fstab back without "f" option, I can still manually copy my
files to a USB.

Is there anyway to still recover my files? Is there a way  I can edit fstab
to remove "f" option so I can't have those getty errors? Or is it possible
to mount the server's HDD in another FreeBSD machine?


Thanks.
Ed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: hard error reading: set fstab mounts to frw: can no longer access filesystem

2006-03-21 Thread Edwin D. Vinas
I am using FreeBSD-4.10, how do I boot it in single user mode?

-Ed


On 3/21/06, Derek Ragona <[EMAIL PROTECTED]> wrote:
>
> Edwin,
>
> Boot the server single user, -s.  Then if you need to, bring up the IP
> stack manually.  Depending on your mount points, booting single user only
> mounts root, so you can try to fsck the other unmounted filesystems.  Only
> if those file systems are readable will you be able to get your files off.
>
> You can also try tar'ing files to floppy or other removeable drive you may
> have on the server.  Not a great solution, but it may be all you can do.
>
> -Derek
>
>
> At 08:12 PM 3/20/2006, Edwin D. Vinas wrote:
>
> Hi,
>
> After a power outage my FreeBSD-4.10 server's 40GB HDD had many
> fragmentations and no matter how I repeatedly do "fsck", the errors saying
> "hard error reading fsbn" are still there. I tried doing fsck over and
> over
> but it seems this is already a hardware error and can no longer be
> corrected. So my goal now is to recover my files!
>
> First, I did a "mount -a" and was able to copy some of important files but
> I
> have more data which I need to backup which I thought would only be
> possible
> if I can make the server boot and make it work at least with TCP/IP so I
> can
> transfer data to the other PCs in the LAN. But, after "mount -a", I edited
> the fstab to set mounts to "frw" to force mount all drives and not give me
> those "hard error reading fsbn". So, I rebooted the machine, only to find
> out that after it mounted all partitions the the "/usr/libexec/getty"
> something can't be found or executed for ttys and its giving me unending
> errors. And there it goes, I can no longer access my filesystem because it
> hangs or doesn't have a terminal when the machine is about to finish
> booting. There is no prompt anymore, all I can see are the getty errors.
> If
> only I can edit fstab back without "f" option, I can still manually copy
> my
> files to a USB.
>
> Is there anyway to still recover my files? Is there a way  I can edit
> fstab
> to remove "f" option so I can't have those getty errors? Or is it possible
> to mount the server's HDD in another FreeBSD machine?
>
>
> Thanks.
> Ed
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
>


--
--
Edwin D. ViƱas
http://www.wisoy.com
http://www.geocities.com/edwin_vinas/
IN THE WORLD OF SCIENCE,
NOTHING IS IMPOSSIBLE.
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: hard error reading: set fstab mounts to frw: can no longer access filesystem

2006-03-20 Thread Kenyon Ralph
On 3/20/06, Edwin D. Vinas <[EMAIL PROTECTED]> wrote:
> Is there anyway to still recover my files? Is there a way  I can edit fstab
> to remove "f" option so I can't have those getty errors? Or is it possible
> to mount the server's HDD in another FreeBSD machine?

Can't you boot from a FreeBSD CD then mount the bad HD and recover your data?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: hard error reading

2003-10-15 Thread Francesco Casadei
On Wed, Oct 15, 2003 at 02:50:14PM +0200, Marko Leer wrote:
> Hi all,
> 
> This morning I found this entry in the messages:
> 
> Oct 15 08:20:25 pippi /kernel: ad6: hard error reading fsbn 1783727 of 0-15 (ad6 bn 
> 1783727; cn 1769 tn 9 sn 8) trying PIO
> mode
> Oct 15 08:20:27 pippi /kernel: ad6: DMA problem fallback to PIO mode
> 
> >From searching around a bit I noticed that this probably is the
> beginning of the end of ad6 and chances are the disk will not come up
> when the server is rebooted; I haven't tried that yet :-)
> 
> Now ad6 is part of a RAID 1-setup. Does this message mean:
> - this blocks are not used any more; while mirorring the lost data is
> restored on ad6 on some other part
> - you've lost the data and there's no way you ever gonna find out what
> it was
> 
> What I'm also wondering about is if any dumps made now will be accurate.
> 
> Here's some recent atacontrol-output:
> 
[snip]
> end of the original message

Go to http://www.hgst.com/hdd/support/download.htm, download the Drive
Fitness Test (DFT) utility and run it to test the drives.

If the drives are fine you may check if the cabling is ok.

I once had a 'fallback to PIO mode' error with a Promise TX2 IDE RAID
controller and two IBM IC35L040AVER07-0/ER4OA44A.
Each drive had a couple of fans in front of it and one of this was
failing and noisy. I unplugged the fans and the problem went away. I
know this is very strange... but I never had any problem since then!

Francesco Casadei
-- 
You can download my public key from http://digilander.libero.it/fcasadei/
or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...)

Key fingerprint is: 1671 9A23 ACB4 520A E7EE  00B0 7EC3 375F 164E B17B



pgp0.pgp
Description: PGP signature