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
| clearcloud21 | 04-11-09 13:51 |
[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!!!
你的a4,是扩展,,不过空盘。。 1627-2498你还没分出来呢。。呵呵。。 继续fdisk |
帮主,太谢谢你了。 我现在终于分成功了,呵。。。。 |
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-996978/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-996978/
本文记录了一次在Linux环境下解决无法格式化分区的问题过程。通过使用fdisk工具重新分配分区,并成功使用mke2fs命令完成格式化操作。
2万+

被折叠的 条评论
为什么被折叠?



