rpm包下载地址:
http://rpmfind.net/linux/rpm2html/search.php?query=ext2online
rpm -ivh xxx.rpm命令安装
1、resize2fs系统文件扩容需要磁盘卸载掉
卸载磁盘:
umount xxx (路径)
扩容:
resize2fs -f xxx(路径)
挂载磁盘:
mount xxx xxx1
查看:
df -lh
2、在线系统文件扩容(这个我没有试成功)
ext2online xxx1 (挂载路径)
查看:
df -lh
附:
resize2fs与ext2online
ext3fs=ext2fs+journaling,所以指令取名为ext2*,并不是说就只能用于ext2,它既可用于ext2,也可用于ext3。类似命名指令还有e2fsck,e2label等。
ubuntu查看系统版本和linux内核版本
系统版本:
lsb_release -a
内核版本:
cat /proc/version
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/178507.html原文链接:https://javaforall.net
