Lab 1 - Red Hat Summit
Lab 1 - Red Hat Summit Lab 1 - Red Hat Summit
Lab 2 : Part 2 – Analyzing lvresize[root]# lvresize -i 2 -L +100M vg_summit/lab2 /dev/vd{e,f}1Using stripesize of last segment 64.00 KiBRounding size (52 extents) down to stripe boundary size for segment (53 extents)Extending logical volume lab2 to 212.00 MiBLogical volume lab2 successfully resized[root]# lvs -o lv_name,lv_size,lv_attr,segtype,devices vg_summit/lab2LV LSize Attr Type Deviceslab2 212.00m -wi-ao striped /dev/vdb1(0),/dev/vdc1(0),/dev/vdd1(0)lab2 212.00m -wi-ao striped /dev/vde1(0),/dev/vdf1(0)[root]# lvs --segments -o +devices vg_summitLV VG Attr #Str Type SSize Deviceslab2 vg_summit -wi-ao 3 striped 108.00m /dev/vdb1(0),/dev/vdc1(0),/dev/vdd1(0)lab2 vg_summit -wi-ao 2 striped 104.00m /dev/vde1(0),/dev/vdf1(0)lab2 segement 1 has 3 stripeslab2 segment 2 has 2 stripes
Lab 2 : Part 2 – Analyzing resize2fs[root]# resize2fs /dev/vg_summit/lab2resize2fs 1.41.12 (17-May-2010)Filesystem at /dev/vg_summit/lab2 is mounted on /mnt/lab2; on-line resizingrequiredold desc_blocks = 1, new_desc_blocks = 1Performing an on-line resize of /dev/vg_summit/lab2 to 208896 (1k) blocks.The filesystem on /dev/vg_summit/lab2 is now 208896 blocks long.[root]# df -h /mnt/lab2FilesystemSize Used Avail Use% Mounted on/dev/mapper/vg_summit-lab2206M 5.8M 190M 3% /mnt/lab2/mnt/lab2 is ~200M
- Page 2 and 3: Fundamentals of LVM (LAB)Christoph
- Page 4 and 5: Quick SurveyAudience ProfileSystem
- Page 6 and 7: Quick SurveyBASH Skills Testls /dev
- Page 8 and 9: Why use Logical Volume Management?
- Page 10 and 11: The LVM CLI ToolboxPhysical Volumes
- Page 12 and 13: Mapping Linear Logical Extents (LE)
- Page 14 and 15: Lab 1 : Part 1 - Analyzing pvcreate
- Page 16 and 17: Lab 1 : Part 1 - Analyzing lvcreate
- Page 18 and 19: Lab 1 : Part 1 - Analyzing mount[ro
- Page 20 and 21: Lab 1 : Part 2 - Resize a Filesyste
- Page 22 and 23: Lab 1 : Part 2 - Analyzing lvresize
- Page 24 and 25: Lab 1 : Part 3 - Resize a Filesyste
- Page 26 and 27: Lab 1 : Part 3 - Analyzing resize2f
- Page 28 and 29: Logical Volume ManagementStriping a
- Page 30 and 31: Lab 2 : Part 1 - Create a Striped L
- Page 32 and 33: Lab 2 : Part 1 - Analyzing lvcreate
- Page 34 and 35: Lab 2 : Part 2 - Resize a Striped L
- Page 38 and 39: LVM Mirrors●●●Summary:●LVM
- Page 40 and 41: Lab 3 : Part 1 - Analyzing lvcreate
- Page 42 and 43: Lab 3 : Part 3 - Upconvert a Mirror
- Page 44 and 45: LVM Procedure - Mirror Split●●
- Page 46 and 47: Lab 3 : Part 3 - Analyzing lvconver
- Page 48 and 49: Logical Volume ManagementRAID
- Page 50 and 51: Architectural Overview (Current)Use
- Page 52 and 53: Lab 4 - Create a RAID5 LVlvcreate
- Page 54 and 55: LVM RAID 1 - Converting a Mirror to
- Page 56 and 57: Lab 5 - Analyzing lvconvert[root@bp
- Page 58 and 59: Lab 5 - BONUS * Analyzing the renam
- Page 60 and 61: LVM Snapshot●●●Summary:●Qui
- Page 62 and 63: Lab 6 - Analyzing lvcreate[root]# l
- Page 64 and 65: Lab 6 - Analyzing the filesystems[r
- Page 66 and 67: Lab 7 : Merge LV to Previous Stateu
- Page 68 and 69: Lab 7 - Analyzing the filesystems[r
- Page 70 and 71: Lab 8 - Create a sparse logical vol
- Page 72 and 73: Logical Volume ManagementThin Provi
- Page 74 and 75: LVM Thin Logical Volumes and Snapsh
- Page 76 and 77: Lab 9: Part 1 - Analyzing creation
- Page 78 and 79: Lab 9: Part 2 - Analyzing creation
- Page 80 and 81: What we DID NOT talk about●●●
- Page 82 and 83: Additional Self Help●●Man & Inf
- Page 84 and 85: Additional Exercises #1Using snapsh
<strong>Lab</strong> 2 : Part 2 – Analyzing resize2fs[root]# resize2fs /dev/vg_summit/lab2resize2fs 1.41.12 (17-May-2010)Filesystem at /dev/vg_summit/lab2 is mounted on /mnt/lab2; on-line resizingrequiredold desc_blocks = 1, new_desc_blocks = 1Performing an on-line resize of /dev/vg_summit/lab2 to 208896 (1k) blocks.The filesystem on /dev/vg_summit/lab2 is now 208896 blocks long.[root]# df -h /mnt/lab2FilesystemSize Used Avail Use% Mounted on/dev/mapper/vg_summit-lab2206M 5.8M 190M 3% /mnt/lab2/mnt/lab2 is ~200M