In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
one。 First of all, we need to prepare the VM virtual machine and centos7.4 private messages. I will send you Baidu links, both of which are free resources.
II. Overview of LVM logical volumes
1.LVM logical volume function
Basic Concepts of 2.LVM Mechanism
There can be multiple physical volumes in a volume group. Logical volumes all use capacity from the volume group. The smallest unit of capacity is PE.
Administrative commands for 3.LVM
Remember these commands, how to remember, physical volume: pv volume group: vg logical volume: lv
The latter is all the same, and the physical volume cannot be expanded or reduced.
Let's learn about it first. next, let's study while we experiment.
The 4.LVM application learns the steps through this case.
To sum up: first create physical volumes-volume groups-logical volumes
3. VLM experiment
1. Let's add three hard drives first.
two。 The hard drive added after reboot can only be recognized.
3. Let's go to the device DEV to see if these hard drives are available.
4. Enter hard disk editing
5. Add the first primary partition
6. Change the primary partition type of sdb to LVM
7. Enter the primary partition of sdc and replace it with LVM
8. Enter the primary partition of sdd and replace it with LVM
9. Create all three LVM as physical volumes
10. Create a volume group, set the name
11. Create a logical area
twelve。 Go to the volume group to see if there are any logical volumes
13. Use lvdisplay to view the details of logical volumes
14. Create a second logical volume
15. Check to see if there are these two logical partitions
16. Extend 10G to logical volume mbox01
17. Check whether the logical volume has 35G.
18. Format two logical volumes and create two mount points
19. Edit in automatic mount
20. Restart to see if it is mounted.
That's all we have.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.