免费注册 查看新帖 |

Chinaunix

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

BSD下不能mount 200G的fat32分区硬盘,谁能解决? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-01-06 16:13 |只看该作者 |倒序浏览
在BSD4.8下挂一块硬盘,分成一分区,分区格式为FAT32,200G。但在BSD下不能mount,提示为Invalid argument。有何位大侠能看看怎么解决?


proxy# fdisk ad3
******* Working on device /dev/ad3 *******
parameters extracted from in-core disklabel are:
cylinders=3736 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3736 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 15,(Extended DOS, LBA)
    start 16065, size 60002775 (29298 Meg), flag 0
        beg: cyl 1/ head 0/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>;
The data for partition 3 is:
<UNUSED>;
The data for partition 4 is:
<UNUSED>;

proxy# mount -t msdos /dev/ad3s1 /zzz
msdos: /dev/ad3s1: Invalid argument

论坛徽章:
0
2 [报告]
发表于 2004-01-06 16:39 |只看该作者

BSD下不能mount 200G的fat32分区硬盘,谁能解决?

应该是 /dev/ad3s1g 之类的,不是直接的 /dev/ad3s1。用 disklabel 查查看。

论坛徽章:
0
3 [报告]
发表于 2004-01-06 17:56 |只看该作者

BSD下不能mount 200G的fat32分区硬盘,谁能解决?

使用disklabel查看无效:
proxy# disklabel -r ad3
disklabel: /dev/ad3c: Unknown error: 0

使用/dev/ad3s1g也不行。

论坛徽章:
0
4 [报告]
发表于 2004-01-07 00:29 |只看该作者

BSD下不能mount 200G的fat32分区硬盘,谁能解决?

试试用 disklabel -r ad3s1

论坛徽章:
0
5 [报告]
发表于 2004-01-08 11:31 |只看该作者

BSD下不能mount 200G的fat32分区硬盘,谁能解决?

还是不行:
proxy# disklabel -r ad3s1
disklabel: bad pack magic number (label is damaged, or pack is unlabeled)


难道在BSD下mount FAT32硬盘就这么难吗?

论坛徽章:
0
6 [报告]
发表于 2004-01-09 15:38 |只看该作者

BSD下不能mount 200G的fat32分区硬盘,谁能解决?

敢情是原来是BSD不支持200G的分区啊,把硬盘分二个区,各120G和80G便OK了。

proxy# fdisk ad2
******* Working on device /dev/ad2 *******
parameters extracted from in-core disklabel are:
cylinders=16709 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=16709 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 12,(DOS or Windows 95 with 32 bit FAT, LBA)
    start 63, size 245762307 (120001 Meg), flag 80 (active)
        beg: cyl 1023/ head 1/ sector 63;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 12,(DOS or Windows 95 with 32 bit FAT, LBA)
    start 245762370, size 152534718 (74479 Meg), flag 0
        beg: cyl 1023/ head 0/ sector 63;
        end: cyl 1023/ head 215/ sector 63
The data for partition 3 is:
<UNUSED>;
The data for partition 4 is:
<UNUSED>;
proxy# mount -t msdos /dev/ad2s1 /zzz
proxy# cd /zzz
proxy# ll
proxy# df
Filesystem  1K-blocks    Used     Avail Capacity  Mounted on
/dev/ad0s1a   4031950 1002170   2707224    27%    /
/dev/ad0s1e  30266452       2  27845134     0%    /www
procfs              4       4         0   100%    /proc
/dev/ad2s1  122641608      12 122641596     0%    /zzz
proxy#
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP