b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

boot盘符怎么删除 管理员技术(六): 硬盘分区及格式化、 新建一个逻辑卷、调整现有磁盘的分区、扩展逻辑卷的大小、添加(6)

电脑杂谈  发布时间:2018-01-08 04:15:07  来源:网络整理

Changed type of partition ‘Linux‘ to ‘Linux LVM‘

Command (m for help): t //修改

Partition number (1-7, default 7): 6 //第6个分区

Hex code (type L to list all codes): 8e //类型为8e(LVM)

Changed type of partition ‘Linux‘ to ‘Linux LVM‘

Command (m for help): t //修改

Partition number (1-7, default 7): 7 //第7个分区

Hex code (type L to list all codes): 82 //类型为82(交换分区)

Changed type of partition ‘Linux‘ to ‘Linux swap / Solaris‘

确认分区结果并保存:

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

/dev/vdb5 6557696 7581695 512000 8e Linux LVM

/dev/vdb6 7583744 11679743 2048000 8e Linux LVM

/dev/vdb7 11681792 12730367 524288 82 Linux swap / Solaris

Command (m for help): w //保存退出

The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.

The kernel still uses the old table. The new table will be used at

the next reboot or after you run partprobe(8) or kpartx(8)

Syncing disks. //提示重启

3)刷新分区表

[root@server0 ~]# partprobe /dev/vdb

[root@server0 ~]# reboot

步骤二:新建卷组、逻辑卷

1)新建卷组datastore,指定PE大小为16MiB

[root@server0 ~]# vgcreate -s 16MiB datastore /dev/vdb6

Volume group "datastore" successfully created

[root@server0 ~]# vgscan //确认新建的卷组

bootx系统盘_boot盘符怎么删除_硬盘分区有个boot

Reading all physical volumes. This may take a while...

Found volume group "systemvg" using metadata type lvm2


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-58984-6.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    每日福利
    热点图片
    拼命载入中...