From nobody Sat May 20 08:16:52 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QNc5T3cM0z4BmX7 for ; Sat, 20 May 2023 08:17:33 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QNc5R5k4hz3R5v for ; Sat, 20 May 2023 08:17:31 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=biGUFYAi; spf=pass (mx1.freebsd.org: domain of odhiambo@gmail.com designates 2a00:1450:4864:20::236 as permitted sender) smtp.mailfrom=odhiambo@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2af1ae3a21fso29407611fa.0 for ; Sat, 20 May 2023 01:17:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684570649; x=1687162649; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=icK/1MVXRkl3magE1cbqDpTa6KG3CGeZF0xyNOkOcWI=; b=biGUFYAi4Ejx291LOUJI0tQe7kEAvl54CTYAMVR9pvgorzA4ElV2fHeql4xHqSghKa 2wu+HiB/8CsCLXoKkElSv6A1oPITmY4hFJhc2H4ZaaBdSNCfXfI1xqtyz2vCxWif7LHb UxIUlcxSoA7WvHqli+LOzbXDO6JpPNdsH33unQx4Ox7braU1NueJ1cnGEoy1Mrtg+ivo 42HmgsqwVUetIqlp5ZdNpTjHKtK89KG/AYjxMJDa9UlL8LZsgrxtdwrddD8Yaiz+xKGP WlhX4UAnfKFKSNM/Jnk3o0+EuWnbQF0s0AMtUlVFcECZd9jbHMmfQtWmKG8ZSP/OYRlj xbCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684570649; x=1687162649; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=icK/1MVXRkl3magE1cbqDpTa6KG3CGeZF0xyNOkOcWI=; b=C6YwU7kqXdPoIIpG5SUbF7oWdAIgopwS5x11g3ThbukTgZqarhqSQ+FyOJA43bQMCM Sfd4gZ9MKEK6Nw8W3QQ18CqFT+tIpOKJ3PXdD/qJc5UgpbhzhO0sUTnL6H55biY8i227 9Ah/iKJOzOQX+aEqL1pSf+vePqRXcJ1glBqBxuUTSYnoF58tRv79Tx1RFLUv+ve3fo6E VQPV5hNZgzGZX16ZW+Q2CgL7cg8lL6AI1zO3QDXaP4kKCnjzMweMu9jMHtoe1PfZ+DYn kX68gjVURJkn3ZQ7vJOEqsc8ZIFPT9tLRkSiwln7SETYLhZTqgIqpC1U9tgaHdAX4h+T qVLw== X-Gm-Message-State: AC+VfDx9jp09gWZLxFSaIALrjsbITVrwUzcc9FJtQL6CbRrn/MLQYIhB MXYb5XtW5BiybgoxWT/65N0JOcNxu9x1NvucIbVkv0o3fLvVWw== X-Google-Smtp-Source: ACHHUZ6i+fGtxUErX2oOqciLuMXU5eknTysnSf9TNmKC5hyVreasYUR2F35JEG4pW6smsbp29EmTfPQOmzP1xI20RBk= X-Received: by 2002:a2e:8091:0:b0:2a8:eae2:d55c with SMTP id i17-20020a2e8091000000b002a8eae2d55cmr1829363ljg.15.1684570649078; Sat, 20 May 2023 01:17:29 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Odhiambo Washington Date: Sat, 20 May 2023 11:16:52 +0300 Message-ID: Subject: Re: Moving to a larger disk To: questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000232ee705fc1babfa" X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; BLOCKLISTDE_FAIL(0.00)[2a00:1450:4864:20::236:server fail]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::236:from]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4QNc5R5k4hz3R5v X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --000000000000232ee705fc1babfa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, May 20, 2023 at 2:55=E2=80=AFAM David Christensen wrote: > On 5/19/23 00:39, Odhiambo Washington wrote: > > It's been years since I ever did this so allow me to post so that I can > > gather ideas - newer ideas :) > > > > I have a 1TB disk, with UFS fs. > > I'd like to migrate to a 2TB SSD and retire/repurpose the 1TB disk. > > > > ``` > > [10:27 ~ ]$ df -h > > Filesystem Size Used Avail Capacity Mounted on > > /dev/ada0p2 899G 269G 558G 33% / > > devfs 1.0K 1.0K 0B 100% /dev > > fdescfs 1.0K 1.0K 0B 100% /dev/fd > > procfs 4.0K 4.0K 0B 100% /proc > > linprocfs 4.0K 4.0K 0B 100% /compat/linux/proc > > linsysfs 4.0K 4.0K 0B 100% /compat/linux/sys > > tmpfs 7.0G 4.0K 7.0G 0% /compat/linux/dev/shm > > devfs 1.0K 1.0K 0B 100% /compat/linux/dev > > fdescfs 1.0K 1.0K 0B 100% /compat/linux/dev/fd > > ``` > > > > What is the easiest/best method to migrate? > > > > -- > > Best regards, > > Odhiambo WASHINGTON, > > Nairobi,KE > > +254 7 3200 0004/+254 7 2274 3223 > > "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) > > [How to ask smart questions: > > http://www.catb.org/~esr/faqs/smart-questions.html] > > > > > What is the purpose of the computer? What environment(s)? > > > What is the make, model, and/or part number of your computer? What CPU? > What memory? What storage devices are installed? What storage device > bays and interface ports are available? > > > Please run the following commands and copy/paste console session into > reply: > > # freebsd-version ; uname -a > > # geom disk list | perl -pe 's/(lunid|ident): (.+)/$1: ********/' > > # geom part show -p > > > Please tell us about your sysadmin and disaster planning -- e.g. version > control, configuration management, images, backups, archives? Media? > > > David > All those questions are relevant to the migration to a larger disk? --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] --000000000000232ee705fc1babfa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sat, May 20, 2023 at 2:55=E2=80=AF= AM David Christensen <dpchr= ist@holgerdanske.com> wrote:
On 5/19/23 00:39, Odhiambo Washington wrote:
> It's been years since I ever did this so allow me to post so that = I can
> gather ideas - newer ideas :)
>
> I have a 1TB disk, with UFS fs.
> I'd like to migrate to a 2TB SSD and retire/repurpose the 1TB disk= .
>
> ```
> [10:27 ~ ]$ df -h
> Filesystem=C2=A0 =C2=A0 =C2=A0Size=C2=A0 =C2=A0 Used=C2=A0 =C2=A0Avail= Capacity=C2=A0 Mounted on
> /dev/ada0p2=C2=A0 =C2=A0 899G=C2=A0 =C2=A0 269G=C2=A0 =C2=A0 558G=C2= =A0 =C2=A0 33%=C2=A0 =C2=A0 /
> devfs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1.0K=C2=A0 =C2=A0 1.0K=C2=A0 = =C2=A0 =C2=A0 0B=C2=A0 =C2=A0100%=C2=A0 =C2=A0 /dev
> fdescfs=C2=A0 =C2=A0 =C2=A0 =C2=A0 1.0K=C2=A0 =C2=A0 1.0K=C2=A0 =C2=A0= =C2=A0 0B=C2=A0 =C2=A0100%=C2=A0 =C2=A0 /dev/fd
> procfs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A04.0K=C2=A0 =C2=A0 4.0K=C2=A0 = =C2=A0 =C2=A0 0B=C2=A0 =C2=A0100%=C2=A0 =C2=A0 /proc
> linprocfs=C2=A0 =C2=A0 =C2=A0 4.0K=C2=A0 =C2=A0 4.0K=C2=A0 =C2=A0 =C2= =A0 0B=C2=A0 =C2=A0100%=C2=A0 =C2=A0 /compat/linux/proc
> linsysfs=C2=A0 =C2=A0 =C2=A0 =C2=A04.0K=C2=A0 =C2=A0 4.0K=C2=A0 =C2=A0= =C2=A0 0B=C2=A0 =C2=A0100%=C2=A0 =C2=A0 /compat/linux/sys
> tmpfs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 7.0G=C2=A0 =C2=A0 4.0K=C2=A0 = =C2=A0 7.0G=C2=A0 =C2=A0 =C2=A00%=C2=A0 =C2=A0 /compat/linux/dev/shm
> devfs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1.0K=C2=A0 =C2=A0 1.0K=C2=A0 = =C2=A0 =C2=A0 0B=C2=A0 =C2=A0100%=C2=A0 =C2=A0 /compat/linux/dev
> fdescfs=C2=A0 =C2=A0 =C2=A0 =C2=A0 1.0K=C2=A0 =C2=A0 1.0K=C2=A0 =C2=A0= =C2=A0 0B=C2=A0 =C2=A0100%=C2=A0 =C2=A0 /compat/linux/dev/fd
> ```
>
> What is the easiest/best method to migrate?
>
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254 7 3200 0004/+254 7 2274 3223
> "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83= =84)_/=C2=AF :-)
> [How to ask smart questions:
> http://www.catb.org/~esr/faqs/smart-questions= .html]
>


What is the purpose of the computer?=C2=A0 What environment(s)?


What is the make, model, and/or part number of your computer?=C2=A0 What CP= U?
=C2=A0 What memory?=C2=A0 What storage devices are installed?=C2=A0 What st= orage device
bays and interface ports are available?


Please run the following commands and copy/paste console session into reply= :

# freebsd-version ; uname -a

# geom disk list | perl -pe 's/(lunid|ident): (.+)/$1: ********/'
# geom part show -p


Please tell us about your sysadmin and disaster planning -- e.g. version control, configuration management, images, backups, archives?=C2=A0 Media?<= br>

David

All those questions are relevant = to the migration to a larger disk?=C2=A0

=
--
Best = regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2= 274 3223
"Oh, the cruft.",=C2=A0egrep -v '^$|^.*#'=C2=A0=C2=AF\_(= =E3=83=84)_/=C2=AF=C2=A0:-)<= /div>
[How to ask smart questions:=C2= =A0http://www.catb.org/~esr/f= aqs/smart-questions.html]
--000000000000232ee705fc1babfa--