From 495beb42f0c9a56deb8658d697f06c05b6109142 Mon Sep 17 00:00:00 2001 From: Manuel Franceschini Date: Tue, 29 Apr 2008 15:26:05 +0000 Subject: [PATCH] Add file-based options to gnt-instance man-page Reviewed-by: iustinp --- man/gnt-instance.sgml | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/man/gnt-instance.sgml b/man/gnt-instance.sgml index 708516f..e271908 100644 --- a/man/gnt-instance.sgml +++ b/man/gnt-instance.sgml @@ -82,8 +82,15 @@ initrd_path + --file-storage-dir dir_path + --file-driver + loop + blktap + + -t diskless + file plain drbd @@ -229,6 +236,12 @@ + file + + Disk devices will be regular files. + + + plain Disk devices will be logical volumes. @@ -258,8 +271,60 @@ + The specifies the relative path + under the cluster-wide file storage directory to store file-based + disks. It is useful for having different subdirectories for + different instances. The full path of the directory where the disk + files are stored will consist of cluster-wide file storage directory + + optional subdirectory + instance name. Example: + /srv/ganeti/file-storage/mysubdir/instance1.example.com. This option + is only relevant for instances using the file storage backend. + + + + The specifies the driver to use for + file-based disks. Note that currently these drivers work with the + xen hypervisor only. This option is only relevant for instances using + the file storage backend. The available choices are: + + + loop + + Kernel loopback driver. + + + + blktap + + blktap driver. + + + + + + + The loop driver uses loopback devices to access the filesystem + within the file. However, running I/O intensive applications + in your instance using the loop driver might result in slowdowns. + Furthermore, if you use the loopback driver consider increasing + the maximum amount of loopback devices (on most systems it's 8) + using the max_loop param. + + + + In order to be able to use the blktap driver you should check + if the 'blktapctrl' user space disk agent is running (usually + automatically started via xend). This user-level disk I/O + interface has the advantage of better performance. Especially + if you use a network file system (e.g. NFS) to store your instances + this is the recommended choice. + + + Example: +# gnt-instance add -t file -s 30g -m 512 -o debian-etch \ + -n node1.example.com --file-storage-dir=mysubdir instance1.example.com # gnt-instance add -t plain -s 30g -m 512 -o debian-etch \ -n node1.example.com instance1.example.com # gnt-instance add -t drbd -s 30g -m 512 -o debian-etch \ -- 1.7.10.4