OB不同架构平台的文件系统不能相互挂载??

BSD当然要运行在RISC平台上,主要讨论但不限于 ARM,MIPS,PowerPC,SPARC
回复
头像
unreal
银 Ag
帖子: 1072
注册时间: 2010-06-07 18:52

OB不同架构平台的文件系统不能相互挂载??

帖子 unreal » 2015-02-02 15:29

曾经用FreeBSD/i386 挂载过 OB/loongson 的硬盘。

上周把OB/macppc的硬盘接到OB/i386下面,mount_ffs 提示无效参数,fsck_ffs 也不行。最后找到一块能用的昆腾火球全新安装5.5再挂上原来的硬盘,把数据拷过去。

难道文件系统还与硬件架构有关?一直以为是硬件无关的。猜测 i386和AMD64这两平台兴许能互挂。
请有多个平台机器的兄弟测试验证。

头像
acheng
锌 Zn
帖子: 581
注册时间: 2011-07-07 21:52

Re: OB不同架构平台的文件系统不能相互挂载??

帖子 acheng » 2015-02-04 10:42

google了一下,有OB的开发人员确认是不兼容的。问题不在文件系统层面,而是在更底层的磁盘管理上。
On 07/04/11 20:41, Martin Foster wrote:
> I am currently migrating a MacPPC based OpenBSD 4.7 installation to a
> i386 4.9 install. So far everything has worked well, except when I
> have attempted to access information stored on a portable drive.
>
> Attempt to mount displays the following:
>
> oberon /mnt: mount /dev/sd0a /mnt
> mount_ffs: /dev/sd0a on /mnt: Invalid argument
>
...
> I suspect the problem lies in the fact that the partition was originally
> formatted under MacPPC (and works fine there) and I am now attempting to
> use it under a i386 installation. Is there a way to fix it? Thanks!

Two ways:
1) extract data on OpenBSD/macppc machine, transfer via network to PC or
platform independent storage, then newfs drive.

2) Decide data is not worth the effort, newfs drive. Later remember
there was something really useful on that drive and regret having gone
this route.

Different platforms have different disk layouts and formatting, i386 and
macppc are NOT file-system compatible, unfortunately.

Nick.

链接如下。同样是从MacPPC到i386的迁移。
http://comments.gmane.org/gmane.os.openbsd.misc/187115

头像
unreal
银 Ag
帖子: 1072
注册时间: 2010-06-07 18:52

多谢acheng兄~

帖子 unreal » 2015-02-04 12:14

啊咧……看来还是得弄个NFS才行,手头还有台赋闲的atomD425小机器,抽空装个 OB/AMD64 搞搞;或者直接安装 FreeNAS.

levi
铁 Fe
帖子: 87
注册时间: 2011-09-08 14:06

Re: OB不同架构平台的文件系统不能相互挂载??

帖子 levi » 2015-02-05 22:08

不同的平台、不同的操作系统对硬盘的理解和管理方式是不一样的,比如 BSD 在传统上就没有 partition 的概念,而 BSD 的 slice 的概念则是 PC 操作系统(例如DOS)所不具有的。

MAC 和 PC 一直都是两个不同的平台,两者之间在软件和硬件上都存在着巨大的差别。

回复

在线用户

正浏览此版面之用户: 没有注册用户 和 2 访客