Cloning nodes "Not enough free space" to clone..
Source:
# df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/xvda 11812 9453 1999 83% /
Destination:
# df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/xvda 15875 389 14842 3% /
5 Replies
You'll need to shrink the disk image on your destination linode to free up enough unallocated space.
* 1. Create a new node, edit the profile to make sure you build a small disk.
2\. Make sure your source disk image size fits into the available unused space.
3\. Clone source to destination. This will create another device on the destination node.
4\. Boot up destination node, mount cloned image to edit hosts and network (static IPs).
5\. Edit node profile, marking cloned image as the root device to boot from.
6\. Reboot destination node.</list>
Writing it out, they all seem like obvious steps. Don't know why I didn't grok it first time. Any hints or suggestions where I might have missed something?
If you've used static IPs, then yes you'd have to edit the IP before booting the copied partition, but you can do that with finnix to avoid having to deploy a new distro and worry about disk image sizes (all you'd need to worry about is source <= destination)
@Guspaz:
If you've used static IPs, then yes you'd have to edit the IP before booting the copied partition, but you can do that with finnix to avoid having to deploy a new distro and worry about disk image sizes (all you'd need to worry about is source <= destination)
I do have static IPs. I tried setting finnix as the boot device, but got an error (paraphrasing) "node cannot boot for unknown reason".
I think maybe if I were to start again, I would build a node that was easier to clone
@graq:
I think maybe if I were to start again, I would build a node that was easier to clone
:)
Build servers like nature builds organisms: from a set of instructions. PuppetChefDevStructure
-rt (don't think about what pollen really is)