fdisk -l
Disk /dev/vda: 107.4 GB, 107374182400 bytes
16 heads, 63 sectors/track, 208050 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: 0x00091f09
Device Boot Start End Blocks Id System
/dev/vda1 * 3 206 102400 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/vda2 206 41611 20868096 8e Linux LVM
Partition 2 does not end on cylinder boundary.
/dev/vda3 41611 208050 83885680 83 Linux
Disk /dev/mapper/VolGroup00-LogVol00: 20.3 GB, 20266876928 bytes
255 heads, 63 sectors/track, 2463 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/VolGroup00-LogVol01: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/vdb: 214.7 GB, 214748364800 bytes
16 heads, 63 sectors/track, 416101 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: 0x00000000
Disk /dev/mapper/VolGroup01-data: 836.4 GB, 836444880896 bytes
255 heads, 63 sectors/track, 101691 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/vdc: 536.9 GB, 536870912000 bytes
16 heads, 63 sectors/track, 1040253 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: 0x00000000
新加了一块磁盘/dev/vdc ,准备将/dev/vdc加入到卷组/dev/mapper/VolGroup01中
(1)vgextend VolGroup01 /dev/vdc
(2)lvextend -L 779G /dev/mapper/VolGroup01-data
(3)resize2fs /dev/mapper/VolGroup01-data
阅读(1345) | 评论(0) | 转发(0) |