If you can't read please download the document
Upload
juan-a-suarez-romero
View
4.009
Download
0
Embed Size (px)
DESCRIPTION
Introduction to LVM and how it is related with other modules like LUKS.
Citation preview
2. Logical Volume Manager What is?
3. Logical Volume Manager What is?
4. Logical Volume Manager Concepts
5. Logical Volume Manager Concepts
VG /dev/sda1 /dev/vg/lv1 /dev/sda2 /dev/vg/lv2 /dev/vg/lv3 6. Logical Volume Manager PVs
(1) Create one or more partitions with fdisk, with type LVM (2)pvcreate /dev/ 7. Logical Volume Manager VGs
8. Logical Volume Manager VGs (1) Create one or more partitions with fdisk, with type LVM (2)pvcreate /dev/sda1 (3)pvcreate /dev/hdb2 (4)pvcreate /dev/hdc3 (5)vgcreate myvg /dev/sda1 /dev/hdb2 /dev/hdc3 9. Logical Volume Manager LVs
10. Logical Volume Manager LVs (1) Create a VG (2)lvcreate -L -n lvcreate -L10G -n mylv myvg It creates/dev/myvg/mylv(a link to/dev/mapper/myvg-mylv ) mkfs.ext3 /dev/myvg/mylv 11. Logical Volume Manager Snapshots
lvcreate -s -L -n RW: lvcreate -s -L1G -n mylv-snapshot /dev/myvg/mylv RO: lvcreate -s -L1G -n mylv-snapshot -p r /dev/myvg/mylv 12. Logical Volume Manager Snapshots
13. Logical Volume Manager Uses of Snapshots
lvcreate -s -L1G -n snaproot /dev/vg/lvroot run-backup.sh /dev/vg/snaproot lvremove -f /dev/vg/snaproot 14. Logical Volume Manager LVM and other technologies /dev/* /dev/mapper/* /dev/* /dev/* /dev/md0 LUKS RAID 15. Logical Volume Manager LVM and other technologies /dev/* /dev/mapper/* /dev/* /dev/vg/* /dev/* /dev/* /dev/vg/* LUKS LVM 16. Logical Volume Manager LVM and other technologies /dev/* /dev/vg/* /dev/vg/* LUKS LVM 17. Logical Volume Manager LVM and other technologies /dev/vg/* /dev/* /dev/mapper/* LUKS LVM 18. Logical Volume Manager LVM and other technologies /dev/vg/* /dev/vg/* /dev/* /dev/* LUKS LVM RAID 19. Logical Volume Manager LVM and other technologies /dev/* /dev/* /dev/* /dev/vg1/* /dev/* /dev/* /dev/* /dev/vg2/* /dev/vg3/* /dev/vg3/* LUKS LUKS LVM LVM LVM 20. Logical Volume Manager My Laptop /dev/sdaA tmp home swap sbox root var music /dev/sdaB /dev/sdaC LUKS VG-CRYPT VG-UNCRYPT 21. Logical Volume Manager The End That's all, folks!