Outils pour utilisateurs

Outils du site


proxmox:lvm

Ceci est une ancienne révision du document !


Proxmox: LVM notes en vrac

lvcreate –type linear -L 1To pve -n storage-lvm mkdir /mnt/files-lvm echo '/dev/pve/files-lvm /mnt/files-lvm ext4 defaults 0 2' » /etc/fstab mkfs.ext4 /dev/pve/files-lvm mount /mnt/files-lvm pvesm add lvm storage-lvm –vgname pve

pvesm add dir files-lvm –path /mnt/files-lvm/

lvcreate –type thin-pool -L 3T pve

lvcreate –type thin-pool -L 3T pve -n thinpool

lvcreate –thinpool pve/thin_pool –name local-storage –size 1T

lvcreate –thinpool pve/thin_pool –name files-storage –virtualsize 1T lvcreate –thinpool pve/thin_pool –name block-storage –virtualsize 3T

mkdir /mnt/files-storage echo '/dev/pve/files-storage /mnt/files-storage ext4 defaults 0 2' » /etc/fstab mount /mnt/files-storage pvesm add dir files-storage –path /mnt/files-storage

pvesm add lvmthin local-lvm –vgname pve –thinpool data

lvcreate –thin –chunksize 256K –size 4.2T pve/thin_pool lvcreate –thinpool pve/data –name files-storage –virtualsize 1T mkdir /mnt/files-storage echo '/dev/pve/files-storage /mnt/files-storage ext4 defaults 0 2' » /etc/fstab mkfs.ext4 /dev/pve/files-storage mount /mnt/files-storage pvesm add dir files-storage –path /mnt/files-storage

proxmox/lvm.1644091075.txt.gz · Dernière modification : (modification externe)