From owner-freebsd-questions@FreeBSD.ORG Thu Aug 14 11:02:55 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CD81A4CA for ; Thu, 14 Aug 2014 11:02:55 +0000 (UTC) Received: from mail-yk0-x22a.google.com (mail-yk0-x22a.google.com [IPv6:2607:f8b0:4002:c07::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8EDDB2621 for ; Thu, 14 Aug 2014 11:02:55 +0000 (UTC) Received: by mail-yk0-f170.google.com with SMTP id 9so818869ykp.1 for ; Thu, 14 Aug 2014 04:02:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7Q47/mPJYq4DxCSaAbugzKnoDyF9CzZYw7UF95AG7SI=; b=eZTrvBKaJ/ehJZWeLW8KASvrefEonalYhagWfayruRlwWwbV+hVS+omcBcGzluPRnE /OnI2qN4L8SXDqUNjKMakiBHugU1b1SU99yQW7vb+O09096en4VOvp+Z88MNn2Ebda/l H4/dvIgkPgci8kvxAb+cPGQlu+Yup2mWOgdJ0g35Np42ChQgeayTba/J+ScVW4PPRWFM CM4uQ1SOjAj11pqD/G2NS6+RW53dstDRmgKm73yjc1j8k0+ST9iNsuFyP9StC6vyu6WS SFSSgIHXS70RXg/eYFR3C/tD+8iJzupT6I9Wx1ohKGsUVmAqn4v5npd4G7Ujch/XQvSk rcqw== MIME-Version: 1.0 X-Received: by 10.236.88.13 with SMTP id z13mr16649381yhe.34.1408014174680; Thu, 14 Aug 2014 04:02:54 -0700 (PDT) Received: by 10.170.132.80 with HTTP; Thu, 14 Aug 2014 04:02:54 -0700 (PDT) In-Reply-To: <201408121123120262.00AFDB15@smtp.24cl.home> References: <53E92013.2020206@chroot.pl> <53E9C0D0.1080206@chroot.pl> <201408121123120262.00AFDB15@smtp.24cl.home> Date: Thu, 14 Aug 2014 12:02:54 +0100 Message-ID: Subject: Re: zpool from 32bit os to 64bit os From: krad To: "Mike." Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2014 11:02:55 -0000 if the pool is a mirror, you can just split it, move one or one set of the drives across and try to import it. One all is good move the other disks across then attach them after cleaning them On 12 August 2014 16:23, Mike. wrote: > On 8/12/2014 at 9:43 AM Paul Kraus wrote: > > |On Aug 12, 2014, at 3:22, Lukasz wrote: > | > |> Thank you for answers. I'll try with export/import... I hope my > data > |> will be safe during this operation. :) > | > |If you want your data to be really, really safe, then: > > > 0. Make at least one backup of the data before doing anything else, > and make sure the backup worked. > > > > | > |1. Make sure to export from the original server. While you *can* > force the > |import on the new server, I really, really hate using the force > option as > |the check you are overriding is there for a reason. Sometimes you > don=E2=80=99t > |have a choice, but this is not a Disaster Recovery situation (and > you do > |not want it to become one). > | > |2. When you run the initial `zpool import` on the new system it will > list > |the zpools it finds *and* their state. If the zpool is not complete > or is > |any way not clean, then DO NOT IMPORT it and put the drives back in > the > |old system and figure out what is wrong there. > | > |3. When you run the `zpool import ` also set the > |readonly property using the -o option. This way if there is some > kind of > |incompatibility (and ZFS does check for this and should want you, > but it > |never really hurts to be paranoid) the new system will not write > anything > |to the zpool. > | > |4. If the readonly import goes well and all the data is there and > looks > |good, then export the zpool and import it again without the readonly > |property and you should be all set. > | > |The above may be overkill (depending on what your data is worth :-), > but I > |have seen bugs in ZFS (although not very many in the past few years, > I=E2=80=99ve > |been using ZFS since about 2007) and the additional time can save > you lots > |of time in recovery later on. > | > |-- > |Paul Kraus > |paul@kraus-haus.org > | > |_______________________________________________ > |freebsd-questions@freebsd.org mailing list > |http://lists.freebsd.org/mailman/listinfo/freebsd-questions > |To unsubscribe, send any mail to > |"freebsd-questions-unsubscribe@freebsd.org" > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >