Ubuntu 14.04 挂载 3TB 大硬盘问题
2016-03-02 09:55
267 查看
Ubuntu 14.04 挂载 3TB 新硬盘,使用 fdisk 只能识别 2TB,所以要改其他方法。
具体见下文:
http://jingyan.baidu.com/article/7c6fb4287c853880652c9067.html
如果之分了一个区,后面想增加一个分区,就要调整第一个分区尺寸,然后再增加新分区:
1. 停掉所有使用这个分区的服务或者应用;
2. umount 这个分区
3. 使用 parted 的 resize 命令
参考:http://my.oschina.net/guol/blog/61424
如果提示出错:
Error:
File system has
an incompatible
feature enabled. Compatible
features are
has_journal,
dir_index,
filetype,
sparse_super and
large_file. Use
tune2fs or
debugfs
to remove
features.
这是因为首先要在系统里调整好分区大小,然后再使用 parted 调整。
a. 使用 e2fsck 检查分区:
sudo e2fsck -f /dev/sdb1
b. 使用 resize2fs 调整分区大小
sudo resize2fs /dev/sdb1/ 1500G
然后再返回使用 parted 的resize 命令。
参考:http://www.linuxdiyf.com/linux/16065.html
具体见下文:
http://jingyan.baidu.com/article/7c6fb4287c853880652c9067.html
如果之分了一个区,后面想增加一个分区,就要调整第一个分区尺寸,然后再增加新分区:
1. 停掉所有使用这个分区的服务或者应用;
2. umount 这个分区
3. 使用 parted 的 resize 命令
参考:http://my.oschina.net/guol/blog/61424
如果提示出错:
Error:
File system has
an incompatible
feature enabled. Compatible
features are
has_journal,
dir_index,
filetype,
sparse_super and
large_file. Use
tune2fs or
debugfs
to remove
features.
这是因为首先要在系统里调整好分区大小,然后再使用 parted 调整。
a. 使用 e2fsck 检查分区:
sudo e2fsck -f /dev/sdb1
b. 使用 resize2fs 调整分区大小
sudo resize2fs /dev/sdb1/ 1500G
然后再返回使用 parted 的resize 命令。
参考:http://www.linuxdiyf.com/linux/16065.html
相关文章推荐
- Tomcat服务绑定域名
- C++语言-07-异常处理和信号处理
- set的交,并,差,对称差
- tr命令使用简介
- gen already exists but is not a source folder
- Markdown——入门指南
- 时间显示的处理
- java读取properties文件
- Javascript Closures
- Android Fragment分页显示的实现
- ie6和ie7下z-index bug的解决办法
- 微信JS SDK Demo 官方案例
- 一款可以限定选择区域的日期控件
- 《从零开始学Swift》学习笔记(Day 26)——可选链
- SpringMVC处理JSON
- DIV+CSS 中的 overflow:hidden清楚浮动作用
- 【leetcode】【64】Minimum Path Sum
- JoyfulPutty
- linux下rsync工具的使用
- 【走过的弯路】IAR 常用配置汇总