执行修改命令没有成功怎么回事老大?如下
[root@localhost ~]# resize2fs CentOS64_fs 8G
resize2fs 1.41.12 (17-May-2010)
open: No such file or directory while opening CentOS64_fs
[root@localhost ~]#
执行修改命令没有成功怎么回事老大?如下
[root@localhost ~]# resize2fs CentOS64_fs 8G
resize2fs 1.41.12 (17-May-2010)
open: No such file or directory while opening CentOS64_fs
[root@localhost ~]#
评论
apt-get sudo 或者 root用户下
這個會更省 RAM 和 CPU
https://bbs.91yun.org/discussion/87/黑科技-不用換-kernel-不用uml-也可以bbr-linux-kernel-library-還有可能-bbr-lotserver
使用apt-get sudo命令后出现Invalid operation sudo这个怎么回事,是没有sudo用户吗,root用户下进行sudo下的命令是可以的吗
谢谢allientneko,我回去试试
如果你的登入帳號直接就是 root , 那就不用加 sudo 這個命令了, 直接 apt-get xxxxxxxx
如果你非要用 sudo , 有些系統預設是沒有 sudo 命令的, 需要通過 apt-get install sudo 先把sudo命令給安裝了, 之後就有sudo命令可用了.....
各位大哥,用了91出的BBR一键安装包,请问怎么才能更改uml的大小呢,装完默认是5G,我想改大一点怎么操作?
那你就手动装
resize2fs CentOS64_fs 10G
执行修改命令没有成功怎么回事老大?如下
[root@localhost ~]# resize2fs CentOS64_fs 8G
resize2fs 1.41.12 (17-May-2010)
open: No such file or directory while opening CentOS64_fs
[root@localhost ~]#
目录不对啊。在你安装目录下,你先看看你那目录有没这个文件
[root@localhost uml-centos-64]# e2fsck -f CentOS64_fs
e2fsck 1.41.12 (17-May-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
CentOS64_fs: 21655/384000 files (5.1% non-contiguous), 276274/1572864 blocks
[root@localhost uml-centos-64]# resize2fs CentOS64_fs 6G
resize2fs 1.41.12 (17-May-2010)
The filesystem is already 1572864 blocks long. Nothing to do!
执行命令后大小没变
ls -lh 看看