Description
Entry
Location of the kernel and initial ramdisk.
bootentry =
Type of operating system.
ostype =
Identification number for a virtual drive.
uuid =
6.7 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 increase 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.
Before you start, shutdown any guest accessing the sparse file. The actual increase of
the file size can be done with the command:
dd if=/dev/zero of=<image file> count=0 bs=1M seek=<new size in MB>
For example, to increase the file
/var/lib/xen/images/sles11/disk0
to a
size of 16GB, use the command:
62
Virtualization with Xen
Содержание LINUX ENTERPRISE SERVER 11 - VIRTUALIZATION
Страница 1: ...SUSE Linux Enterprise Server www novell com 11 May 27 2009 Virtualization with Xen ...
Страница 6: ......
Страница 15: ...Figure 1 2 Desktop Showing Virtual Machine Manager and Virtual Machines Introduction to Xen Virtualization 5 ...
Страница 16: ......
Страница 38: ......
Страница 84: ......
Страница 132: ......