How to mount zfs pools created on a different disk [closed]

假如想象 提交于 2019-12-11 05:55:54

问题


I Upgraded my kernel and the driver letter changed so I lost my zfs disks (this is a test system).

So I wanted to know how to recover them.


回答1:


root@kkron-desktop:/# zpool list
NAME   SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
zmt       -      -      -      -      -  FAULTED  -
zmt1      -      -      -      -      -  FAULTED  -
zmt0      -      -      -      -      -  FAULTED  -
root@kkron-desktop:/# zpool import zmt0
root@kkron-desktop:/# zpool list
NAME   SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
zmt       -      -      -      -      -  FAULTED  -
zmt0   476G   443G  33.3G    93%  1.15x  ONLINE  -
zmt1      -      -      -      -      -  FAULTED  -

root@kkron-desktop:/# ls /zmt0
cache  kkron  PortableApps

root@kkron-desktop:/# zpool export zmt
root@kkron-desktop:/# zpool export zmt1
root@kkron-desktop:/# zpool import zmt
root@kkron-desktop:/# zpool import zmt1


来源:https://stackoverflow.com/questions/13462859/how-to-mount-zfs-pools-created-on-a-different-disk

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!