0

i recently came across this post on the importance of partitions, and was impressed, but is this relevant for servers running as guests in xen? if so, how/what do i partition?

Thank you

erik
  • 89
  • 1
  • 1
  • 2

1 Answers1

1

it does not matter if you have a xen guest or a hardware system, you should partition it. The post contains a first idee of how to partition your system. Perhaps you want to go a bit further by adding additional partitions for /var/log and /opt, but it depends on your system setup, how much logs are generated and where you install any additional software or where you save e.g. database files.

Another good practice is to use LVM when possible. This way your system is more flexible and it is easier to make adjustments when your requirements change.

Christian
  • 4,703
  • 2
  • 24
  • 27
  • thanks, Christian. i'm new to xen and still trying to wrap my head around the idea of partitioning a virtual disk. when i ran fdisk -l on the domU's mount point, it only shows a single partition. is this what i split into multiple partitions, or is that an actual hardware partition? can you recommend a tutorial or documentation for this process? thanks again – erik Jan 07 '10 at 11:35
  • Hi erik, here is a tutorial for installing centos on a domu: http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU They use the virtual disk as normal device and set up LVM on it. – Christian Jan 07 '10 at 13:13