Changes between Version 28 and Version 29 of Doc/BasicConfig/AII


Ignore:
Timestamp:
Aug 20, 2009, 8:10:33 AM (15 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/BasicConfig/AII

    v28 v29  
    4646 
    4747=== Customizing File System List ===
     48
     49The responsibility of the layout template (like the provided examples [source:templates/trunk/sites/example/site/filesystems/glite.tpl site/filesystems/glite.tpl], [source:templates/trunk/sites/example/site/filesystems/extended.tpl site/filesystems/extended.tpl], [source:templates/trunk/sites/example/site/filesystems/sw_raid.tpl site/filesystems/sw_raid.tpl]) is to build a variable `DISK_VOLUME_PARAMS` which is an nlist that contains one entry per file system or block device (the key in the nlist is just an arbitrary identifier used for cross-referencing entries). Both of thems are described the same way in the same variable: they all have a set of attributes declared in a nlist. Possible attributes vary dependending on wether it is a file system or block device or depending on the block device type (partition, software raid, hardware raid, LVM). An entry is considered a file system if it has an attribute `mountpoint` defined.
     50
     51When the layout template is executed, `DISK_VOLUME_PARAMS` already exists with some typical default entries. For this reason, the layout template doesn't create the variable from scratch with function `nlist()` but uses the function `filesystem_mod()` to update it. This is also for this reason that in the examples (
    4852
    4953This should be done as demonstrated in the [source:templates/trunk/sites/example/site/filesystems/glite.tpl example], using function `filesystem_mod()`to update variable `DISK_VOLUME_PARAMS`.