fdisk找不到剩余的磁盘空间

系统错误报告和讨论
回复
qpine
帖子: 66
注册时间: 2007-12-06 9:14
送出感谢: 0
接收感谢: 0

fdisk找不到剩余的磁盘空间

#1

帖子 qpine » 2007-12-06 9:49

发行版:ubuntu7.1

以下是fdisk和cfdisk的对同一硬盘显示信息,fdisk找不到剩余空间,cfdisk可以找到

root@zq-laptop:~# fdisk -v
fdisk (util-linux-ng 2.13)
root@zq-laptop:~# fdisk /dev/sda

The number of cylinders for this disk is set to 14593.
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): p

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x36823681

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1301 10450251 c W95 FAT32 (LBA)
/dev/sda2 1302 3901 20884500 c W95 FAT32 (LBA)
/dev/sda3 3902 7801 31326750 c W95 FAT32 (LBA)
/dev/sda4 7802 11680 31158067+ 5 Extended
/dev/sda5 7802 7813 96358+ 83 Linux
/dev/sda6 7814 8032 1759086 82 Linux swap / Solaris
/dev/sda7 8033 10464 19535008+ 83 Linux
/dev/sda8 10465 11680 9767488+ 83 Linux

Command (m for help): n
No free sectors available


cfdisk (util-linux-ng 2.13)

Disk Drive: /dev/sda
Size: 120034123776 bytes, 120.0 GB
Heads: 255 Sectors per Track: 63 Cylinders: 14593

Name Flags Part Type FS Type [Label] Size (MB)
------------------------------------------------------------------------------
sda1 Boot Primary W95 FAT32 (LBA) 10701.09
sda2 Primary W95 FAT32 (LBA) 21385.73
sda3 Primary W95 FAT32 (LBA) 32078.60
sda5 Logical Linux ext3 98.71
sda6 Logical Linux swap / Solaris 1801.34
sda7 Logical Linux ext3 20003.89
sda8 Logical Linux ext3 10001.95
Logical Free Space 23960.25
fangx1980s
帖子: 37
注册时间: 2006-06-10 14:39
送出感谢: 0
接收感谢: 0

#2

帖子 fangx1980s » 2007-12-08 0:11

fdisk -l

查看磁盘空间请使用df
回复

回到 “Ubuntu错误报告”