LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1851|回复: 4

rhel4中没有了e2fsadm命令?!

[复制链接]
发表于 2005-7-11 22:08:20 | 显示全部楼层 |阅读模式
rhel4中没有了e2fsadm命令?!
谁知道改成什么对应的命令了?
发表于 2005-7-12 09:04:01 | 显示全部楼层
Post by coldcoffee
rhel4中没有了e2fsadm命令?!
谁知道改成什么对应的命令了?

没了,ext2online现在是,但我没有成功的用过。
回复 支持 反对

使用道具 举报

发表于 2005-11-16 16:59:44 | 显示全部楼层
用mount 挂载后可用,如:
mount /dev/test0/data /data
ext2online -f /data 40M
则显示:
ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b
ext2online: new size is same as current (40960)
但如果超出/dev/test0/data容量,则不行
setup lv command is :

system-config-lvm




u can do anythings about LV
回复 支持 反对

使用道具 举报

发表于 2005-11-17 09:43:20 | 显示全部楼层
I have no problem running ext2online...just make sure your LVM file system is formatted as ext3 (mkfs -j), otherwise ext2online will fail.  you can run "df -T -k" to check the file system type.

the space you want to add:
ext2online -L+40M /dev/vg00/lv00

or the total space you want this lvm to be:
ext2online -L240M /dev/vg00/lv00

Of course you need to make sure you have such space in your lvm first.

system-config-lvm has very limited funtion.
回复 支持 反对

使用道具 举报

发表于 2005-11-20 17:49:29 | 显示全部楼层
我是这么做的
lvextend -L +50M  /dev/vgname/lvname
然后
ext2online /dev/vgname/lvname
就可以了
ext2online只是起到不用umount在线更改lv大小而已
但是记住 ext2online是无法把减少大小的
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表