- 论坛徽章:
- 0
|
回复 13# chenyx
嗯,您的意思是先用fdisk把多出来的空间分区为/dev/sda6,然后在扩充到vg里面去是吗?可是我用fdisk说没有多余空间。。。。应该还有10240个柱的
[root@PHP-Server ~]# fdisk /dev/sda
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Command (m for help): p
Disk /dev/sda: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ed2ef
Device Boot Start End Blocks Id System
/dev/sda1 * 2 501 512000 83 Linux
/dev/sda2 502 4501 4096000 82 Linux swap / Solaris
/dev/sda3 * 4502 20480 16362496 8e Linux LVM
/dev/sda4 20481 30720 10485760 5 Extended
/dev/sda5 20481 30720 10485744 83 Linux
Command (m for help): n
No free sectors available |
|