免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 9062 | 回复: 8
打印 上一主题 下一主题

ntfs分区格式化ext3后仍显示分区系统hpfs/ntfs [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-10-23 14:07 |只看该作者 |倒序浏览
ntfs分区格式化ext3后显示分区系统hpfs/ntfs 我用的是centOS5
mkfs.ext3 /dev/hda2
fdisk -l
/dev/hda2            1375        2649    10241437+   7  HPFS/NTFS

而tune2fs -l /dev/hda2 显示为带日志功能的linux分区 也就是ext3

[root@CentOS squid]# tune2fs -l /dev/hda2
tune2fs 1.39 (29-May-2006)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          08204884-b1b2-4409-9d0c-a504aec0cb2c
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue

多谢2 3 楼 但我执行后出现这样的错误 umount 分区后 fdisk t 也一样不知道是哪里错了No partition is defined yet!
fdisk /dev/hda2
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


The number of cylinders for this disk is set to 38680.
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)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): t
No partition is defined yet!

[ 本帖最后由 yikai2651 于 2007-10-23 23:46 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-10-23 15:24 |只看该作者
請使用 fdisk 的 t 命令把該分割區代碼改成 83 即可.

--

论坛徽章:
0
3 [报告]
发表于 2007-10-23 21:57 |只看该作者
楼上说得对,我上次也是这样,改一下就OK了,

论坛徽章:
0
4 [报告]
发表于 2008-04-10 17:48 |只看该作者
楼主,我知道您为什么用fdisk 报“No partition is defined yet!”。
您应该打“fdisk /dev/hda”,而不是“fdisk /dev/hda2”,
我之前也是因为打了分区号所以报错了,虽然您的问题应该已经早就解决了,但我想还是把我的发现发上来共享一下哈

论坛徽章:
0
5 [报告]
发表于 2011-01-25 12:01 |只看该作者
LZ 正解

论坛徽章:
34
亥猪
日期:2015-03-20 13:55:11戌狗
日期:2015-03-20 13:57:01酉鸡
日期:2015-03-20 14:03:56未羊
日期:2015-03-20 14:18:30子鼠
日期:2015-03-20 14:20:14丑牛
日期:2015-03-20 14:20:31辰龙
日期:2015-03-20 14:35:34巳蛇
日期:2015-03-20 14:35:56操作系统版块每日发帖之星
日期:2015-11-06 06:20:00操作系统版块每日发帖之星
日期:2015-11-08 06:20:00操作系统版块每日发帖之星
日期:2015-11-19 06:20:00黄金圣斗士
日期:2015-11-24 10:43:13
6 [报告]
发表于 2011-01-26 15:11 |只看该作者
删除掉,重新分呢?先用 parted mklabel gpt 一下

论坛徽章:
0
7 [报告]
发表于 2012-02-11 22:51 |只看该作者
这个问题我也遇上了。我的系统是2.6.9,一个2T的大盘装满数据,可用空间为零,我删除一个70GB的文件后,used 减小了,但是可用空间仍然是0
哪位大侠帮助一下

论坛徽章:
4
CU大牛徽章
日期:2013-03-13 15:29:07CU大牛徽章
日期:2013-03-13 15:29:49CU大牛徽章
日期:2013-03-13 15:30:192015年迎新春徽章
日期:2015-03-04 09:57:09
8 [报告]
发表于 2012-02-12 21:17 |只看该作者
xwl0765 发表于 2012-02-11 22:51
这个问题我也遇上了。我的系统是2.6.9,一个2T的大盘装满数据,可用空间为零,我删除一个70GB的文件后,use ...


也是ext3?

论坛徽章:
0
9 [报告]
发表于 2012-02-13 08:34 |只看该作者
本帖最后由 xwl0765 于 2012-02-13 08:41 编辑

回复 8# dooros

我的盘是别人给我的数据盘,插上后自动显示为HPFS/NTFS格式,删除文件后,可以看到占用空间减少了,可是可用空间一直为零,没有办法写进。


对了,这个盘接到WIN7上 和 XP 上,均没有认出来。

高手帮忙一下,谢谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP