V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
xinmans
V2EX  ›  NAS

更换蜗牛星际的主板并重装 Ubuntu20.04 , zfs 硬盘需要重新 rebuild 吗?

  •  
  •   xinmans · 2022-11-24 10:17:52 +08:00 · 1361 次点击
    这是一个创建于 490 天前的主题,其中的信息可能已经有所发展或是发生改变。

    之前是 j1900 的蜗牛星际,部署的 ubuntu20.04 LTS OS ,有 4 块 4T 硬盘组了 ZFS R1. 现在升级了主板到 11 代 U ,重新安装 ubuntu20.04 LTS ,zfs 能自动识别么?

    8 条回复    2022-11-24 16:40:58 +08:00
    momocraft
        1
    momocraft  
       2022-11-24 10:19:03 +08:00
    zfs 版本不降应该能识别
    import 后建议 scrub 一次
    wccc
        2
    wccc  
       2022-11-24 10:19:13 +08:00
    zfs import poolName
    feelinglucky
        3
    feelinglucky  
       2022-11-24 10:22:25 +08:00
    不需要

    不过不应该直接上 22.04 了吗
    wtsamuel
        4
    wtsamuel  
       2022-11-24 10:23:01 +08:00
    不需要, 会自动识别
    xinmans
        5
    xinmans  
    OP
       2022-11-24 10:27:00 +08:00
    @momocraft 谢谢
    xinmans
        6
    xinmans  
    OP
       2022-11-24 10:27:08 +08:00
    @feelinglucky 据说有很多 bug ?
    feelinglucky
        7
    feelinglucky  
       2022-11-24 11:23:38 +08:00
    @xinmans 22.04 同样也是 LTS 而且发布已经大半年了…
    12101111
        8
    12101111  
       2022-11-24 16:40:58 +08:00
    换硬件之前 zfs export, 然后新硬件 zfs import -d /dev/disk/by-id 应该可以自动识别, 前提是创建 zpool 时用的是硬件 id, 如果是 /dev/sdx 这种, 就不一定了, 因为拓扑会变
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1639 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 16:49 · PVG 00:49 · LAX 09:49 · JFK 12:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.