Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2011 19:11:45 +0200
From:      Gary Jennejohn <gljennjohn@googlemail.com>
To:        "binto" <binto@triplegate.net.id>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: what is g_vfs_done() and error = 6?? how to fix it??
Message-ID:  <20110404191145.23d5e93a@ernst.jennejohn.org>
In-Reply-To: <011901cbf2da$672f0c40$140124c0@DBLJSW1S>
References:  <00c101cbf2bf$4b03b2c0$140124c0@DBLJSW1S> <4D99DE50.1030607@bellanet.org> <00f201cbf2d7$29816f30$140124c0@DBLJSW1S> <011901cbf2da$672f0c40$140124c0@DBLJSW1S>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Apr 2011 23:10:14 +0800
"binto" <binto@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@triplegate.net.id>
> To: "Graham Todd" <gtodd@bellanet.org>; <freebsd-fs@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@bellanet.org>
> > To: "binto" <binto@triplegate.net.id>; <freebsd-fs@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@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@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
> > 
> 
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"


-- 
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110404191145.23d5e93a>