what is g_vfs_done() and error = 6?? how to fix it??
Jeremy Chadwick
freebsd at jdc.parodius.com
Mon Apr 4 16:55:27 UTC 2011
On Mon, Apr 04, 2011 at 11:10:14PM +0800, binto wrote:
> suspicious one is..bad sector..
>
> ----- Original Message ----- From: "binto" <binto at triplegate.net.id>
> To: "Graham Todd" <gtodd at bellanet.org>; <freebsd-fs at freebsd.org>
> Sent: Monday, April 04, 2011 10:47 PM
> Subject: Re: what is g_vfs_done() and error = 6?? how to fix it??
>
>
> >if cabling, i wonder why in single mode there's no problem
> >especially about filesystem .
> >But in normal login when i use root user, then i got so many warn
> >about that error 6.
> >reboot after that.
> >??? [ can u explain?]
> >
> >now i'm still troubleshoot in configuration.
> >i haven't try run hardware test yet. such as to switch HDD with
> >another board or something.
> >
> >so far i haven't found missing data, except files that i remove..:D
> >
> >thanks
> >
> >----- Original Message ----- From: "Graham Todd"
> ><gtodd at bellanet.org>
> >To: "binto" <binto at triplegate.net.id>; <freebsd-fs at freebsd.org>
> >Sent: Monday, April 04, 2011 11:05 PM
> >Subject: Re: what is g_vfs_done() and error = 6?? how to fix it??
> >
> >
> >>On 04/04/2011 07:56, binto wrote:
> >>>Also i got before it's reboot suddenly:
> >>>panic: initiate_write_inodeblock_ufs2: already started
> >>
> >>I think you're getting a panic from ufs2 and softdep somewhere
> >>because for whatever reason geom is saying the drive has
> >>disappeared (bad cabling, bad hardware, bad sector, electrical
> >>glitch, etc.)? Someone more knowledgeable than me can explain
> >>the code path and error 6.
> >>
> >>If it is hardware and the drive that has your / or /usr
> >>filesystems then panic'ing is "correct" behaviour I believe. If
> >>it is a USB drive being pulled without umounting then I think
> >>FreeBSD is supposed to handle that incorrect operation more
> >>gracefully since 7.*
> >>
> >>Was there data loss? Did the server reboot properly? Have you
> >>run any hardware tests?
> >>
> >>cheers
> >>
> >>>Thanks
> >>>Binto
> >>> ----- Original Message -----
> >>> From: binto
> >>> To: freebsd-fs at freebsd.org
> >>> Sent: Monday, April 04, 2011 7:39 PM
> >>> Subject: what is g_vfs_done() and error = 6?? how to fix it??
> >>>
> >>>
> >>> I got error message& my server suddenly drop :
> >>>
> >>> g_vfs_done() error = 6
> >>>
> >>> g_vfs_done(): ad10s2a[READ(offset=1348599808,
> >>>length=16384)]error = 6 anyone can help me please??
> >>>
> >>> Thank you
> >>> binto
Install /usr/ports/sysutils/smartmontools and provide output from
"smartctl -a /dev/ad10" (assuming the questionable hard disk is still
installed there); I can help decode the output.
You might also want to run "fsck -f /dev/ad10". There are known cases
where backgrounded fsck can't fix some errors, but I'm not sure if the
kernel would return errno=6 (Device not configured) to userland in this
situation.
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP 4BD6C0CB |
More information about the freebsd-fs
mailing list