Hi.
This is something I'm used to do but not sure what could have changed (or some problem here).
If I create a zpool type='file' the pool would not resist reboots or export/import.
The following sequence describes the problem.
Any clues how to solve this?
Thanks!
This is something I'm used to do but not sure what could have changed (or some problem here).
If I create a zpool type='file' the pool would not resist reboots or export/import.
The following sequence describes the problem.
Code:
root@FreeBSD-dev:/usr/local/zpoolfiles # mkfile 100M tank
root@FreeBSD-dev:/usr/local/zpoolfiles # zpool create tank /usr/local/zpoolfiles/tank
root@FreeBSD-dev:/usr/local/zpoolfiles # zfs list
NAME USED AVAIL REFER MOUNTPOINT
tank 100K 39.9M 24K /tank
root@FreeBSD-dev:/usr/local/zpoolfiles # zpool export tank
root@FreeBSD-dev:/usr/local/zpoolfiles # zpool import -d /usr/local/zpoolfiles/tank
pool: tank
id: 8556822463090427726
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
tank ONLINE
/usr/local/zpoolfiles/tank ONLINE
root@FreeBSD-dev:/usr/local/zpoolfiles # zpool import tank
cannot import 'tank': no such pool available
root@FreeBSD-dev:/usr/local/zpoolfiles # zpool import 8556822463090427726
cannot import '8556822463090427726': no such pool available
root@FreeBSD-dev:/usr/local/zpoolfiles # zfs list
no datasets available
Any clues how to solve this?
Thanks!