For more information about lvm formatting-Linux general technology-Linux technology and application, see the following. We know that a partition without Formatting cannot be directly mounted to a directory.
The experiment steps are as follows:
1. Add a new hard disk to the virtual machine. The disk size is 8 GB.
2. Divide the new hard disk into two primary partitions, each of which is 1 GB in size, and the remaining partitions are empty.
As an extended partition
3. Create two logical partitions on the extended partition, each with a size of 1 GB
4. format the new partition to the ext3 type.
5. Convert sdb1 and sdb2 partitions into logical volumes
6. Use logical volumes sdb1 and sdb2 to create a volume group web
7. Add the physical volume sdb5 to the volume group web
8. Create a 1 GB logical volume on the volume group web page, with the name
Web_lv
9. Expand 1 GB space in the volume group web
10. format the logical volume web_lv to the ext3 type and mount it
/Media Directory
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service