X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=pvesm.adoc;h=bbdec4730f23f6f6a110c1362b643ed736552f16;hb=57b78691f8d42101844d3e8df9c52d863d22304f;hp=90ae8505179501de4f9ca9b82a93d4b0e8abe843;hpb=871e1fd656b4cd674532ce4e9e1c87e5f8d8545f;p=pve-docs.git diff --git a/pvesm.adoc b/pvesm.adoc index 90ae850..bbdec47 100644 --- a/pvesm.adoc +++ b/pvesm.adoc @@ -71,7 +71,7 @@ snapshots and clones. |NFS |nfs |file |yes |no |yes |GlusterFS |glusterfs |file |yes |no |yes |LVM |lvm |block |no |no |yes -|LVM-thin |lvmthin |block |no |yes |beta +|LVM-thin |lvmthin |block |no |yes |yes |iSCSI/kernel |iscsi |block |yes |no |yes |iSCSI/libiscsi |iscsidirect |block |yes |no |yes |Ceph/RBD |rbd |block |yes |yes |yes @@ -83,6 +83,26 @@ snapshots and clones. TIP: It is possible to use LVM on top of an iSCSI storage. That way you get a 'shared' LVM storage. +Thin provisioning +~~~~~~~~~~~~~~~~~ + +A number of storages, and the Qemu image format `qcow2`, support _thin +provisioning_. With thin provisioning activated, only the blocks that +the guest system actually use will be written to the storage. + +Say for instance you create a VM with a 32GB hard disk, and after +installing the guest system OS, the root filesystem of the VM contains +3 GB of data. In that case only 3GB are written to the storage, even +if the guest VM sees a 32GB hard drive. In this way thin provisioning +allows you to create disk images which are larger than the currently +available storage blocks. You can create large disk images for your +VMs, and when the need arises, add more disks to your storage without +resizing the VMs filesystems. + +All storage types which have the 'Snapshots' feature also support thin +provisioning. + + Storage Configuration --------------------- @@ -118,12 +138,16 @@ 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. .Default storage configuration ('/etc/pve/storage.cfg') -==== - dir: local +---- +dir: local path /var/lib/vz - content backup,iso,vztmpl,images,rootdir - maxfiles 3 -==== + content iso,vztmpl,backup + +lvmthin: local-lvm + thinpool data + vgname pve + content rootdir,images +---- Common Storage Properties ~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -304,6 +328,34 @@ Show filesystem path for a volume pvesm path +ifdef::wiki[] + +See Also +-------- + +* link:/index.php/Storage:_Directory[Storage: Directory] + +* link:/index.php/Storage:_GlusterFS[Storage: GlusterFS] + +* link:/index.php/Storage:_User_Mode_iSCSI[Storage: User Mode iSCSI] + +* link:/index.php/Storage:_iSCSI[Storage: iSCSI] + +* link:/index.php/Storage:_LVM[Storage: LVM] + +* link:/index.php/Storage:_LVM_Thin[Storage: LVM Thin] + +* link:/index.php/Storage:_NFS[Storage: NFS] + +* link:/index.php/Storage:_RBD[Storage: RBD] + +* link:/index.php/Storage:_ZFS[Storage: ZFS] + + +endif::wiki[] + +ifndef::wiki[] + // backend documentation include::pve-storage-dir.adoc[] @@ -316,6 +368,8 @@ include::pve-storage-zfspool.adoc[] include::pve-storage-lvm.adoc[] +include::pve-storage-lvmthin.adoc[] + include::pve-storage-iscsi.adoc[] include::pve-storage-iscsidirect.adoc[] @@ -323,7 +377,10 @@ include::pve-storage-iscsidirect.adoc[] include::pve-storage-rbd.adoc[] + ifdef::manvolnum[] include::pve-copyright.adoc[] endif::manvolnum[] +endif::wiki[] +