Lab 1 - Red Hat Summit

Lab 1 - Red Hat Summit Lab 1 - Red Hat Summit

rhsummit.files.wordpress.com
from rhsummit.files.wordpress.com More from this publisher
13.07.2015 Views

Lab 1 : Part 3 – Resize a Filesystem againlvresize ­L +10M /dev/vg_summit/lab1 /dev/vdc1resize2fs /dev/vg_summit/lab1

Lab 1 : Part 3 – Analyzing lvresize a second time[root]# lvresize -L +10M /dev/vg_summit/lab1 /dev/vdc1Rounding up size to full physical extent 12.00 MiBExtending logical volume lab1 to 32.00 MiBLogical volume lab1 successfully resizedDevice specification[root]# lvs -o lv_name,lv_size,lv_attr,segtype,devices vg_summit/lab1LV LSize Attr Type Deviceslab1 32.00m -wi-ao linear /dev/vdb1(0)lab1 32.00m -wi-ao linear /dev/vdc1(0)Specify relative increasein size +10MB[root]# lvs --segments -o +devices vg_summit/lab1LV VG Attr #Str Type SSize Deviceslab1 vg_summit -wi-ao 1 linear 20.00m /dev/vdb1(0)lab1 vg_summit -wi-ao 1 linear 12.00m /dev/vdc1(0)LV lab1 now extendsin to vdc1Note the different sizeof each segment

<strong>Lab</strong> 1 : Part 3 – Analyzing lvresize a second time[root]# lvresize -L +10M /dev/vg_summit/lab1 /dev/vdc1Rounding up size to full physical extent 12.00 MiBExtending logical volume lab1 to 32.00 MiBLogical volume lab1 successfully resizedDevice specification[root]# lvs -o lv_name,lv_size,lv_attr,segtype,devices vg_summit/lab1LV LSize Attr Type Deviceslab1 32.00m -wi-ao linear /dev/vdb1(0)lab1 32.00m -wi-ao linear /dev/vdc1(0)Specify relative increasein size +10MB[root]# lvs --segments -o +devices vg_summit/lab1LV VG Attr #Str Type SSize Deviceslab1 vg_summit -wi-ao 1 linear 20.00m /dev/vdb1(0)lab1 vg_summit -wi-ao 1 linear 12.00m /dev/vdc1(0)LV lab1 now extendsin to vdc1Note the different sizeof each segment

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!