[Netkit.users] labs with symlinks

Massimo Rimondini rimondin at dia.uniroma3.it
Thu Sep 4 16:16:08 CEST 2008


Dear Csaba,

that's exactly what I was thinking about.

Regards,
Massimo.

Csaba Kiraly wrote:
> Ok, you are right, tar could be useful for that.
> A solution to have both together might be to tar only the contents of
> the HOSTNAME directory, and not the directory itself.
> This would leave my method of easily replicating VMs, as well as your
> way of preserving special files.
>
> Regards,
> Csaba
>
> Massimo Rimondini wrote:
>> Dear Csaba,
>>
>> thank you for pointing out this issue.The reason why we switched to tar
>> was exactly preserving special files, including symbolic links. However,
>> the condition you mention should be probably handled differently.
>>
>> I am adding this request to our todo list, which we hope to carry out
>> soon.
>>
>> Regards,
>> Massimo.
>>
>>
>> Csaba Kiraly wrote:
>>  
>>> Hi,
>>>
>>> I had a lab which was using symlinks to create virtual machines.
>>> Something like this:
>>>
>>> node1 directory contains some files
>>> node2 -> node1 (a symlink to the node1 directory)
>>>
>>> In previous versions, lstart was starting both VMs and copying the
>>> files
>>> to both.
>>> Now it starts both VMs, but copies only to node1.
>>>
>>> Was there a change in the phase 1 startup files? I see that now you
>>> copy
>>> with tar.
>>> Can you add the "-h" option to tar? This seems to fix the problem.
>>>
>>> Regards,
>>> Csaba
>>>
>>>
>>>     
>


More information about the Netkit.users mailing list