Re: hard error reading: set fstab mounts to frw: can no longer access filesystem
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
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
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
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
Re: Replacement hard drives, was: Re: Hard error??
the new Seagate 120gb seems to be real quiet and stable for me I cant even hear it running, they have a new motor design and probably is the best bang for the buck right now about $140.00 I had bad luck with quantum, maxtor and IBM and WD but Seagate seem to be very good for me right now. I think there is a website called drivereview.com or something that can better give you a hint. On Saturday 15 February 2003 02:45 pm, Chuck Swiger wrote: > Henrik W Lund wrote: > [ ... ] > > > Anyway, it seems like I have just got to get myself a new drive. On that > > note, has anybody got any idea what I should go for? Any vendors whose > > drives do NOT cave in after half a year? ;) > > Your drive should still be under warrantee, then...? > > To answer your question: I've been fairly happy with Seagate over the > years, and Maxtor has been okay. Seagate's flagship products tend to do > well, at least if you've got an open budget available-- one main > fileserver I run has four Seagate ST336752LC drives ("Cheetah X15 > 36LP"?) in a RAID-1,0. They rock. Maxtor has sometimes seemed to have > better price/performance for their normal drives, which is useful when > one's budget it more constrained. > > Avoid Quantum at all costs. While there was an educational benefit to > learning how to coax more life from one of those famous 105MB's with > stiction, newer Quantum drives are better in the sense that they hold > more data, and worse in that they tend to fail more abruptly and more > permanently. > > IBM and Fujitsu have both been having quality control issues recently, > although the IBM UltraStar lineup used to be pretty good at one point. > I'd also like to give a big thumbs up to recent the Western Digital > series of SE drives with 8MB of cache. WD's previous SCSI drives, like > the 10K 18GB Vantage were good, too. > > As for laptop drives, well, what you want is a single platter drive with > low power consumption, hence low heat-- ie, ones for ultra-thin/light > laptops, something like what Sony's got in their VAIO 505's; expect a > slower spindle speed, though. Even so, laptops tend to take a beating, > and even good laptop drives seem to have about a 25% mortality rate > after 3 years, give or take. > > Anyone know of a laptop that takes SCA (80-pin SCSI) drives? > > Failing that, be nice once SATA + individual IDE channels per drive + > RAID hardware + SCSI layers (TCQ/command protocol/iSCSI/etc) becomes > more common. SATA for the cabling alone will do a world of good. While > I'm thinking about it, a platform-spanning PCI-X version of a SATA/RAID > card would remind me favorably of Adaptec's 2940 (U/UW/OF/etc) series. > > -Chuck > > Disclaimer: Any Clutch fans out there? Last night's show-- in the > hinterlands of Brooklyn, New York; Lamours-- is responsible; any > opinions represented above I may or may not agree with once I finish > recovering. Very good show, finished very late. :-) > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Replacement hard drives, was: Re: Hard error??
Chuck Swiger wrote: Your drive should still be under warrantee, then...? To answer your question: I've been fairly happy with Seagate over the years, and Maxtor has been okay. Seagate's flagship products tend to do well, at least if you've got an open budget available-- one main fileserver I run has four Seagate ST336752LC drives ("Cheetah X15 36LP"?) in a RAID-1,0. They rock. Maxtor has sometimes seemed to have better price/performance for their normal drives, which is useful when one's budget it more constrained. Avoid Quantum at all costs. While there was an educational benefit to learning how to coax more life from one of those famous 105MB's with stiction, newer Quantum drives are better in the sense that they hold more data, and worse in that they tend to fail more abruptly and more permanently. IBM and Fujitsu have both been having quality control issues recently, although the IBM UltraStar lineup used to be pretty good at one point. I'd also like to give a big thumbs up to recent the Western Digital series of SE drives with 8MB of cache. WD's previous SCSI drives, like the 10K 18GB Vantage were good, too. As for laptop drives, well, what you want is a single platter drive with low power consumption, hence low heat-- ie, ones for ultra-thin/light laptops, something like what Sony's got in their VAIO 505's; expect a slower spindle speed, though. Even so, laptops tend to take a beating, and even good laptop drives seem to have about a 25% mortality rate after 3 years, give or take. Anyone know of a laptop that takes SCA (80-pin SCSI) drives? Failing that, be nice once SATA + individual IDE channels per drive + RAID hardware + SCSI layers (TCQ/command protocol/iSCSI/etc) becomes more common. SATA for the cabling alone will do a world of good. While I'm thinking about it, a platform-spanning PCI-X version of a SATA/RAID card would remind me favorably of Adaptec's 2940 (U/UW/OF/etc) series. -Chuck Disclaimer: Any Clutch fans out there? Last night's show-- in the hinterlands of Brooklyn, New York; Lamours-- is responsible; any opinions represented above I may or may not agree with once I finish recovering. Very good show, finished very late. :-) I'm wondering if whether or not the whole thing was due to my own misdoing. A buddy of mine scolded me after having explained the situation, as I apparently had messed things up (you know, the way newbies do). I guess I bit off more than I could chew when I started cvsupping and rebuilding the world. ;) Anyway, I formatted the drive and did a clean install, and it seems to be working fine now, for the time being at least. No hard errors yet. But still, thanks for the suggestions. In case it starts acting up again, I'll have this reference. -Henrik FreeBSD newbie and fanatic. _ MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og dine venner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Replacement hard drives, was: Re: Hard error??
Henrik W Lund wrote: [ ... ] Anyway, it seems like I have just got to get myself a new drive. On that note, has anybody got any idea what I should go for? Any vendors whose drives do NOT cave in after half a year? ;) Your drive should still be under warrantee, then...? To answer your question: I've been fairly happy with Seagate over the years, and Maxtor has been okay. Seagate's flagship products tend to do well, at least if you've got an open budget available-- one main fileserver I run has four Seagate ST336752LC drives ("Cheetah X15 36LP"?) in a RAID-1,0. They rock. Maxtor has sometimes seemed to have better price/performance for their normal drives, which is useful when one's budget it more constrained. Avoid Quantum at all costs. While there was an educational benefit to learning how to coax more life from one of those famous 105MB's with stiction, newer Quantum drives are better in the sense that they hold more data, and worse in that they tend to fail more abruptly and more permanently. IBM and Fujitsu have both been having quality control issues recently, although the IBM UltraStar lineup used to be pretty good at one point. I'd also like to give a big thumbs up to recent the Western Digital series of SE drives with 8MB of cache. WD's previous SCSI drives, like the 10K 18GB Vantage were good, too. As for laptop drives, well, what you want is a single platter drive with low power consumption, hence low heat-- ie, ones for ultra-thin/light laptops, something like what Sony's got in their VAIO 505's; expect a slower spindle speed, though. Even so, laptops tend to take a beating, and even good laptop drives seem to have about a 25% mortality rate after 3 years, give or take. Anyone know of a laptop that takes SCA (80-pin SCSI) drives? Failing that, be nice once SATA + individual IDE channels per drive + RAID hardware + SCSI layers (TCQ/command protocol/iSCSI/etc) becomes more common. SATA for the cabling alone will do a world of good. While I'm thinking about it, a platform-spanning PCI-X version of a SATA/RAID card would remind me favorably of Adaptec's 2940 (U/UW/OF/etc) series. -Chuck Disclaimer: Any Clutch fans out there? Last night's show-- in the hinterlands of Brooklyn, New York; Lamours-- is responsible; any opinions represented above I may or may not agree with once I finish recovering. Very good show, finished very late. :-) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Hard error??
Anyway, it seems like I have just got to get myself a new drive. On that note, has anybody got any idea what I should go for? Any vendors whose drives do NOT cave in after half a year? ;) I choose Maxtor for several reasons. First off, I've been using Maxtor disks the most since I started out in computers and haven't had one fail yet (running every OS i've tested). Now that I'm alittle more experienced, I use Maxtor because of its standing credibility with me, and, because the Chairman of the T13[1] (technical committee for ATA[-ATAPI] development) is from Maxtor Corporation. They are most likely to want to adhere to a published specification (along with other T13 members), rather than develop chipsets that are rushed to keep up with a $25 billion a year industry. Don [1] T13 technical committee http://www.t13.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Hard error??
Is this a bug in the FreeBSD ATA driver then? Its entirely possible, but, I, personally, wouldn't know for sure. I'm just getting in to the depths of the ATA specs. It may not be a bug so much as a lack of handling specific DMA issues. Maybe someone should CC freebsd-{hardware,hackers}@ Don To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Hard error??
Thanks for all your help, even though the situation turned out to be rather grim. Definitely moreso than I had hoped. Anyway, it seems like I have just got to get myself a new drive. On that note, has anybody got any idea what I should go for? Any vendors whose drives do NOT cave in after half a year? ;) Again, thanks for all your help. I appreciate it. -Henrik _ MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og dine venner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Hard error??
On Fri, Feb 14, 2003 at 02:19:34PM -0500, Chuck Swiger wrote: > Henrik W Lund wrote: > [ ... ] > >Anyway, I want to know for sure that this disk failure is not due to any > >FreeBSD shenanigans, as I do not want to buy a new drive and install > >FreeBSD to it, only to have it crash on me just days later. > > Fair enough. Check with the vendor of your hard drive (or the laptop) > for their hard-drive test utilities. You should be able to do a > non-destructive read test and see what you see > My drive really did fail after attempting to install FreeBSD - I mananged to get the BIOS and Windows to recognise it long enough to run IBM's smartdefender program. It told me the drive was basically dead. Bruce Cran To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Hard error??
Fair enough. Check with the vendor of your hard drive (or the laptop) for their hard-drive test utilities. You should be able to do a non-destructive read test and see what you see -Chuck Oh, just something that occured to me now: do you think this may be due to the harddrive overheating? Maybe a fan isn't working, or a ventilation grill has been covered up. The computer has been turned on for quite extended periods of time lately. Yay, nay? Possible cause? _ MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og dine venner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Hard error??
Henrik W Lund wrote: [ ... ] Anyway, I want to know for sure that this disk failure is not due to any FreeBSD shenanigans, as I do not want to buy a new drive and install FreeBSD to it, only to have it crash on me just days later. Fair enough. Check with the vendor of your hard drive (or the laptop) for their hard-drive test utilities. You should be able to do a non-destructive read test and see what you see -Chuck To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Hard error??
Is this a bug in the FreeBSD ATA driver then? I used an IBM DeskStar drive and had Linux running perfectly well on it. I backed up all my data, deleted the partitions and went to install FreeBSD on it. The installation failed with lots of 'hard error' messages. Did FreeBSD kill my hard drive, or was it just luck that I got my data off the drive with minutes to spare? I know DeskStar drives are notorious for failure, but I did indeed have DMA66 and DMA33 drives on the same channel, and thought it a bit suspicious that the drive died at the instant I tried to install FreeBSD. Bruce Cran Yeah, this also occured to me, as I have been running WinXP on my drive without problems. The really wierd bit is that I only get the messages when writing to (or reading from) /usr (i run a dedicated partition for /usr. You know, the automatic single disk setup when installing FreeBSD). Wait, maybe that isn't so wierd after all. Anyway, I want to know for sure that this disk failure is not due to any FreeBSD shenanigans, as I do not want to buy a new drive and install FreeBSD to it, only to have it crash on me just days later. _ MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og dine venner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Hard error??
On Fri, Feb 14, 2003 at 01:19:39PM -0500, northern snowfall wrote: > I used to get this error on a FreeBSD while using a perfectly stable > harddrive. That > harddrive is managed via Solaris now, but, I determined the issue during > its FreeBSD > usage was DMA. If you are running two disks on the same ATA channel with > different DMA capabilities, the capabilities may be causing scrambles in > the > negotiation of I/O on the line. The solution is to put ATA drives that > use _only_ the > same DMA caps on the same ATA channel. If you only have two drives, simply > put ATA0.1 on ATA1.0. This stopped my "falling back to PIO" messages and > probably saved the disk from hard failure caused by misuse. > Don Is this a bug in the FreeBSD ATA driver then? I used an IBM DeskStar drive and had Linux running perfectly well on it. I backed up all my data, deleted the partitions and went to install FreeBSD on it. The installation failed with lots of 'hard error' messages. Did FreeBSD kill my hard drive, or was it just luck that I got my data off the drive with minutes to spare? I know DeskStar drives are notorious for failure, but I did indeed have DMA66 and DMA33 drives on the same channel, and thought it a bit suspicious that the drive died at the instant I tried to install FreeBSD. Bruce Cran To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Hard error??
I used to get this error on a FreeBSD while using a perfectly stable harddrive. That harddrive is managed via Solaris now, but, I determined the issue during its FreeBSD usage was DMA. If you are running two disks on the same ATA channel with different DMA capabilities, the capabilities may be causing scrambles in the negotiation of I/O on the line. The solution is to put ATA drives that use _only_ the same DMA caps on the same ATA channel. If you only have two drives, simply put ATA0.1 on ATA1.0. This stopped my "falling back to PIO" messages and probably saved the disk from hard failure caused by misuse. Don To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Hard error??
Verify your backups, and get a new drive. -Chuck Wow... This is a real nightmare come true. :/ And 2.5" drives are sooo cheap! Oh well, at least I won't lose important data. _ MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og dine venner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Hard error??
Henrik W Lund wrote: I'm running 4.7-STABLE on a Compaq Evo1000v, and am generally quite satisfied. During the last couple of hours, however, I have been getting the weirdest messages whenever I try to do anything: ad0s1g: hard error reading fsbn 70863167 of 34268000-34268031 (ad0s1 bn 70863167; cn 4686 tn 172 sn 11) trying PIO mode ad0s1g: hard error reading fsbn 70863183 of 34268000-34268031 (ad0s1 bn 70863183; cn 4686 tn 172 sn 27) status=59 error=01 ad0s1g: hard error reading fsbn 70863183 of 34268000-34268031 (ad0s1 bn 70863183; cn 4686 tn 172 sn 27) status=59 error=01 ad0s1g: hard error reading fsbn 70863183 of 34268000-34268031 (ad0s1 bn 70863183; cn 4686 tn 172 sn 27) status=59 error=01 ad0s1g: hard error reading fsbn 70863183 of 34268000-34268031 (ad0s1 bn 70863183; cn 4686 tn 172 sn 27) status=59 error=01 ... ... (repeat to fade) What is this? Please, don't tell me my hard drive is about to go ape. What do I do? Yes, barring dirty power or loose cables, it's either your HDD or the controller that's on the fritz. In my experience, it's usually the HDD, although I've seen controllers act up as well. Whatever you attempt to do to fix this, make sure you have backups right away. Data could already be lost. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Hard error??
Henrik W Lund wrote: [ ... ] ad0s1g: hard error reading fsbn 70863183 of 34268000-34268031 (ad0s1 bn 70863183; cn 4686 tn 172 sn 27) status=59 error=01 ... ... (repeat to fade) What is this? Please, don't tell me my hard drive is about to go ape. OK. However, your hard drive probably is going to "repeat to fade", losing your data along the way, until it becomes "not working". What do I do? Verify your backups, and get a new drive. -Chuck To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message