|

楼主 |
发表于 2005-7-15 12:46:43
|
显示全部楼层
Post by kissingwolf
把你的步骤包括lvextend 和ext2online的命令都帖出来!
每一步的,或者用script记录下来!
lvm在我这里使用正常
ok, here we go:
- /dev/cdrom: open failed: No medium found
- PV /dev/sda6 VG Volume01 lvm2 [948.00 MB / 0 free]
- PV /dev/sda7 VG Volume01 lvm2 [948.00 MB / 696.00 MB free]
- PV /dev/sda8 VG Volume01 lvm2 [948.00 MB / 948.00 MB free]
- PV /dev/sda9 VG Volume01 lvm2 [216.00 MB / 216.00 MB free]
- PV /dev/hda8 VG Volume01 lvm2 [948.00 MB / 948.00 MB free]
- PV /dev/hda9 VG Volume01 lvm2 [752.00 MB / 752.00 MB free]
- Total: 6 [4.65 GB] / in use: 6 [4.65 GB] / in no VG: 0 [0 ]
- [root@rhce4 ~]# vgdisplay
- --- Volume group ---
- VG Name Volume01
- System ID
- Format lvm2
- Metadata Areas 6
- Metadata Sequence No 4
- VG Access read/write
- VG Status resizable
- MAX LV 0
- Cur LV 1
- Open LV 1
- Max PV 0
- Cur PV 6
- Act PV 6
- VG Size 4.65 GB
- PE Size 4.00 MB
- Total PE 1190
- Alloc PE / Size 300 / 1.17 GB
- Free PE / Size 890 / 3.48 GB
- VG UUID I55MPR-9LzM-JVv4-007S-0l33-kyDw-uD1p3Z
- [root@rhce4 ~]# lvdisplay
- --- Logical volume ---
- LV Name /dev/Volume01/LG01
- VG Name Volume01
- LV UUID ERJiIl-WDc6-29db-3D6z-XLvb-4kHX-XPKnwo
- LV Write Access read/write
- LV Status available
- # open 1
- LV Size 1.17 GB
- Current LE 300
- Segments 2
- Allocation inherit
- Read ahead sectors 0
- Block device 253:0
- [root@rhce4 ~]# lvextend -L +200M -v /dev/Volume01/LG01
- Finding volume group Volume01
- Archiving volume group "Volume01" metadata.
- Extending logical volume LG01 to 1.37 GB
- Creating volume group backup "/etc/lvm/backup/Volume01"
- Found volume group "Volume01"
- Found volume group "Volume01"
- Loading Volume01-LG01
- Logical volume LG01 successfully resized
- [root@rhce4 ~]# ext2online -dv /dev/Volume01/LG01 1300m
- ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b
- ext2_open
- ext2_bcache_init
- new filesystem size 332800
- ext2_determine_itoffset
- setting itoffset to +35
- group 2 inode table has offset 2, not 35
- ext2_get_reserved
- Found 31 blocks in s_reserved_gdt_blocks
- using 31 reserved group descriptor blocks
- 5 old groups, 1 blocks
- 11 new groups, 1 blocks
- ext2_ioctl: EXTEND group to 163840 blocks
- creating group 5 with 32768 blocks (rsvd = 31, newgd = 1)
- using itoffset of 35
- new block bitmap is at 0x28021
- new inode bitmap is at 0x28022
- new inode table is at 0x28023-0x2840a
- new group has 31733 free blocks
- new group has 32000 free inodes (1000 blocks)
- ext2_ioctl: ADD group 5
- ext2online: ext2_ioctl: No space left on device
- ext2online: unable to resize /dev/mapper/Volume01-LG01
- [root@rhce4 ~]# df -ma /tmp
- Filesystem 1M-blocks Used Available Use% Mounted on
- /dev/mapper/Volume01-LG01
- 621 17 573 3% /tmp
复制代码
竟然一点也增加不了了。。。 |
|