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

Re: LVM



Andy Hawkins wrote:
> Hi,
>
> In article <46DD754E.9030309@cvt.com.ua>,
>            Yuriy Padlyak<yura@cvt.com.ua> wrote:
>   
>> ok, but I don't know how to move ext3 file system or it's content 
>> without loosing any file attributes, etc either :)
>>     
>
>   

Create a new logical volume of the exact same size, unmount the original
logical volume, then do:
dd if=/dev/vgsource/lvsource of=/dev/vgdest/lvdest bs=262144

This should be the fastest, and guaranteed to copy all the attributes.



Reply to: