RHEL5 LVM 实验完全手册 LVM 是逻辑盘卷管理(Logical Volume Manager)的简称,它是Linux 环境下对磁盘分区进行管理的一种机制,LVM 是建立在硬盘和分区之上的一个逻辑层,来提高磁盘分LVM 区管理的灵活性, 使得用户在无需停机的情况下方便地调整各个分区大小。 A、 创建LVM 1、 创建磁盘分区,转换文件系统类型为 LVM(8e) [root@vm ~]# fdisk /dev/sdb The number of cylinders for this disk is set to 2610. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-2610, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-2610, default 2610): 100 Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (101-2610, default 101): Using default value 101 Last cylinder or +size or +sizeM or +sizeK (101-2610, default 2610): 200 Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 3 First cylinder (201-2610, default 201): Using default value 201 Last cylinder or +size or +sizeM or +sizeK (201-2610, default 2610): 500 Command (m for help): n Command action e extended p primary partition (1-4) p Selected partition 4 First cylinder (501-2610, default 501): Using default value 501 Last cylinder or +size or +sizeM or +sizeK (501-2610, default 2610): 1200 Command (m for help): p Disk /dev/sdb: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = ...