kern/119868: [zfs] 7.0 kernel panic during boot with ZFS and WD1600JS

Harald Hanche-Olsen hanche at math.ntnu.no
Tue Sep 30 18:50:06 UTC 2008


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

From: Harald Hanche-Olsen <hanche at math.ntnu.no>
To: bug-followup at FreeBSD.org, johan at giantfoo.org
Cc:  
Subject: Re: kern/119868: [zfs] 7.0 kernel panic during boot with ZFS and
 WD1600JS
Date: Tue, 30 Sep 2008 20:41:23 +0200 (CEST)

 I just had my biggest "duh" moment in a veeery long time.
 The above two "contributions" to this PR can probably be ignored.
 
 For the curious: I intended to do
 
 #; gpt create -f da2
 #; gpt add -t 6a898cc3-1dd2-11b2-99a6-080020736631 da2
 #; zpool create poolname da2p1
 
 but apparently, I created the pool on da2 instead, partially
 overwriting the GPT. And I managed to do this (count 'em) no less than
 THREE times!
 
 Like I said, DUH, and my apologies for the noise.
 
 Maybe we could turn the noise into a feature request: Perhaps zpool
 should be smart enough to recognize that the user is about to shoot
 his own foot and refuse to cooperate?
 
 - Harald


More information about the freebsd-bugs mailing list