Hello,
I run FreeBSD 10.1-RELEASE and am trying to rename the root ZFS pool. I do as follows:
Data is not lost anyway, when I do the above the other way around and revert changes to my old pool name, everything is fine and files are just where they should be. That's because the old zpool.cache could not be overwritten.
I don't know if it is something wrong with my procedure or a possible bug, anyone?
Thank you.
I run FreeBSD 10.1-RELEASE and am trying to rename the root ZFS pool. I do as follows:
- Boot from FreeBSD USB stick (live CD).
- Import my pool like this:
zpool import -o altroot=/tmp/zpool -o cachefile=/tmp/zpool.cache storage tank0
zfs list shows the correct dataset names, sizes and mountpoints. When I try to copy zpool.cache over the old one in the dataset that has bootfs option set, the files are not there. Mountpoints get created on import but the datasets appear to be empty when trying to access them.Data is not lost anyway, when I do the above the other way around and revert changes to my old pool name, everything is fine and files are just where they should be. That's because the old zpool.cache could not be overwritten.
I don't know if it is something wrong with my procedure or a possible bug, anyone?
Thank you.