# Xen na Squeeze - Instalowanie i konfiguracja hostów gości (DomU)

DevFeed: [Xen na Squeeze - Instalowanie i konfiguracja hostów gości (DomU)](<https://devfeed.tech/articles/xen-na-squeeze-instalowanie-i-konfiguracja-hostow-gosci-domu-27520.md>)

Original publisher: [Read original article](<https://gagor.pro/2012/02/xen-na-squeeze-instalowanie-i-konfiguracja-hostow-gosci-domu/>)

Author: Tom

Published: 2012-02-24T00:00:00Z

Content type: tutorial

Language: pl

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Xen](<https://devfeed.tech/topics/xen.md>), [LVM](<https://devfeed.tech/topics/lvm.md>), [Ext4](<https://devfeed.tech/topics/ext4.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>), [XFS](<https://devfeed.tech/topics/xfs.md>), [apt](<https://devfeed.tech/topics/apt.md>)

Tags: [apt](<https://devfeed.tech/tags/apt.md>), [debian](<https://devfeed.tech/tags/debian.md>), [ext4](<https://devfeed.tech/tags/ext4.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [lvm](<https://devfeed.tech/tags/lvm.md>), [virtual](<https://devfeed.tech/tags/virtual.md>), [volume](<https://devfeed.tech/tags/volume.md>), [xen](<https://devfeed.tech/tags/xen.md>), [xfs](<https://devfeed.tech/tags/xfs.md>)

## AI overview

A Polish tutorial explains how to install and configure Xen guest domains (DomU) on Debian Squeeze using xen-tools. It covers default settings, LVM-backed virtual machine disks, snapshots, networking, filesystem choices, independent kernels, and pygrub limitations with XFS.

## Source excerpt

Ostatnio pisałem o konfiguracji Dom0 external link - dzisiaj napiszę o uruchamianiu DomU. Do instalacji DomU wykorzystuję skrypty z pakietu xen-tools, można go zainstalować poleceniem: apt-get install xen-tools Oczywiście aby wszystko działało fajnie musimy ustawić kilka domyślnych opcji, robimy to edytując plik /etc/xen-tools/xen-tools.conf. Lecimy po kolei: # Virtual machine disks are created as logical volumes in # volume group 'universe' (hint: LVM storage is much faster # than file) lvm = universe Osobiście korzystam z LVM'a który zgodnie z hint'em jest znacznie szybszy od plików obrazów. Daje do tego bardzo wygodne możliwość w zarządzaniu rozmiarami wolumenów przydzielonych DomU, możliwość tworzenia snapshotów (np. na potrzeby backupu). Postawienie LVM'a w skrócie wygląda tak: