Using default value 20971519 //结束位置默认
Partition 4 of type Extended and of size 6.9 GiB is set
Command (m for help): p
.. ..
Device Boot Start End Blocks Id System
/dev/vdb1 2048 411647 204800 8e Linux LVM
/dev/vdb2 411648 4507647 2048000 83 Linux
/dev/vdb3 4507648 6555647 1024000 83 Linux
/dev/vdb4 6555648 20971519 7207936 5 Extended
2)在扩展分区中新建3个逻辑分区
创建第1个逻辑卷(由于主分区编号已用完,分区类型自动选l逻辑分区):
Command (m for help): n
All primary partitions are in use
Adding logical partition 5 //分区编号5
First sector (6557696-20971519, default 6557696): //起始位置默认
Using default value 6557696
Last sector, +sectors or +size{K,M,G} (6557696-20971519, default 20971519): +500M
//结束位置默认
Partition 5 of type Linux and of size 500 MiB is set
创建第2个逻辑卷:
Command (m for help): n
All primary partitions are in use
Adding logical partition 6 //分区编号6
First sector (7583744-20971519, default 7583744): //起始位置默认
Using default value 7583744
Last sector, +sectors or +size{K,M,G} (7583744-20971519, default 20971519): +2000M
//结束位置默认
Partition 6 of type Linux and of size 2 GiB is set
创建第3个逻辑卷:
Command (m for help): n
All primary partitions are in use
Adding logical partition 7 //分区编号7
First sector (11681792-20971519, default 11681792): //起始位置默认
Using default value 11681792
Last sector, +sectors or +size{K,M,G} (11681792-20971519, default 20971519): +512M
//结束位置默认
Partition 7 of type Linux and of size 512 MiB is set
根据预计的用途调整分区类型(可选):
Command (m for help): t //修改
Partition number (1-7, default 7): 5 //第5个分区
Hex code (type L to list all codes): 8e //类型为8e(LVM)
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-58984-5.html
婚姻制度实际上在快速走向消亡