Why does zpool import <my-pool> cause /var/log, /var/lib, /var/spool to be unmounted? #16154
-
The full story: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not sure I understand the full detail of the problem, but when I setup a new system I usually do that in a chroot environment. You can import the pool with altroot using:
You can copy |
Beta Was this translation helpful? Give feedback.
Not sure I understand the full detail of the problem, but when I setup a new system I usually do that in a chroot environment. You can import the pool with altroot using:
zpool import -R /mnt/newsystem pool
. Next, you can bind mount whatever is needed for the root of the new system:You can copy
/etc/resolv.conf
to$ROOT/etc/resolv.conf
for DNS resolver to work.Then si…