Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2008 16:40:03 GMT
From:      Ulf Lilleengen <lulf@stud.ntnu.no>
To:        freebsd-geom@FreeBSD.org
Subject:   Re: kern/124294: [geom] gmirror(8) have inappropriate logic when working with bad hard-drive
Message-ID:  <200806171640.m5HGe3mP068550@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/124294; it has been noted by GNATS.

From: Ulf Lilleengen <lulf@stud.ntnu.no>
To: bug-followup@FreeBSD.org, dindin@dindin.ru
Cc:  
Subject: Re: kern/124294: [geom] gmirror(8) have inappropriate logic when
	working with bad hard-drive
Date: Tue, 17 Jun 2008 18:30:29 +0200

 When presented two drives with equal or different content, gmirror have no
 way to know which drive is good.  As far as gmirror is concerned, as long as
 the metadata is ok, the content should be as well. To avoid this, one could
 use ZFS or geli to verify the integrity of the data.
 
 However, perhaps one way to avoid this would be to prevent gmirror to sync
 from a disk which is has booted from. However, even if the boot succeeds and the good
 disk is not synced with corrupted data, there is no guarantee that other
 parts of the disk that you booted from is good, so you might be assuming you
 have a good disk, but you're really booting from a bad one.
 
 Any suggestions?
 
 -- 
 Ulf Lilleengen



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