how to copy an ubuntu system disk containing a logical volume.
Rabin Yasharzadehe
rabin at rabin.io
Sun Nov 18 21:25:30 IST 2018
I won't give up on LVM yet, it's a very useful technology to have and use
(snapshots is one of them),
you can create the same base layout on the new disk with /boot and LVM/VG
for the rest of the disk
and then use `dd` to clone the content from one partition/lvm to another.
if you need more details for how to do it, just let me know, i will be
happy to help.
--
Rabin
On Sun, 18 Nov 2018 at 20:14, Geoffrey Mendelson <
geoffreymendelson at gmail.com> wrote:
> I have an Ubuntu 15.10 system. When I installed it, it defaulted to a
> regular ext(something) boot partition, and an lvm partition with everything
> else on it.
>
> There now is a bad spot in the lvm partition. fsck with a read check does
> not find it. I have moved enough data off of it, so it wont show up in a
> file copy.
>
> I will have a new drive tomorrow, intended to replace the old one. The old
> one is 300 gig, the new one is 1tb.
>
> Normally, I would just partition it, make both file systems ext4, copy the
> files and run grub.
>
> The lvm volume is something I dont understand.
>
> If there a diskcopy type utility that would do all the work for me?
>
> Is there a howto?
>
> Can I just make the root an ext4 partition on the new disk and skip the
> lvm?
>
> What would I have to change? I assume grub.conf and /etc/fstab. Anything
> else?
>
> TIA
>
> Geoff
> --
>
> From my tablet please pardon mistakes and lack of replies.
> Geoffrey Mendelson
> 4X1GM/N3OWJ
> Jerusalem Israel
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20181118/4005cd56/attachment.html>
More information about the Linux-il
mailing list