你好,游客 登录 注册 搜索
背景:
阅读新闻

在Linux使用ext2resize在线扩展文件系统

[日期:2012-08-18] 来源:Linux社区  作者:cheneyyu [字体:大 中 小]
安装ext2resize工具:

[root@ www.linuxidc.com rpm]#  rpm -ivh ext2resize-1.1.19-3.1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:ext2resize             warning: user abuild does not exist - using root
warning: group abuild does not exist - using root
warning: user abuild does not exist - using root%)
warning: group abuild does not exist - using root
warning: user abuild does not exist - using root%)
warning: group abuild does not exist - using root
warning: user abuild does not exist - using root%)
warning: group abuild does not exist - using root
warning: user abuild does not exist - using root
warning: group abuild does not exist - using root
warning: user abuild does not exist - using root
warning: group abuild does not exist - using root
warning: user abuild does not exist - using root%)
warning: group abuild does not exist - using root
warning: user abuild does not exist - using root
warning: group abuild does not exist - using root
warning: user abuild does not exist - using root
warning: group abuild does not exist - using root
warning: user abuild does not exist - using root%)
warning: group abuild does not exist - using root
warning: user abuild does not exist - using root
warning: group abuild does not exist - using root
warning: user abuild does not exist - using root
warning: group abuild does not exist - using root
warning: user abuild does not exist - using root
warning: group abuild does not exist - using root
########################################### [100%]
warning: user abuild does not exist - using root
warning: group abuild does not exist - using root
[root@ www.linuxidc.com rpm]# ext
ext2online      ext2resize      extend_dmalloc  extlinux        extractrc      
ext2prepare     extcheck        extensionproxy  extractattr

安装过程中有warning信息,应该不会有影响。

在线扩展文件系统:

[root@ www.linuxidc.com ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       13G   12G  249M  98% /
/dev/sda1              99M   13M   82M  14% /boot
tmpfs                1006M     0 1006M   0% /dev/shm
.host:/                98G   94G  4.1G  96% /mnt/hgfs

[root@ www.linuxidc.com rpm]# ext2online /dev/VolGroup00/LogVol00
ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b

[root@ www.linuxidc.com rpm]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       16G   12G  3.1G  80% /
/dev/sda1              99M   13M   82M  14% /boot
tmpfs                1006M     0 1006M   0% /dev/shm
.host:/                98G   94G  4.1G  96% /mnt/hgfs

搞定!这个工具不错,现在有空间建库了。

linux
相关资讯       ext2resize 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款