我有一个3.5TSSD,我以前在里面做过一个1.5T的分区。然后我想添加另一个分区。但它总是表明,没有自由部门,我认为这是相当奇怪的。
# 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):发布于 2019-03-13 05:35:00
这里有两个问题:您的fdisk版本显然不支持GUID分区表(您的磁盘正在使用GPT),而且您的磁盘对于基于MBR的分区来说太大了。
您不能创建新分区的原因是,fdisk正在看到保护MBR,它正是在GPT上为此场景设置的:防止基于MBR的工具在GPT布局上造成混乱。fdisk看到一个分区占用了它可以访问的所有空间。
如果你有一个图形用户界面,或者是parted兼容的fdisk,你需要使用GPT兼容的工具,比如gparted,或者GPT兼容的D6。
https://unix.stackexchange.com/questions/506007
复制相似问题