Saturday, May 5, 2007

Three become one

Today I took three different computers. Decomposed them into parts and built one computer fitting my need for a new server. I have installed Ubuntu 7.04 (Fesity Fawn). The /boot-directory is stored on a 128MB compact flash disk. The main disk, configured using LVM, is a 200GB-disk. I will later move a 320GB-disk from the current server to this new on. So I will get ½TB of disk, if I do not buy a new disk before that. Thanks to this solution, I can change to bigger disk without reinstall the system.
First, of course, I install the new disk in the computer. Then I tell LVM to include that disk in the Volume Group. After this, I ask LVM to migrate all data from the old disk to the new one. This can be done seamless. Finally, I tell LVM to remove the old disk from the volume group.

No comments: