• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Linux by
Q:
What are the steps to create LVM?

1 Answer

0 votes
by
– Create physical volumes by “pvcreate” command #pvcreate /dev/sda2 – Add physical volume to volume group by “vgcreate” command #vgcreate VLG0 /dev/sda2 – Create logical volume from volume group by “lvcreate” command. #lvcreate ­L 1G ­n LVM1 VLG0 Now create file system on /dev/sda2 partition by “mke2fs” command. #mke2fs ­j /dev/VLG0/LVM1

Related questions

0 votes
asked Aug 29, 2019 in Linux by Robin
0 votes
asked Aug 31, 2019 in Linux by Robin
...