Ubuntu 14.04 挂载 3TB 大硬盘问题

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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值