improve docs about default storage configuration

This commit is contained in:
Dietmar Maurer 2016-08-09 09:14:04 +02:00
parent ba1d96fd8f
commit 9c41b54dc5

View File

@ -134,24 +134,33 @@ Each storage pool has a `<type>`, and is uniquely identified by its `<STORAGE_ID
... ...
---- ----
NOTE: There is one special local storage pool named `local`. It refers to
the directory '/var/lib/vz' and is automatically generated at installation
time.
The `<type>: <STORAGE_ID>` line starts the pool definition, which is then The `<type>: <STORAGE_ID>` line starts the pool definition, which is then
followed by a list of properties. Most properties have values, but some of followed by a list of properties. Most properties have values, but some of
them come with reasonable default. In that case you can omit the value. them come with reasonable default. In that case you can omit the value.
To be more specific, take a look at the default storage configuration
after installation. It contains one special local storage pool named
`local`, which refers to the directory '/var/lib/vz' and is always
available. The {pve} installer creates additional storage entries
depending on the storage type chosen at installation time.
.Default storage configuration ('/etc/pve/storage.cfg') .Default storage configuration ('/etc/pve/storage.cfg')
---- ----
dir: local dir: local
path /var/lib/vz path /var/lib/vz
content iso,vztmpl,backup content iso,vztmpl,backup
# default image store on LVM based installation
lvmthin: local-lvm lvmthin: local-lvm
thinpool data thinpool data
vgname pve vgname pve
content rootdir,images content rootdir,images
# default image store on ZFS based installation
zfspool: local-zfs
pool rpool/data
sparse
content images,rootdir
---- ----
Common Storage Properties Common Storage Properties