Re: Prepend LV

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

 



Dne 3.9.2018 v 11:04 Oleksandr Panchuk napsal(a):
Hello, All

I have not found any documentation about how to prepend LV with some free space
.
Possible use case - we have LV with filesystem and data on it. But to migrate this LV to KVM virtual machine we need to craft partition inside this LV with already existing data.

I know it is possible to create new LV and copy data here, but it could be time consuming for big LVs.

So, Is there any way to prepend LV with some free space ?


Hi

Lvm2 does NOT support prepend ATM - as there was no big need for such operation.

On the other hand - experienced user can with really low 'math-skill' requirements for a manual extension on the 'ASCII VG metadata' file in 'vi' editor - the format is quite easy to follow.

I assume there is already some RFE to provide such support - in terms of existing limitation that you need to always prepend whole 'extent' (so i.e. with 4MiB extent size - you need to prepend at least 4MiB)

Regards


Zdenek

_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux