Mounting a disk image
I have a Linode 512 and this comes with 16GB.
You have to reserve some space for swap (256 MB for an ubuntu server, does that sound about right?)
What about the rest? Do you create 1 disk image for your webserver, or do you create 2 disk images, 1 for your webserver, and 1 for data/backup storage?
I am going to experiment and learn how to manage a server before I go live, so I will probably reinstall my server a few times in the following months and thought that a separate data disk would save me some trouble (backups of config files, sites, …).
Does this makes sense?
I found out how to mount the data disk:
Create new disk image "Data"
edit configuration profile and select "Data" (name of image) for /dev/xvdc.
save changes and reboot
ssh login, mkdir /data and mount -t ext3 /dev/xvdc /data
And this works.
How do I put this correctly in the fstab? I do not know all the options.
thanx
PS: How many servers can you create on 1 linode512? Probably only 1 running at a time, but can you create more than 1?
3 Replies
Edit:
> The backup system must be able to mount your disk images on the host. If you've used fdisk on your images to create partitions, or created encrypted volumes, or LVM, or done anything other than use our deployment or disk image creation tools, we won't be able to back up the data. The backup system operates on files, not at the block level.