Today I thought I would start having a look at ZFS on a mirrored root. I downloaded mfsBSD 9.0-RELEASE i386 special edition and burnt it to a bootable DVD. I then ran
This ran great and set up my two drives in a mirrored configuration with ZFS and a 4GB swapfile. There are just two things I am unsure of:
# zfsinstall -r mirror -d ada0 -d ada1 /cdrom/9.0-RELEASE-i386.tar.xz -s 4G -c
This ran great and set up my two drives in a mirrored configuration with ZFS and a 4GB swapfile. There are just two things I am unsure of:
- If I run
# zpool status
it shows that the pool name is "tank" but if I am in the root and do an# ls
it doesn't show up there? In the past when I have experimented with ZFS (not on root though) and I create a pool called "tank" I can see it off the root (ie: /tank). Is it handled differently on a root drive?
- Now that I have created a mirrored root drive with ZFS I would like to restore an existing system to it. I have this system in a dump file that I created with dump. What are the steps I should use to restore the system from a dump file (that I have on a USB key) to the mirrored ZFS root drive? Is this possible? I tried booting into single user mode with the mfsBSD DVD but I can't see the root pool.