[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cloning a lvm crypto volume to a bigger disk

> So I have this machine with a lvm crypto volume done with a debian
> testing install. This is on a disk with 160GB.
> But now I would like to clone it to a new disk: 500GB.
> What are my options?

What's the order of the block layers?

- LVM on top of dm-crypt on top of raw device, or
- dm-crypt on top of LVM on top of raw device

Either way, you can extend your VG with the new disk, pvmove everything
from the old disk and then vgreduce the VG by the old disk. If you need
more specific help, please post your setup (etc/fstab, /etc/crypttab, ls
-l /dev/mapper/).

As a child I pulled the legs from a spider.
[Agree]   [Disagree]

Attachment: signature.asc
Description: Digital signature

Reply to: