Sparse Image Files And Disk Space - Novell SUSE LINUX ENTERPRISE DESKTOP 11 SP1 - 8-18-2010 VIRTUALIZATION WITH ZEN Manual

Virtualization with xen
Table of Contents

Advertisement

For more information about hypervisor parameters, see /usr/share/doc/
packages/xen/pdf/user.pdf section "Xen Boot Options" after installing the
package xen-doc-pdf.
The first module line specifies the directory and filename of the Linux kernel to load.
Replace kernel_parameters with the parameters to pass to the kernel. These
parameters are the same parameters as those that can be passed to a standard Linux
kernel on physical computer hardware.
The second module line specifies the directory and filename of the RAM disk used
to boot the virtual machine host.
To set the GRUB boot loader to automatically boot the Xen virtualization software,
change the default entry from 0, which means the first title entry, to the number
that corresponds to the title XEN entry. In the example file, Xen is the second
title line. To specify it, change the value of default from 0 to 1.

9.2 Sparse Image Files and Disk Space

If the host's physical disk reaches a state where it has no available space, a virtual ma-
chine using a virtual disk based on a sparse image file is unable to write to its disk.
Consequently, it reports I/O errors.
The Reiser file system, perceiving a corrupt disk environment, automatically sets the
file system to read-only. If this situation happens, you should free up available space
on the physical disk, remount the virtual machine's file system, and set the file system
back to read-write.
To check the actual disk requirements of a sparse image file, use the command du -h
<image file>.
To increase the available space of a sparse image file, first increase the file size and
then the file system.
WARNING: Backup Before Resize
Touching the sizes of partitions or sparse files always bears the risk of data
failure. Do not work without a backup.
82
Virtualization with Xen

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise desktop 11 sp1

Table of Contents