lvm add disk to LVM

echo "- - -" > /sys/class/scsi_host/host0/scan # host1, host2 ....
fdisk -l
pvcreate /dev/sdx
vgextend vg00 /dev/sdx
lvextend -l +100%FREE -r /dev/vg00/var

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>