Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2021 18:42:26 -0400 (EDT)
From:      DTD <support@safeport.com>
To:        Dan Langille <dan@langille.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: zfs newbie
Message-ID:  <alpine.BSF.2.00.2109141838150.65923@bucksport.safeport.com>
In-Reply-To: <2b3bd0c8-204d-2f9b-2d63-cca853f5893c@langille.org>
References:  <alpine.BSF.2.00.2109071736520.87853@bucksport.safeport.com> <2b3bd0c8-204d-2f9b-2d63-cca853f5893c@langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Sep 2021, Dan Langille wrote:

> DTD wrote on 9/7/21 5:51 PM:
>> Following the default 12.2 zfs install I got one pool (zroot) and a dataset 
>> for each of the traditional mount points. So zfs list shows:
>> 
>> NAME                 USED  AVAIL  REFER  MOUNTPOINT
>> zroot                279G  6.75T    88K  /zroot
>> zroot/ROOT          1.74G  6.75T    88K  none
>> zroot/ROOT/default  1.74G  6.75T  1.74G  /
>> zroot/tmp            176K  6.75T   176K  /tmp
>> zroot/usr            277G  6.75T    88K  /usr
>> zroot/usr/home       276G  6.75T   276G  /usr/home
>> zroot/usr/ports       88K  6.75T    88K  /usr/ports
>> zroot/usr/src        670M  6.75T   670M  /usr/src
>> zroot/var           47.5M  6.75T    88K  /var
>> zroot/var/audit       88K  6.75T    88K  /var/audit
>> zroot/var/crash       88K  6.75T    88K  /var/crash
>> zroot/var/log        820K  6.75T   820K  /var/log
>> zroot/var/mail      46.3M  6.75T  46.3M  /var/mail
>> zroot/var/tmp         88K  6.75T    88K  /var/tmp
>> 
>> I had consultant configure another service for us. He set up the disk array 
>> with one dataset. so zfs list on this system give:
>> 
>> NAME    USED  AVAIL  REFER  MOUNTPOINT
>> zroot  2.65G  13.2T  2.62G  legacy
>> 
>> From a sysadmin view I rather like the multiple datasets. Are there 
>> advantages to one over the other?
>
> I see no advantages to me in the single dataset.
>
> What do you see from zpool status? I'm wondering if this is not directly on 
> hardware, such as a VM under VMware.
>
Nop, no VM. I have three system that I did a take all options zfs install 
on. I do not remember which one I posted so here is a matching set:

> freebsd-version
12.1-RELEASE-p8

> zfs list
NAME                 USED  AVAIL  REFER  MOUNTPOINT
zroot               90.6G   801G    88K  /zroot
zroot/ROOT          89.9G   801G    88K  none
zroot/ROOT/default  89.9G   801G  89.9G  /
zroot/tmp            156K   801G   156K  /tmp
zroot/usr            723M   801G    88K  /usr
zroot/usr/home      18.7M   801G  18.7M  /usr/home
zroot/usr/ports       88K   801G    88K  /usr/ports
zroot/usr/src        704M   801G   704M  /usr/src
zroot/var           21.7M   801G    88K  /var
zroot/var/audit       88K   801G    88K  /var/audit
zroot/var/crash       88K   801G    88K  /var/crash
zroot/var/log       21.3M   801G  21.3M  /var/log
zroot/var/mail        88K   801G    88K  /var/mail
zroot/var/tmp         88K   801G    88K  /var/tmp

> zpool status
   pool: zroot
  state: ONLINE
   scan: none requested
config:

         NAME        STATE     READ WRITE CKSUM
         zroot       ONLINE       0     0     0
           mirror-0  ONLINE       0     0     0
             ada0p3  ONLINE       0     0     0
             ada1p3  ONLINE       0     0     0

errors: No known data errors


_____
Douglas Denault
http://www.safeport.com
support@safeport.com
Voice: 301-217-9220
   Fax: 301-217-9277
