Not enough space to build proposed filesystem while setting up superblock

本文记录了一次在Linux环境下解决无法格式化分区的问题过程。通过使用fdisk工具重新分配分区,并成功使用mke2fs命令完成格式化操作。
部署运行你感兴趣的模型镜像
[root@DMDIDATAGUARD root]# mkfs /dev/sda4
mke2fs 1.32 (09-Nov-2002)
/dev/sda4: Not enough space to build proposed filesystem while setting up superblock
[root@DMDIDATAGUARD root]#
[root@DMDIDATAGUARD root]# [@more@]

[root@DMDIDATAGUARD root]#
[root@DMDIDATAGUARD root]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 2.0G 310M 1.6G 17% /
/dev/sda3 251M 19M 219M 8% /boot
none 1004M 0 1004M 0% /dev/shm
/dev/sda6 4.0G 34M 3.8G 1% /tmp
/dev/sda5 29G 6.2G 22G 23% /u01
/dev/sda8 7.3G 2.1G 4.8G 31% /usr
/dev/sda2 4.4G 154M 4.0G 4% /home
[root@DMDIDATAGUARD root]# fdisk /dev/sda4

Unable to read /dev/sda4
[root@DMDIDATAGUARD root]#
[root@DMDIDATAGUARD root]# fdisk /dev/sda

The number of cylinders for this disk is set to 182350.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): n
First cylinder (6441-182350, default 6441):
Using default value 6441
Last cylinder or +size or +sizeM or +sizeK (6441-182350, default 182350):
Using default value 182350

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
[root@DMDIDATAGUARD root]#

参考: http://www.linuxsir.org/bbs/printthread.php?p=900610

clearcloud2104-11-09 13:51
以下是我用fdisk查看的分区情况:
[root@localhost root]# fdisk -l

Disk /dev/hda: 20.5 GB, 20547841536 bytes
255 heads, 63 sectors/track, 2498 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1020 8193118+ 7 HPFS/NTFS
/dev/hda2 1021 1084 514080 83 Linux
/dev/hda3 1085 1594 4096575 83 Linux
/dev/hda4 1595 2498 7261380 f Win95 Ext'd (LBA)
/dev/hda5 1595 1626 257008+ 82 Linux swap
[root@localhost root]# mke2fs /dev/hda4
mke2fs 1.32 (09-Nov-2002)
/dev/hda4: Not enough space to build proposed filesystem while setting up superblock

/dev/hda4应该个空的分区的,但是我用mke2fs格式化时,会出现以上这错误,请问像这种情况我要什么做比较好,TKS!!!


晨想04-11-09 20:45
你的a4,是扩展,,不过空盘。。

1627-2498你还没分出来呢。。呵呵。。
继续fdisk

clearcloud2104-11-10 11:29
帮主,太谢谢你了。

我现在终于分成功了,呵。。。。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-996978/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/35489/viewspace-996978/

您可能感兴趣的与本文相关的镜像

ACE-Step

ACE-Step

音乐合成
ACE-Step

ACE-Step是由中国团队阶跃星辰(StepFun)与ACE Studio联手打造的开源音乐生成模型。 它拥有3.5B参数量,支持快速高质量生成、强可控性和易于拓展的特点。 最厉害的是,它可以生成多种语言的歌曲,包括但不限于中文、英文、日文等19种语言

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值