From owner-freebsd-fs@FreeBSD.ORG Thu Jan 5 09:35:44 2012 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 B6CA9106564A for ; Thu, 5 Jan 2012 09:35:44 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 43A638FC17 for ; Thu, 5 Jan 2012 09:35:43 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so312838wib.13 for ; Thu, 05 Jan 2012 01:35:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=gkroaI4Yg51JPgE7ZMmZ5B+cu53iL3NsmWLjj6eBBEc=; b=g1GfQGBDMZRiYPtqm+1atMcKTv5dw0wmiljChfN0YITyNTqcH0978goZ+Tk1w9AVsq OorqnvpHqZDLYvliYTk3HNNfc8zLLb7KG4WCobW2JAm6hYDp65L8UYHs7cAFOmU65skk C/TH8/aA8jQXu21fYrlcX8aikXORYpjBT+Fsk= Received: by 10.180.19.42 with SMTP id b10mr325508wie.13.1325756142225; Thu, 05 Jan 2012 01:35:42 -0800 (PST) Received: from green.tandem.local (utwig.xim.bz. [91.216.237.46]) by mx.google.com with ESMTPS id q5sm14772945wbo.8.2012.01.05.01.35.40 (version=SSLv3 cipher=OTHER); Thu, 05 Jan 2012 01:35:40 -0800 (PST) Message-ID: <4F056EEB.3050902@gmail.com> Date: Thu, 05 Jan 2012 11:35:39 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111223 Thunderbird/9.0 MIME-Version: 1.0 To: Martin Birgmeier References: <4F04749E.9020301@aon.at> <20120104172351.GA42855@icarus.home.lan> <4F05586B.9060109@aon.at> In-Reply-To: <4F05586B.9060109@aon.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: Upgrade to 9.0: How to convert zpool from adX to adaX? 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: Thu, 05 Jan 2012 09:35:44 -0000 05.01.2012 09:59, Martin Birgmeier wrote: > In 9.0, if I keep kern.cam.ada.legacy_aliases=1, there will be two paths > to each device, one through adX, the other through adaX. Which one will > zfs use, and show with 'zpool status'? You are partially incorrect here: [torn] ~> ls -la /dev | grep ad lrwxr-xr-x 1 root wheel 4 5 jan 08:22 ad6@ -> ada0 lrwxr-xr-x 1 root wheel 5 5 jan 08:22 ad6a@ -> ada0a lrwxr-xr-x 1 root wheel 5 5 jan 08:22 ad6b@ -> ada0b lrwxr-xr-x 1 root wheel 5 5 jan 08:22 ad6d@ -> ada0d lrwxr-xr-x 1 root wheel 5 5 jan 08:22 ad6e@ -> ada0e lrwxr-xr-x 1 root wheel 5 5 jan 08:22 ad6f@ -> ada0f lrwxr-xr-x 1 root wheel 13 5 jan 08:22 ad6f.journal@ -> ada0f.journal crw-r----- 1 root operator 0, 64 5 jan 08:22 ada0 crw-r----- 1 root operator 0, 66 5 jan 08:23 ada0a crw-r----- 1 root operator 0, 68 5 jan 08:22 ada0b crw-r----- 1 root operator 0, 70 5 jan 08:23 ada0d crw-r----- 1 root operator 0, 72 5 jan 08:23 ada0e crw-r----- 1 root operator 0, 74 5 jan 08:22 ada0f crw-r----- 1 root operator 0, 79 5 jan 08:23 ada0f.journal > Also, I understand that I will have to wire down the various ATA CAMs to > obtain the old numbering. How can I do this? Again, which path would zfs > use if I did not wire down the ATA CAMs? Will I have half of my devices > go through adX and the other through adaX, or will zfs even believe that > it has a multipath connectivity to each device? Not at all, ad6 would be a symlink to correct ada device, I haven't yet changed the fstab on this machine and it reads: # Device Mountpoint FStype Options Dump Pass# /dev/ad6b none swap sw 0 0 /dev/ad6a / ufs rw 1 1 /dev/ad6e /tmp ufs rw 2 2 /dev/ad6f.journal /usr ufs rw,async 2 2 /dev/ad6d /var ufs rw 2 2 /dev/cd0 /cdrom cd9660 ro,noauto 0 0 -- Sphinx of black quartz judge my vow.