Your SlideShare is downloading. ×
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

4. storage lvm

206
views

Published on


0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
206
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Windows AdminsK: човек, windows админите сакато сектантиK: разказват ни какво ново вexchange 2013 и споменават, чевече management consola-та eдоста oрязана, и всичко се правипрез PowerShell... и залатаизпадна в потрес
  • 2. 4 – Storage LVM/SW RAIDMarian Marinov Borislav VaradinovCEO of 1H Ltd. System Administratormm@1h.com bobi [ at ] itp.bg
  • 3. Lame Vertical Move – LVMLogical Volume Manager... and why to complicate things?
  • 4. LVM Ицо Радо Лили Роси Митко СветльоИванПеткоТишо
  • 5. LVM Ицо Лили Митко РосиИванПеткоТишо
  • 6. LVM
  • 7. LVM
  • 8. LVM Structure➢ UUIDs➢ Physical Extent (PE)➢ Volume Groups (VG) ➢ max logical partitions ➢ max physical volumes ➢ PE size➢ Logical Volume (LV)
  • 9. Logical Volume➢ Size (PEs or KB/MB/GB/TB)➢ Stripe (2 < PE size) N➢ Mirror (multiple copies)➢ Snapshot (typically around 15%-20% ofthe original) chunk size (64KB –1GB)➢ Thin Provisioning➢ RAID 1/4/5/6
  • 10. LVM Commands➢ pvcreate/display/remove➢vgcreate/display/remove/change➢ lvcreate/display/remove➢ Activate the LVM partitions vgchange -a y
  • 11. Linux Software RAID➢ MD device➢ Single command to rule themall -mdadm
  • 12. Linux Software RAID[root@beast ~]# cat /proc/mdstatPersonalities : [raid1]md1 : active raid1 sdc3[1] sda3[0] 58605056 blocks [2/2] [UU]md0 : active raid1 sde1[1] 976759936 blocks [2/1] [U_]unused devices: <none>
  • 13. Units Size HDD – Sectors 512Bytes HW RAID – Blocks 512B – 8MB Partitions – Sectors 512B (depending on the partition type) n SW RAID – Chunks 64KB – 1KB*2 PV – Physical Extents 8KB – 16GB VG – Physical Extents n * PE LV – Chunks 64KB – 1GB FS – Blocks 1KB, 2KB, 4KB (depending on the FS type)Only the HDD is with static size,everything else is with variable size.
  • 14. Ext3 Ext4 Ext4 Ext4LV-boot LV-main LV-usr LV-home Volume 0 PV2 Volume 1 SW RAID PV0 PV1 PV3 sda1 sda2 sda3 sdb1 sdb2 HW RAID HDD HDD HDD
  • 15. Ext4 Ext4 Ext3 Ext4 SW RAIDLV-boot LV-main LV-home0 LV-home1 Volume 0 Volume 1 PV0 PV1 PV2 PV3 PV4 sda1 sda2 sda3 sdb1 sdb2 HW RAID HDD HDD HDD
  • 16. Recovery?➢ CGSecuritys TestDisk ➢ Download
  • 17. DEMO
  • 18. LinksLVM http://www.linux-mag.com/id/7454/SW RAID 0 vs LVM Striping http://www.linux-mag.com/id/7582/SW RAID HowTohttp://www.howtoforge.com/redundant-array-of-inexpeLVM HowTo http://www.howtoforge.com/linux_lvm
  • 19. Storage – LVM/SW RAIDhttp://academy.telerik.com/student-courses/software-technologies/os-windows-linux/
  • 20. Free Trainings @ Telerik Academy Operating Systems @ Telerik Academy http://telerikacademy.com/Courses/Courses/Details/35 Telerik Software Academy  academy.telerik.com Telerik Academy @ Facebook  facebook.com/TelerikAcademy Telerik Software Academy Forums  forums.academy.telerik.com