LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 823|回复: 5

又有新问题了,这些空间哪里去了?(已解决)

[复制链接]
发表于 2006-11-29 12:16:05 | 显示全部楼层 |阅读模式
Gentoo ~ # fdisk /dev/sda

The number of cylinders for this disk is set to 19457.
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): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help): v
[color="Red"]7041883 unallocated sectors

Command (m for help): n
[color="Red"]No free sectors available

Command (m for help): q

我在windows的磁盘管理中也看到有将近3.6g的未分配空间但是不可操作?这是为什么?好像也搜不到答案:help
发表于 2006-11-29 12:29:23 | 显示全部楼层
print the partition table, then let's see what happened.
回复 支持 反对

使用道具 举报

发表于 2006-11-29 12:33:18 | 显示全部楼层
我以前使用不同的分区工具操作磁盘时出现过这种状况,当时是由于各分区的几何特征不同造成的,不知道你是否属于这种状况。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-29 12:52:09 | 显示全部楼层
Command (m for help): p

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2422    19454683+    7     HPFS/NTFS
/dev/sda2            2423        3419     8008402+   83   Linux
/dev/sda3            3420        4665    10008495    83   Linux
/dev/sda4            5104       19457   115298505     f   W95 Ext'd (LBA)
/dev/sda5            5104        7522    19430586    83   Linux
/dev/sda6            7523       10072    20482843+  83  Linux
/dev/sda7           10073      13896    30716248+   7   HPFS/NTFS
/dev/sda8           13897      19457    44668701     7   HPFS/NTFS

Command (m for help):

sda3,sda5,sda6上次作成LVM,未修改为8e标记。我粗略加了一下是要加上那3.6g才约等于硬盘149g左右
回复 支持 反对

使用道具 举报

发表于 2006-11-30 10:55:31 | 显示全部楼层
One harddisk contains at most 4 primary partitions (including Extend partition), but it can have many logic partitions (must be Extend partition).
In your table, sda1-3 are 3 primary partitions, sda4 is a Extend partition. So no more space for additional primary partition.
You must add the new partition on Extend partition if the Extend partition has extra empty space.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-30 11:31:12 | 显示全部楼层
Post by gamedragon
One harddisk contains at most 4 primary partitions (including Extend partition), but it can have many logic partitions (must be Extend partition).
In your table, sda1-3 are 3 primary partitions, sda4 is a Extend partition. So no more space for additional primary partition.
You must add the new partition on Extend partition if the Extend partition has extra empty space.

thanks!确实是这样,我以前分该分区为主分区的,后来又调整了一下分区就这样。现在我已经用norton pqmagic蒋其调整为扩展分区?不过扩展分区扇区却不连贯了。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表