luks lvm resize partition

# DELETE AND CREATE PARTITION
fdisk /dev/sda
d
n
w
reboot

# LVM resize
pvresize /dev/mapper/luks-XXXXXXXXXX
lvresize -l +100%FREE /dev/mapper/cl-root
pvresize /dev/mapper/luks-XXXXXXXXXX
xfs_growfs /dev/mapper/cl-root

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>