Merging two linux partitions

Robert Heller heller at deepsoft.com
Tue May 14 18:44:14 UTC 2019


At Tue, 14 May 2019 15:48:35 +0200 "Ubuntu user technical support,  not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> On Tue, 14 May 2019 09:22:49 -0400 (EDT), Robert Heller wrote:
> >Be careful to leave the start exactly as it is.
> 
> Btw. even if the OP should need to move the partition, it unlikely will
> cause more trouble than the need to reinstall the bootloader. I never
> lost data when using gparted or command line to reorganise partitions
> or at least I don't remember that this ever happened. I only wanted to
> point out that using a copy command is not failure-prone compared to
> reorganising partitions. Usually nothing unwanted happens when
> using gparted or command line. However, a backup doesn't harm.

I *always* set up disks with at most 2 "physical" partitions: one for /boot 
and the other a LVM PV.  Then I create as many however large or small LVM 
Volumes.  Growing or shrinking a LVM Volume is a trivial (and generally safe) 
task.  When transfering to new/larger disk, I just add the new disk's PV, and 
move things off the old disk and then remove the old disk's PV.  No need to 
mess with cloning or even resizing, unless/until I need to.  The only really 
tricky bit is migrating from one RAID mirror set to another. 

> 
> 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                                                                                                                     




More information about the ubuntu-users mailing list