LVM
下添加根目录空间
一、
linux
下的
fdisk
工具进行分区。
用
root
用户登录到你的
linux
系统,查看你系统的分区
#fdisk -l
会出现以下的信息:
Disk /dev/sda: 322.1 GB, 322122547200 bytes
255 heads, 63 sectors/track, 39162 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: 0x00098804
Device Boot
Start
End
Blocks
Id
System
/dev/sda1
*
1
64
512000
83
Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2
64
11749
93858816
8e
Linux LVM
Disk /dev/mapper/vg_app2-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 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/vg_app2-lv_swap: 4160 MB, 4160749568 bytes