From owner-freebsd-fs@FreeBSD.ORG Tue May 11 23:00:15 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8BFC91065670; Tue, 11 May 2010 23:00:15 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id ACA228FC1E; Tue, 11 May 2010 23:00:14 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 22so1163832fge.13 for ; Tue, 11 May 2010 16:00:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=HzdCB3EVRGAY9rLJuDEC02WKs9bNUIHUjzXfAU4RIjk=; b=UjV6fm7SkzmtYm0Q2RkBC8Tb0SLABi78090nf5AfpIgBscTiqbm3K4tuev+bgPVGph P7oUoETUDRc2uVl9LQoHXb95sT7eO3xzJwDGtFFRhjuzL/INCsDRWj7C0uQCJUG/cTll GCtknzlOLqPwEDWFRrELnjg9VW4PJp7O+O/ZY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=DEB77hPSD3WRljFyxtnldsiTuxuHPZKwEnoSNUtDmE+590XcS4Cv3vg6Zz5ijri2X1 zsRXc1q30dZPJA3Q4fbPZxUToxn7Byxn2KG+N3if+Pe+tCWH22e861NbhpRMc9T/yXst f8IgvsmVZ36ZKWIwPunXXnJGLZfs2Eqcb1d8M= Received: by 10.86.239.37 with SMTP id m37mr12926959fgh.72.1273618813783; Tue, 11 May 2010 16:00:13 -0700 (PDT) Received: from darklight.org.ru ([213.132.76.142]) by mx.google.com with ESMTPS id d13sm12193642fka.32.2010.05.11.16.00.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 11 May 2010 16:00:13 -0700 (PDT) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.4/8.14.4) with ESMTP id o4BN0AqK001892; Wed, 12 May 2010 03:00:11 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.4/8.14.4/Submit) id o4BN0AqY001890; Wed, 12 May 2010 03:00:10 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Wed, 12 May 2010 03:00:10 +0400 From: Yuri Pankov To: Pawel Jakub Dawidek Message-ID: <20100511230010.GA1608@darklight.org.ru> References: <4BE616D6.7000901@jrv.org> <20100511223009.GA3044@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100511223009.GA3044@garage.freebsd.pl> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-fs@freebsd.org Subject: Re: ZFS doesn't mountroot: Unable to open /dev/ad4p3 for writing (error=1). X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2010 23:00:15 -0000 On Wed, May 12, 2010 at 12:30:09AM +0200, Pawel Jakub Dawidek wrote: > On Tue, May 11, 2010 at 07:44:46PM +0000, Yuri Pankov wrote: > > James R. Van Artsdalen jrv.org> writes: > > > > > > > > FreeBSD 9.0-svn207742 #0: Sat May 8 17:13:06 UTC 2010 > > > root clunk.housenet.jrv:/usr/obj/usr/src/sys/GENERIC amd64 > > > > > > I am no longer able to boot my newly-created ZFS pools in a VirtualBox > > > VM: the "Unable to open /dev/ad4p3 for writing" error shown below > > > prevents the pool from being imported even though it is found. > > > > > > When the pool was created it was on disk ad6, but it is now booting on > > > ad4: zpool.cache contains wrong disk names so the kernel finds the pool > > > member(s) by guid, not name. > > > > > > Same here on recent -CURRENT. I recently needed to disable ahci(4) driver (pool > > was created on ada0p3), and got the same error about ad4p3 (device name without > > ahci driver). > > It should be worked around in r207936. Could you guys try it? > > -- > Pawel Jakub Dawidek http://www.wheelsystems.com > pjd@FreeBSD.org http://www.FreeBSD.org > FreeBSD committer Am I Evil? Yes, I Am! Worked like a charm, successfully booted from ad4p3 (no ahci and ATA_CAM). Thanks, Yuri