linux新建分区失败,fdisk创设分区失败:No free sectors available

fdisk创建分区失败:No free sectors available

使用fdisk创建分区失败

第一次使用fdisk,不知道什么原因,去查了下也没有查到对应的原因。

root@ubuntu:~# fdisk  /dev/sdb

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.

WARNING: The size of this disk is 3.0 TB (3000592982016 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).

Command (m for help): p

Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes

255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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 identifier: 0x00000000

Device Boot      Start         End      Blocks   Id  System

/dev/sdb1               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): p

Partition number (1-4, default 2):

Using default value 2

No free sectors available

Command (m for help): q

root@ubuntu:~#

其他情报:

root@ubuntu:~# df

Filesystem     1K-blocks    Used Available Use% Mounted on

/dev/sda1       98430832 1351984  92078852   2% /

udev             1945188      12   1945176   1% /dev

tmpfs             778472     332    778140   1% /run

none                5120       0      5120   0% /run/lock

none             1946172       0   1946172   0% /run/shm

root@ubuntu:~#

root@ubuntu:~# fdisk  -l

Disk /dev/mtdblock0: 1 MB, 1048576 bytes

255 heads, 63 sectors/track, 0 cylinders, total 2048 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 identifier: 0x46bd0710

Disk /dev/mtdblock0 doesn't contain a valid partition table

Disk /dev/mtdblock1: 0 MB, 65536 bytes

255 heads, 63 sectors/track, 0 cylinders, total 128 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 identifier: 0x64697620

Disk /dev/mtdblock1 doesn't contain a valid partition table

Disk /dev/mtdblock2: 6 MB, 6291456 bytes

255 heads, 63 sectors/track, 0 cylinders, total 12288 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 identifier: 0xffffffff

Disk /dev/mtdblock2 doesn't contain a valid partition table

Disk /dev/mtdblock3: 2 MB, 2097152 bytes

255 heads, 63 sectors/track, 0 cylinders, total 4096 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 identifier: 0xffffffff

Disk /dev/mtdblock3 doesn't contain a valid partition table

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值