1、查看磁盘 pv vg 等信息
#vgs
#pvs
#fdisk -l
2、查看新盘分区信息,新建分区
fdisk /dev/vdf
选择p
Device Boot Start End Blocks Id System
无信息确认未被使用
Command (m for help): n--选择新建(new)
Command action
e extended
p primary partition (1-4)
p---选择主分区(p)
Partition number (1-4): 1
First cylinder (1-104025, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-104025, default 104025):
Using default value 104025
Command (m forhelp): p
Disk /dev/vdf: 53.7 GB, 53687091200 bytes
16 heads, 63 sectors/track, 104025 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc8a9ee38
Device Boot Sta