From owner-freebsd-fs@FreeBSD.ORG Sat Feb 27 20:47:25 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2940C106566C for ; Sat, 27 Feb 2010 20:47:25 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl [89.77.43.238]) by mx1.freebsd.org (Postfix) with ESMTP id 69EC98FC0A for ; Sat, 27 Feb 2010 20:47:24 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 93A6445E90; Sat, 27 Feb 2010 21:47:22 +0100 (CET) Received: from localhost (shell.garage.wheel.pl [10.0.4.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 0619845E87; Sat, 27 Feb 2010 21:47:16 +0100 (CET) Date: Sat, 27 Feb 2010 21:47:15 +0100 From: Pawel Jakub Dawidek To: Nikolay Denev Message-ID: <20100227204715.GC2586@garage.freebsd.pl> References: <26CCAE99-B056-4754-9324-2945D1643C78@gmail.com> <272C3933-72C9-41AF-AD3A-605A7C57FB61@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h3LYUU6HlUDSAOzy" Content-Disposition: inline In-Reply-To: <272C3933-72C9-41AF-AD3A-605A7C57FB61@gmail.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: should zfs care so much about device name changes 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: Sat, 27 Feb 2010 20:47:25 -0000 --h3LYUU6HlUDSAOzy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 24, 2010 at 03:58:58PM +0200, Nikolay Denev wrote: >=20 > On Feb 24, 2010, at 11:53 AM, Nikolay Denev wrote: >=20 > > Hello, > >=20 > > I wanted to test the new option ATA_CAM, but that would require a boot = from another media (USB Drive/CD) and a zpool export/import > > to update the vdev names. (actually it's shown as "path" in the zpool.c= ache file) because otherwise the system would refuse to open/mount > > the pool. > > But is that really necessary given the fact that all the devices are he= re, and have matching GUIDS to those in the zpool.cache file? > > Shouldnt ZFS just import the pool?=20 > >=20 > > In the current state what would one have to do to for example test ATA_= CAM on a remote machine, where export/import from a rescue > > media is not possible? > >=20 > > Thanks, > > Niki >=20 >=20 > I have now looked at sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_= geom.c and it seems that when a vdev isn't found by pathname it > is being searched by guid. But it doesn't seem to be the case here. The l= oader sees the pool and boots the kernel, but then the kernel does not see > the pool. Any ideas? Try adding vfs.zfs.debug=3D1 to /boot/loader.conf. This will hopefully show what's going on. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --h3LYUU6HlUDSAOzy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkuJhNIACgkQForvXbEpPzR3PACghV36BwqjGku/MFnzq2MWAHVd wVUAoM06RdVsS7MO/9N4RpxoJJzZveif =HZmL -----END PGP SIGNATURE----- --h3LYUU6HlUDSAOzy--