访客

openwrt istoreOS 扩容

11310 大谋儿 知识探索

进入终端

# 执行parted

root@iStoreOS:~# parted

...
(parted) print  

...

这里记住分区容量最大的那个分区序号3

(parted) resizepart

Partition number? 3

Warning: Partition /dev/sda3 is being used. Are you sure you want to continue?

Yes/No? yes                                                              

End?  [2551MB]? 120G

(parted) quit

Information: You may need to update /etc/fstab.

输入容量的时候如果你要扩容剩下的全部空间就输入比剩下空间大小大一些的数

# 执行resize2fs对文件系统进行扩容

root@iStoreOS:~# resize2fs -p /dev/sda3

# 执行df -h可以看到分区大小已经更新

root@iStoreOS:~# df -h

THE END
上一篇:
未命名
相关文章

```javaffunction adjustPosition(position) { // 获取宽高 var pageWidth = document.body.client

map元素area热区坐标自适应窗口大小

//后台登陆过期时自动跳转到登录页,且网站关站时使用个性公告页面;//挂接口:Add_Filter_Plugin('Filter_Plugin_Zbp_ShowError', 'zbpPlus_ErrorCode');

zblogPHP 后台登陆过期时自动跳转到登录页和网站关站时使用个性公告页面

//文章顶部与底部添加通用代码//挂接口:Add_Filter_Plugin('Filter_Plugin_ViewPost_Template','zbpPlus_SingleCode')

zblogPHP 文章顶部与底部添加通用代码

function readers(){     global $zbp;     $limit =&nbs

zblog读者墙数据调用php代码

评论列表
  • 暂时还没有人评论哦,来占个沙发吧?
发布评论
验证码