Migration of LVM to new OS

Danny Rawlins d.rawlins at datafast.net.au
Tue Nov 3 08:29:43 UTC 2009


Hi

Wawrzyniec Niewodniczański wrote:
> 2009/11/2 Markus Messmer <markus.messmer at googlemail.com>:
>
> Hi,
>
>   
>>> There is the different in the name convention (sdX in Ubuntu and hdX
>>> in CRUX). Is there anything I should be aware before starting
>>> migration?
>>>       
>> This depends on how you configure your kernel. When using
>> < > ATA/ATAPI/MFM/RLL support you will end up with hdX
>> the new libata drivers will put sdX in your /dev tree, it's recommended
>> to use this
>> <*> Serial ATA (prod) and Parallel ATA (experimental) drivers
>>
>>     
> Thanks for suggestion.
> It makes perfect sense. First time I overlooked ATA/PATA/SATA options.
> I didn't change them, so they were built as modules, and system
> couldn't intilize root partition. The box is in garage and I'm not
> living in California, so I don't reboot it too often and next time I
> marked both option for any case ;)
>
> Wawrzek
>   
In any case the filter = line in lvm.conf is the only thing you may need
to edit if your PV disks are hdX instead of sdX, but as suggested use
libata. LVM will scan any devices allowed in the filter for PV volumes.

Regards,
Danny Rawlins



More information about the CRUX mailing list