[Rear-users] Recovery to a smaller disk

Schlomo Schapiro schlomo at schapiro.org
Thu Aug 11 14:40:37 CEST 2011


Hi,

this should be handled by ReaR, however on RHEL5 this is not very well 
tested. Basically the problem is to add the correct storage driver to 
the initrd afert recovery.

Could you dig into it a little bit? At least provide the recovery log 
(found in /root on the recovered system).

Kind Regards,
Schlomo

On Do 11 Aug 2011 14:21:39 CEST, Marcella.Voigtlaender at o2.com wrote:
> Hi Jeroen,
> 
> I managed to run the rear snapshot on my Redhat 5.5 machine, and with USE_LAYOUT=y I could restore everything. Now I have the problem that my source machine is a HP DL360 G7, with a cciss driver. The destination machine is a virtual machine with a different driver. When I try to boot my restored system the disk can not be found, probably the driver is missing. Is this something I would have to fix manually, in the initrd, or does rear automatically address this issue of changing drivers ?
> 
> Regards
> Marcella
> 
>> -----Ursprüngliche Nachricht-----
>> Von: Jeroen Hoekx [mailto:jeroen.hoekx at hamok.be]
>> Gesendet: Mittwoch, 10. August 2011 12:18
>> An: Discussions about Relax & Recover
>> Betreff: Re: [Rear-users] Recovery to a smaller disk
>>
>>
>> Hello Marcella,
>>
>> On 10 August 2011 11:31,  <Marcella.Voigtlaender at o2.com> wrote:
>>> Hi,
>>>
>>> I am trying a P2V of a Redhat 5.5. using rear. The problem
>> is that the
>>> disk in my virtual machine is smaller than the original
>> harddisk. When
>>> I try a 'rear recover' the message is: "Warning: A disk
>> mapping file
>>> shas been found. But the size of /dev/sda ist too small for the
>>> contents of /dev/cciss/c0d0." I have got about 8 GB of
>> data, and the
>>> virtual disk is 30 GB, it should fit. Am I missing something ? Is
>>> there a way around this issue ?
>>
>> Did you try with USE_LAYOUT=y in your local.conf?
>>
>> That option, now enabled by default in the snapshots, should
>> provide you with some way to do it. It guides you through the
>> layout creation process if any anomalies are detected. It
>> currently resizes partitions used by LVM and software raid.
>> It does not currently resize normal partitions, but that is
>> open for discussion.
>>
>> Greetings,
>>
>> Jeroen
>>
>> --------------------------------------------------------------
>> ----------------
>> uberSVN's rich system and user administration capabilities and model
>> configuration take the hassle out of deploying and managing
>> Subversion and
>> the tools developers use with it. Learn more about uberSVN
>> and get a free
>> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>> _______________________________________________
>> Rear-users mailing list
>> Rear-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/rear-users
>>
> 
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
> user administration capabilities and model configuration. Take 
> the hassle out of deploying and managing Subversion and the 
> tools developers use with it. 
> http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Rear-users mailing list
> Rear-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rear-users




More information about the rear-users mailing list