Gra*_*eme 17 linux terminal partitioning ubuntu-11.10
我有一个 3TB 的硬盘,我希望在 Ubuntu 11.10 服务器下作为单个分区挂载 因为它超过 2TB 我知道这有一些问题。我不确定我需要做什么才能实现这一点。
我需要通过终端执行此操作,因为我使用的是服务器版本
Baa*_*arn 22
使用分开
可能有点复杂,请在互联网上阅读(官方手册)或man parted. 一些入门命令:
parted /dev/sdX # substitute with your drive (and you prolly need sudo)
> mklabel gpt # makes a new gpt partition table, afaik needed for >2TB
> mkpart pri 1 -1 # makes a new primary partition from start to end,
# note there are only primary partitions on gpt
Run Code Online (Sandbox Code Playgroud)
之后格式化你的分区,不完全确定ubuntu中的命令,试试
mkfs --type ext4 /dev/sdXY
Run Code Online (Sandbox Code Playgroud)
对于 ext4 分区。
这应该足以让您能够挂载分区。
| 归档时间: |
|
| 查看次数: |
59302 次 |
| 最近记录: |