具体操作步骤如下:
[root@host-172-16-29-154 code]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
vda 252:0 0 100G 0 disk
├─vda1 252:1 0 500M 0 part /boot
├─vda2 252:2 0 20G 0 part [SWAP]
└─vda3 252:3 0 79.5G 0 part
└─VolGroup-LogVol00 (dm-0) 253:0 0 79.5G 0 lvm /
vdb 252:16 0 300G 0 disk
[root@host-172-16-29-154 code]# fdisk /dev/vdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x76ee3922.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
WARNING: DOS-compatible mode is deprecated. It's strongly rec