Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

1 Answer 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.

share|improve this answer
    
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 7 '10 at 11:35
    
Hi erik, here is a tutorial for installing centos on a domu: wiki.centos.org/HowTos/Xen/InstallingCentOSDomU They use the virtual disk as normal device and set up LVM on it. –  Christian Jan 7 '10 at 13:13
    
awesome. thanks again. –  erik Jan 8 '10 at 4:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.