From owner-freebsd-questions@freebsd.org  Wed Sep 15 12:23:55 2021
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9A08967DF71
 for <freebsd-questions@mailman.nyi.freebsd.org>;
 Wed, 15 Sep 2021 12:23:55 +0000 (UTC)
 (envelope-from kkchn.in@gmail.com)
Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com
 [IPv6:2607:f8b0:4864:20::42d])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
 client-signature RSA-PSS (2048 bits) client-digest SHA256)
 (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4H8fXB5XnCz3FW2
 for <freebsd-questions@freebsd.org>; Wed, 15 Sep 2021 12:23:54 +0000 (UTC)
 (envelope-from kkchn.in@gmail.com)
Received: by mail-pf1-x42d.google.com with SMTP id y4so995024pfe.5
 for <freebsd-questions@freebsd.org>; Wed, 15 Sep 2021 05:23:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:from:date:message-id:subject:to;
 bh=7eDTfSoZDleDsSZ+BzuMArf5FS5uCagWU4XhGd7Zf+k=;
 b=BLUSsNxoHT0cBSYUht05Ts5RsRN9rC487qT/ta+8C6plRUjLn4OKOuAbvibDmX24Pk
 NMgKnhw4PXm9ykc1vO/KTbC6SoTgnrBTWRjnVsfwlSCgW+So5gzBAdpArEejXZNgpLpS
 A3QWDpQt/hcwUS83th6VipsMYpqqSjmJRrJeSvC8k3Gg6q/gP+056/UlKSILSXWFcmlS
 IheqlvoemPgV/M+wyDbrj04TtzldzhIGnW2c/rI6gG9OLHZrw2vCeDixMA9iJ7pkLG0V
 3OUaaKQCN+QoKe66XgP+TIBbO3Vdy0ghAraFeWwCQkbm0Cv7z3AHbFVkZBPQ0lZ1N5y1
 jmyA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=7eDTfSoZDleDsSZ+BzuMArf5FS5uCagWU4XhGd7Zf+k=;
 b=z9MnFwHEN/x9ptW1YTUYkXKnuyPaDRMkF16bgaV3A+e6ihUgpxeVLL9fzyuCd2afhN
 1m0442pP8feS7lq3G9ltnLfKn2hYdAs1ZA5PMmY/nxtk77AaTaRQu8q2fDGb2RtzsW9v
 QfunxNZfWkwvnAgkMb8H2in6lYMu9PGPN8eZNHGzICtOBeNvKay8sN2rNtFoxprg6e7x
 7l+8pvewuVOfS6esZGaokMOKa++ooPxReJ5HMbaUMo42cNQEzqq6ZWUXBCcNU0BFZVZq
 Qlos8MS7+9vF9umpYOMsggiR/gJY0o0qqOrWcg7Vhsu5Yby2pu+eNrwsmF2XywQ3DviZ
 vjyA==
X-Gm-Message-State: AOAM531bsoyxkQwMDUWtmLEp1kk5xI3OCj/O4h1UM60Ko1XT/81hZXb9
 B3pebjR+df9WuCar8kjBTh0vyZmMoyv3dM/Q+G21RnhmeGQ=
X-Google-Smtp-Source: ABdhPJxHF/iv1/i2s+g7Z0MZPU+cHtNVfpuXOaDjKn13QO5iQ7NsIIeBou2jbnbQ+6ybRYasrfDvRm4IqgaKBjbfTkw=
X-Received: by 2002:a63:8c4d:: with SMTP id q13mr20238301pgn.92.1631708627983; 
 Wed, 15 Sep 2021 05:23:47 -0700 (PDT)
MIME-Version: 1.0
From: KK CHN <kkchn.in@gmail.com>
Date: Wed, 15 Sep 2021 17:53:34 +0530
Message-ID: <CAKgGyB_NxzOBKRf89C=xXbRiQFY_4n2PxzfXci6R-fGkppq39Q@mail.gmail.com>
Subject: Migration of data LVMs in Old SAN box to New SAN box
To: freebsd-questions <freebsd-questions@freebsd.org>
X-Rspamd-Queue-Id: 4H8fXB5XnCz3FW2
X-Spamd-Bar: ---
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=gmail.com header.s=20210112 header.b=BLUSsNxo;
 dmarc=pass (policy=none) header.from=gmail.com;
 spf=pass (mx1.freebsd.org: domain of kkchnin@gmail.com designates
 2607:f8b0:4864:20::42d as permitted sender) smtp.mailfrom=kkchnin@gmail.com
X-Spamd-Result: default: False [-3.45 / 15.00];
 R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c];
 FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[];
 TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+];
 DMARC_POLICY_ALLOW(-0.50)[gmail.com,none];
 NEURAL_HAM_SHORT(-0.45)[-0.449]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+,1:+,2:~];
 FREEMAIL_ENVFROM(0.00)[gmail.com];
 ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
 TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim];
 ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000];
 R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000];
 MIME_GOOD(-0.10)[multipart/alternative,text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org];
 RCPT_COUNT_ONE(0.00)[1];
 RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::42d:from];
 RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[];
 MAILMAN_DEST(0.00)[freebsd-questions]
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.34
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Sep 2021 12:23:55 -0000

Hi all,

I am in need of migrating the data in an old SAN Box (hitachi)   to a new
SAN box ( EMC) .

There are LVMs in the old SAN box around 6 TB  capacity its AMC is getting
over soon, So in need to migrate all the data in the old SAN to New SAN box.

What steps do I need to perform in the new  SAN box  ( its a fresh box no
volumes structures created as  of now.)
1.What all are the steps on New SAN Box
2. What all are the step on Old SAN box need to perform to copy the data in
LVMs ( and my Virtual machines are running live from the old SAN) .
so that minimal down time and error free migratin need to assure.

3. As I am going to perform this first time, kindly share your experience
so that I can perform it successfully.

Kindly guide me

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.2109141838150.65923>