ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

How to create LVM in Linux and how we can took th e backup of LVM?

How to create LVM in Linux

user-image
تم إضافة السؤال من قبل Akhilesh Yadav , Linux Technical Lead , Wipro Limited
تاريخ النشر: 2013/06/19
Amr Mohamed Abdo Eissa
من قبل Amr Mohamed Abdo Eissa , Senior AIX System Engineer , Data & Transaction Services

1- Create logic partition with file system (8e=lvm)

2- # pvcreate /dev/sd?? /dev/sd??         to convert this partition to physical volum

3- # vgcreate <volume group name >   /dev/sd?? /dev/sd??    to Combine physical volumes into volume group

4- #lvcreate --name <lvm name>  --size <size by Gb>  <volume group name >   to create a logical volume from the volume group

5- create file system then mount it

6- # lvcreate --name <snap name > -- size -s <lvm which you need to snapshot it >

to create snapshots

Santhosh kumar
من قبل Santhosh kumar , Chief Information Security Officer , Vitae International

  • Create  partitions with desire size
  • Convert them into physical  volumes.
  • Combine physical volumes into volume group.
  • Finally create a logical volume from the volume group.
  • Using LVM snapshots for backup and restore of filesystems

Let me know if you need more details

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