ZFS 可以在 OpenSolaris 中镜像整个硬盘驱动器吗?
我正在升级 OpenSolaris 开发工作站,最近购买了两个 500GB SATA 硬盘,希望使用主板的功能来镜像驱动器。 当通过 BIOS 配置为镜像时,OpenSolaris 无法识别驱动器,但在其他情况下它可以正常看到它们。 ZFS 可以镜像整个驱动器吗?如果主驱动器出现故障,镜像是否可以启动?
I am upgrading an OpenSolaris development workstation and recently purchased two 500GB SATA hard drives expecting to use the features of the motherboard to mirror the drives. OpenSolaris doesn't recognize the drives when configured to be mirrored through the BIOS but it sees them just fine otherwise. Can ZFS mirror an entire drive and will the mirror be bootable if the primary fails?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我很幸运,通过 RSS 提要发表了一篇博客文章,其中提到了指向正确手册的教程。 答案是“是”,但设置不是自动的。 如果我正在解释
I got lucky with a blog post that came through an RSS feed referring to a tutorial that lead to the right manual. The answer is "yes" but the setup isn't automatic. If I am interpreting this part of the documentation correctly you can create a mirror and add the ability to boot from the second drive. Then in grub each drive will show as a boot choice.
ZFS 启动项目常见问题解答似乎表明这是可能的。
The ZFS Boot Project FAQ seems to indicate that this is possible.
您将需要一个相当新的 Solaris 版本(2007 年末至 2008 年的任何版本都可以)才能从镜像启动 zfs。 不过我不确定是否要启动 raidz。 请在此处查看文档。
You will need a fairly recent Solaris version (any from late 2007 - 2008 should do) for zfs booting from a mirror. I'm not sure about booting off raidz though. Check the documentation here.
zfs 引导在 Sol10u5 左右,从 nv9x 开始在 opensolaris 中。 只需使用控制台安装并在询问时选择 ZFS。 ;)
zfs boot is in Sol10u5 or so and since nv9x in opensolaris. Simply use the console install and select ZFS when asked. ;)
看看
http://www.castro.aus.net/~莫里斯/opensolaris/zfsbootmirror.html
Have a look at
http://www.castro.aus.net/~maurice/opensolaris/zfsbootmirror.html