Free Online Certification Courses – Learn Today. Lead Tomorrow. › Forums › Apache Hadoop › What is LVM?
- This topic has 1 reply, 1 voice, and was last updated 5 years, 7 months ago by DataFlair Team.
-
AuthorPosts
-
-
September 20, 2018 at 2:33 pm #5201DataFlair TeamSpectator
What is LVM – Logical Volume Manager?
What are pros and cons of LVM? -
September 20, 2018 at 2:33 pm #5203DataFlair TeamSpectator
Logical Volume Management(LVM) is a tool to mount the disks on the machine/Server. Suppose 10 disk of 2 TBs are mounted on the server, So for the server only one disk of 10*2=20TB would be mounted. which means that the physical disks are combined into one single logical Disk.
Pros:
1. Dynamic Volume Resizing: LVM allow you to leave un-partitioned space on the hard disk and add it to a specific partition as needed without having to back up your data and reformat the hard drive
2. Snapshots: We can create a Read Only snapshot of the Logical Volume and you can revert the original LV to the snapshot at a later time, or delete the snapshot if you no longer need it. This is good for server backups for instance (you cannot stop all your applications from writing, so you create a snapshot and backup the snapshot LV), but can also be used to provide a “safety net” before a critical system upgrade (clone the root partition, upgrade, revert if something went wrong).Cons:
1. Performance: The data read will not be in parallel as the LVM will allow to read the disk one by one in sequential manner hence degrading the performance.
2. Disaster Recovery: If even one disk fails we may loose all the data as it is logically mounted on same server.
-
-
AuthorPosts
- You must be logged in to reply to this topic.