From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20F7CC2D0F3 for ; Wed, 25 Mar 2020 17:37:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 06C372077D for ; Wed, 25 Mar 2020 17:37:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727253AbgCYRhf (ORCPT ); Wed, 25 Mar 2020 13:37:35 -0400 Received: from mail1.g1.pair.com ([66.39.3.162]:11928 "EHLO mail1.g1.pair.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726264AbgCYRhf (ORCPT ); Wed, 25 Mar 2020 13:37:35 -0400 Received: from mail1.g1.pair.com (localhost [127.0.0.1]) by mail1.g1.pair.com (Postfix) with ESMTP id DBDC954748B; Wed, 25 Mar 2020 13:37:33 -0400 (EDT) Received: from harpe.intellique.com (labo.djinux.com [82.225.196.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail1.g1.pair.com (Postfix) with ESMTPSA id 6735960AF3F; Wed, 25 Mar 2020 13:37:33 -0400 (EDT) Date: Wed, 25 Mar 2020 18:37:37 +0100 From: Emmanuel Florac To: Pawan Prakash Sharma Cc: xfs Subject: Re: xfs duplicate UUID Message-ID: <20200325183737.634580f5@harpe.intellique.com> In-Reply-To: References: <20200324183819.36aa5448@harpe.intellique.com> <20200324192610.0f19a868@harpe.intellique.com> <20200325152418.04340a72@harpe.intellique.com> Organization: Intellique X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/YcarSPcbvQrH1xF9cAsfPyo"; protocol="application/pgp-signature" Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org --Sig_/YcarSPcbvQrH1xF9cAsfPyo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le Wed, 25 Mar 2020 20:35:03 +0530 Pawan Prakash Sharma =C3=A9crivait: > > Note that even after freezing, the on-disk filesystem can contain =20 > information on files that are still in the process of unlinking. > These files will not be unlinked until the filesystem is unfrozen or > a clean mount of the snapshot is complete. >=20 > hmmm, ok, so what is the right way to do it? > Sould mount the cloned volume with nouuid first so that log is > replayed and filesystem is clean, then umount it and then generated > the UUID for this using xfs_admin command. >=20 Yes, that looks like the proper way to do it. Zeroing the og with xfs_repair is usually a last resort thing that you'd rather not do unless it's unavoidable. --=20 ------------------------------------------------------------------------ Emmanuel Florac | Direction technique | Intellique | | +33 1 78 94 84 02 ------------------------------------------------------------------------ --Sig_/YcarSPcbvQrH1xF9cAsfPyo Content-Type: application/pgp-signature Content-Description: Signature digitale OpenPGP -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAl57luIACgkQX3jQXNUicVYZdwCbBVU9VZ9DeOn72PcKKgyMVsRM W3oAnih+2GsOlhky9cvOwfjB24TO/RxB =Ladf -----END PGP SIGNATURE----- --Sig_/YcarSPcbvQrH1xF9cAsfPyo--