Site Tools


chuleta_lvm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
chuleta_lvm [2018/03/21 10:19] etfiatchuleta_lvm [2023/04/26 11:12] (current) etfiat
Line 15: Line 15:
 mkdir mnt mkdir mnt
 mount /dev/vg_datos/lv_upload mnt mount /dev/vg_datos/lv_upload mnt
 +
 +
 +
 +#Borrar vg
 +vgremove  ceph-764b89e0-16ca-4115-bbd6-10996f863fca 
 +
 +Do you really want to remove volume group "ceph-010c4622-2dd1-44d7-bc93-8fd6ef7bf411" containing 1 logical volumes? [y/n]: y
 +Do you really want to remove active logical volume ceph-010c4622-2dd1-44d7-bc93-8fd6ef7bf411/osd-block-6a2e1bbd-17e4-4e5b-96ad-a0e3dc267930? [y/n]: y
 +  Logical volume "osd-block-6a2e1bbd-17e4-4e5b-96ad-a0e3dc267930" successfully removed
 +  Volume group "ceph-010c4622-2dd1-44d7-bc93-8fd6ef7bf411" successfully removed
 +
 +
 +
 +
 +
 +#Borrar pv
 + pvremove  /dev/sdr
 +  Labels on physical volume "/dev/sdr" successfully wiped.
 +
 </code> </code>
 +
 +
 +
 +<code>
 +#Estirar pv 
 +pvresize /dev/sdx
 +
 +#estirar lv
 +
 +lvextend -r -l +100%FREE /dev/mapper/vg_xxx/xxx
 +
 +
 +</code>
 +
chuleta_lvm.1521627581.txt.gz · Last modified: by etfiat