From nobody Sun May 21 02:34:56 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 4QP4S453pwz4BsgT for ; Sun, 21 May 2023 02:35:16 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QP4S25s2zz4bl8 for ; Sun, 21 May 2023 02:35:14 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b=DD0Ksg2z; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 184.105.128.27 as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com; dmarc=pass (policy=none) header.from=holgerdanske.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1684636500; bh=AWSPNhvwWkw8o9K3RPZ2Y+q1n4lF+QGXIcTm5qkLOVY=; h=Received:Message-ID:Date:MIME-Version:User-Agent:Subject:To: References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=DD0Ksg2zGc+w79GGbV04AzCwzhlerxiupBkhjuSpqO7FRkqgZXC/JDfwOsWO3XEn6 PsxBfndK3HZusFYAxx0tBbVLVmGh3sHWOJ5jenqS4mjWA0cUf/RO0i86M5uiQ2kBcv GzgTQUubZex60lr7br/VV8djFiyVNfEPztorebtVHmm+Nj5/ySX58eZdom9LubIlP5 ACsMDEPsvyzbf1OH2WqZk/eOMyckfuGD8YkOk8eVO9mak5ZKnU+ya8Be6uBWupRvlW nUyKxypH6ZOu88dlkrTzbjJ+HGb4yQnqb/PL7fTh6y8GPcoSPclfU2wY2Q4fEQ3RW/ 7smiRETz6sKk4j34c68dX8aLm/tfOWDoDGz/a4yBjeCceJlnNG2REwsKU1bSyCVUR1 2WXrgCRpWw1JGm5ZvKKOnqQayK35l1WWNHeGaYjJDR6j0iqs5q2sSXgrW1DJU/IUPc fovKEEFWuv6opxSuOjyFFjF2ZC5IJbKJADhpOXAhMr5n8sRuDyX0b+s0+jqxw6yGTJ SkwMDI/U2tWcZ6iyT9e4kQI/S1tpHgTmnxNCKhp1BIh/p2Q7Zn3szDPKtFMINJIcIJ S5X6R7UeFhgOGW7DLaZcUWcxnBrqqxIFgmS9lublprW3FFYhLpApXmGw/SQ8w4yxUv 4u5uhzo/b4mv42OGGn6Ri+zE= Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Sat, 20 May 2023 19:35:00 -0700 Message-ID: <09d63b53-73ca-f1f5-8716-e1be9c67f3cc@holgerdanske.com> Date: Sat, 20 May 2023 19:34:56 -0700 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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: Moving to a larger disk To: questions@freebsd.org References: Content-Language: en-US From: David Christensen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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.998]; DMARC_POLICY_ALLOW(-0.50)[holgerdanske.com,none]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; BLOCKLISTDE_FAIL(0.00)[184.105.128.27:server fail,99.100.19.101:server fail]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[holgerdanske.com:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4QP4S25s2zz4bl8 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On 5/20/23 01:16, Odhiambo Washington wrote: > On Sat, May 20, 2023 at 2:55 AM 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 '^$|^.*#' ¯\_(ツ)_/¯ :-) >>> [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? I think you will find it impossible to do the migration without knowing the answers to some subset of the questions I asked; which subset depends upon your equipment and the path you follow during migration. I asked for additional information in case you are in an "all your eggs in one basket" situation; you might want to hear suggestions for alternatives. David