逻辑卷管理器LVM简介
|
副标题[/!--empirenews.page--] LVM 的全名是 Logical Volume Manager,中文可以翻译作逻辑滚动条管理员 PV, 实体滚动条 VG, 滚动条群组 PE, 实体延伸区 LV, 逻辑滚动条 透过 PV, VG, LV 的规划后,再利用 mkfs 就可以将你的 LV 格式化成为可以利用的文件系统了! 先分割出 4 个 partition ,每个 partition 的容量均为 1GB 左右, system ID 需要为 8e 全部的 partition 整合成为一个 VG,VG 名称设定为 dgvg; 且PE 的大小为 16MB; 全部的 VG 容量都丢给 LV ,LV 的名称设定为 dglv; 最终这个 LV 格式化为 ext3 的文件系统,且挂载在 /mnt/lvm 中 步鄹1对特定的磁盘 比如sdc进行分区
Command (m for help): t Partition number (1-4): 3 Hex code (type L to list codes): 8e Changed system type of partition 3 to 8e (Linux LVM) Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. [root@localhost ~]# partprobe [root@localhost ~]# fdisk –l
(编辑:佛山站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |



