linux超过2T的磁盘分区

超过2T的磁盘分区

parted /dev/sdb //选择硬盘

GNUParted 2.3Using /dev/sdbWelcome to GNU Parted! Type ‘help‘ to view a lis ofcommands。
(parted) mklabel gpt //类型GPT

Warning: The existing disk label on /dev/sdb will be destroyedand all data on this disk will be lost. Do you want to continue?
Yes/No? y //确定
(parted) mkpart prinmary 1 -1 //将硬盘分成一个分区
(parted) print //查看
(parted) quit //退出Information: You may need to update /etc/fstab.
mkfs.ext4 /dev/sdb1 //格式化文件系统为ext4

linux超过2T的磁盘分区

上一篇:js的几种分页


下一篇:基于HAproxy的web动静分离及输出状态检测页面