Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2023 19:34:56 -0700
From:      David Christensen <dpchrist@holgerdanske.com>
To:        questions@freebsd.org
Subject:   Re: Moving to a larger disk
Message-ID:  <09d63b53-73ca-f1f5-8716-e1be9c67f3cc@holgerdanske.com>
In-Reply-To: <CAAdA2WNXFx3MMZvfmFnM_=CwhRb3EbB=KtP2Jf7sYUebV%2Bnp=g@mail.gmail.com>
References:  <CAAdA2WOK3HVmJzWkt-1Un=8ytmLcey5Byvs=brtWhVGvw3iPvQ@mail.gmail.com> <aaf85d2f-2639-88fc-e9ba-0d034a1f1398@holgerdanske.com> <CAAdA2WNXFx3MMZvfmFnM_=CwhRb3EbB=KtP2Jf7sYUebV%2Bnp=g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/20/23 01:16, Odhiambo Washington wrote:
> On Sat, May 20, 2023 at 2:55 AM David Christensen <dpchrist@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     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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09d63b53-73ca-f1f5-8716-e1be9c67f3cc>