30 | | In AII v2, block devices and file systems are declared separatly. |
| 30 | In AII v2, block devices and file systems are declared separatly. Sections belows give some details about how to configure each of them. Block devices entries are used only if referenced by a file system or another block device entry. |
| 31 | |
| 32 | === Generic Configuration of Filesystems === |
| 33 | |
| 34 | QWG Templates provide a generic template to configure file systems on a typical system with 1 or 2 disks. It is based on template [source:templates/trunk/sites/example/site/filesystems/layout.tpl sites/example/site/filesystems/layout.tpl] that may be customized according to your site needs with a limited set of variables. In addition to this generic template to define disk layouts, QWG templates provides 2 examples of how to use it : |
| 35 | |
| 36 | * [source:templates/trunk/sites/example/site/filesystems/glite.tpl sites/example/site/filesystems/glite.tpl] : define a default system disk layout for a typical grid system running gLite. This template also provides some variables to further refine this default layout without redefining everything. |
| 37 | * [source:templates/trunk/sites/example/site/filesystems/ce_nfs_server.tpl sites/example/site/filesystems/ce_nfs_server.tpl] : add to the basic layout provided by the previous template 2 filesystems, one for home directories and one for VO software areas. It is intended to be used on a machine configured as a NFS server to serve these file systems to WNs (and possibly the CE if it is not the NFS server). |
| 38 | |
| 39 | These two templates are just provided as examples on how to use [source:templates/trunk/sites/example/site/filesystems/layout.tpl sites/example/site/filesystems/layout.tpl]. But this template can be used to build many other layouts. The basic idea is to declare in this template all the possible file system that can be found on a system, most of them with zero size meaning they will not be created unless the variable used to define their size is explicitly set to a non-zero value. |
| 40 | |