kern/124294: [geom] gmirror(8) have inappropriate logic when working with bad hard-drive

Ulf Lilleengen lulf at stud.ntnu.no
Tue Jun 17 16:40:04 UTC 2008


The following reply was made to PR kern/124294; it has been noted by GNATS.

From: Ulf Lilleengen <lulf at stud.ntnu.no>
To: bug-followup at FreeBSD.org, dindin at 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


More information about the freebsd-geom mailing list