首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >当有足够的空间时,fdisk显示“没有可用的自由扇区”。

当有足够的空间时,fdisk显示“没有可用的自由扇区”。
EN

Unix & Linux用户
提问于 2019-03-13 03:48:40
回答 1查看 3.4K关注 0票数 0

我有一个3.5TSSD,我以前在里面做过一个1.5T的分区。然后我想添加另一个分区。但它总是表明,没有自由部门,我认为这是相当奇怪的。

代码语言:javascript
复制
# fdisk /dev/nvme0n1 

WARNING: The size of this disk is 3.8 TB (3840000000512 bytes).
DOS partition table format can not be used on drives for volumes
larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and GUID 
partition table format (GPT).

Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p

Disk /dev/nvme0n1: 3840.0 GB, 3840000000512 bytes, 7500000001 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00000000

        Device Boot      Start         End      Blocks   Id  System
/dev/nvme0n1p1               1  4294967295  2147483647+  ee  GPT

Command (m for help): n
Partition type:
   p   primary (1 primary, 0 extended, 3 free)
   e   extended
Select (default p): e
Partition number (2-4, default 2): 
No free sectors available

Command (m for help):
EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2019-03-13 05:35:00

这里有两个问题:您的fdisk版本显然不支持GUID分区表(您的磁盘正在使用GPT),而且您的磁盘对于基于MBR的分区来说太大了。

您不能创建新分区的原因是,fdisk正在看到保护MBR,它正是在GPT上为此场景设置的:防止基于MBR的工具在GPT布局上造成混乱。fdisk看到一个分区占用了它可以访问的所有空间。

如果你有一个图形用户界面,或者是parted兼容的fdisk,你需要使用GPT兼容的工具,比如gparted,或者GPT兼容的D6

票数 4
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/506007

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档