linux磁盘之分区类型id
我们通过命令来查看一下linux系统定义的分区类型id及其意义(更改磁盘分区类型必须掌握)
系统采样:
[root@fp-web-130 ~]# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
[root@fp-web-130 ~]# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.23.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): P
重要类型id解释:
80 : Minix v1.1 - 1.4a, Old MINIX (Linux).
82 : Linux Swap 交换分区类型
83 : Linux native file systems (包括ext2/3/4,JFS, Reiser, xfs等文件系统类型).
8e: lvm分区类型
我们经常做的就是把普通分区改成lvm分区操作