Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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

How to create LVM in Linux

user-image
Question ajoutée par Akhilesh Yadav , Linux Technical Lead , Wipro Limited
Date de publication: 2013/06/19
Amr Mohamed Abdo Eissa
par 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
par 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

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?