Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1808973
  • 博文数量: 636
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 3950
  • 用 户 组: 普通用户
  • 注册时间: 2014-08-06 21:58
个人简介

博客是我工作的好帮手,遇到困难就来博客找资料

文章分类

全部博文(636)

文章存档

2024年(5)

2022年(2)

2021年(4)

2020年(40)

2019年(4)

2018年(78)

2017年(213)

2016年(41)

2015年(183)

2014年(66)

我的朋友

分类: 系统运维

2018-01-15 12:16:53

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) |
给主人留下些什么吧!~~