Re: Moving to a larger disk

From: David Christensen <dpchrist_at_holgerdanske.com>
Date: Fri, 19 May 2023 23:54:34 UTC
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