From owner-freebsd-questions@FreeBSD.ORG Wed Dec 29 12:36:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74DCB1065693 for ; Wed, 29 Dec 2010 12:36:20 +0000 (UTC) (envelope-from charlie.mas@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 3396C8FC14 for ; Wed, 29 Dec 2010 12:36:20 +0000 (UTC) Received: by qyk8 with SMTP id 8so10383852qyk.13 for ; Wed, 29 Dec 2010 04:36:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:content-type; bh=7hrhQYEGyiftikqkFgQOo2uyx0eh/kJoOChcor+xtE8=; b=LuXGclN9sg0qljipeU5CXbumSrcV80tMUi+Lg7igF89S4rF7/Oy/eE93NP7d92+JEX zujw19VkKKevAt9AP4S9fzUk1U0jvESk+iYLADGlLB2Z7dQkU3SQQnkRPQUHch0XAWP2 C5hRW4VTXGrb8istA4NYBrKSF33mTJesV6dU4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; b=tRTPMZB/0Q4chIgDSXaainHDpVXQS3OV5c8UO0ARN2ql3KCqqqXfMYYUhvtGm1Y9F0 7yznuf0i3hWLjm4DRfu2CpqMAnlbigqFCzBdMMD2OdqMECj1Gn610NmeZ8BCExQqd/rC atR8tAt38UB7y6urYLPkv8vllXmi3zDvWk/rM= MIME-Version: 1.0 Received: by 10.229.250.9 with SMTP id mm9mr12916176qcb.264.1293624533714; Wed, 29 Dec 2010 04:08:53 -0800 (PST) Received: by 10.229.212.202 with HTTP; Wed, 29 Dec 2010 04:08:53 -0800 (PST) Date: Wed, 29 Dec 2010 12:08:53 +0000 Message-ID: From: Charlie Mason To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: ZFS RAIDZ Controller Disk Order X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: charlie.mas@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2010 12:36:20 -0000 Hi All, I have an old "server" which has FreeBSD on it. It has a cheap PCI raid controller in it, with the disks just set to pass through to the OS. Then the OS had a RAIDZ configured array form the 6 x 250gig disks passed through from the raid controller. I decided to upgrade to an array of 4 2TB disks running on new hardware (using the same server case). The disks were in a separate chassis to the motherboard, its quite complicated! So I copied the data off the old array via NFS to a separate 2TB disk. Then built the new array. Unfortunately I have realised I forgot to copy my old photos off the old array. I would really like to recover the old photos although, I suppose its not the end of the world if they are lost. As a fail safe I had left the old array disks as they were so, that I can just plug them back in if anything went wrong. Or so I thought! On plugging them back in zpool is complaining that they are all corrupt, except the first 2. It seems fairly unlikely I have got that unlucky. So I was wondering, does the order they were in the controller matter. They are all being presented in the same range of addresses da0 through da5 but they are probably connected up to different ports, so da0 is now da2 and so on. Can anyone think of a way to get them back in the correct order if it does matter, other than trial and error. Can I find out what number each one was in the pool from the disk somehow? Thanks, Charlie