what is g_vfs_done() and error = 6?? how to fix it??
Gary Jennejohn
gljennjohn at googlemail.com
Mon Apr 4 17:34:35 UTC 2011
On Mon, 4 Apr 2011 23:10:14 +0800
"binto" <binto at triplegate.net.id> wrote:
> suspicious one is..bad sector..
>
Error 6 is ENXIO, which basically means that the device suddenly
disappeared, as far as geom is concerned.
Are you using RAID or a mirror? ENXIO seems to only be set in
geom/geom_fox.c, geom/mirror/g_mirror.c and geom/raid/g_raid.c.
That is, bio_error, which is what is being reported, is only set
to ENXIO in these files AFAICT.
> ----- 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
> >>
> >>
> >>
> >
> > _______________________________________________
> > freebsd-fs at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> > To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
> >
>
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
--
Gary Jennejohn
More information about the freebsd-fs
mailing list