While installing 11-Release on another disk on a system, I am trying to access the data of its' old FreeBSD 11-RC2 disk. Which was set up the by the installer the standard way without any customizations.
However, as I know the pool's name, I can successfully access the /tmp, /usr and /var directories from /mnt after using either
or
However, no other directories are shown. Importing without read-only option does not change anything. See this please:
I mainly need to get access to /etc, which is in the "/" zfs "subpartition" (or whatever is the correct name) of the pool.
So, what do I need to do to access the imported zfs pools' "/" "subpartition"?
(Ofc, I know I could just boot the old system and copy stuff to an usb stick for transferring. But I think that would be an awkward, windows-like style to solve this problem)
zpool list
, zpool status
etc do not list the pool.However, as I know the pool's name, I can successfully access the /tmp, /usr and /var directories from /mnt after using either
zpool import -o readonly=on -R /mnt -d /dev <poolname>
zpool import -o readonly=on -o altroot=/mnt -d /dev <poolname>
However, no other directories are shown. Importing without read-only option does not change anything. See this please:
snurg@mypc:/mnt % ll
total 146
drwxr-xr-x 2 root wheel 2 Aug 14 2016 cesspool/
drwxrwxrwt 6 root wheel 6 Sep 4 06:32 tmp/
drwxr-xr-x 5 root wheel 5 Nov 27 14:11 usr/
drwxr-xr-x 7 root wheel 7 Nov 27 14:11 var/
snurg@mypc:/mnt %
I mainly need to get access to /etc, which is in the "/" zfs "subpartition" (or whatever is the correct name) of the pool.
So, what do I need to do to access the imported zfs pools' "/" "subpartition"?
(Ofc, I know I could just boot the old system and copy stuff to an usb stick for transferring. But I think that would be an awkward, windows-like style to solve this problem)