Hi, I've just converted my /usr directory to be ZFS.
I did this in single user mode:
After reboot I'd forgotten to remove /usr/ from /etc/fstab, so I did that first thing.
Then it looked like I had the import/export issue. so I tried booting into single user mode again, and then did a zpool export on base.
However, now when I try to boot the system, /usr is still not found, and the system hangs with gtty messages, and other messages about commands not being found (uname etc) are shown first.
I have zfs_load="YES" in /boot/loader.conf
and I have zfs_enable="YES in /etc/rc.conf
I've also been using ZFS on /tmp and /var successfully for over a year now.
Why isn't my /usr being mounted? Any help is appriciated.
I did this in single user mode:
- cp -Rvp /usr/ /somewhere_else/
- zpool add /dev/device_usr_was_on base
- umount /usr
- zfs create -o mountpoint=/usr base/usr
- cp -Rvp /somewhere_else/ /usr/
After reboot I'd forgotten to remove /usr/ from /etc/fstab, so I did that first thing.
Then it looked like I had the import/export issue. so I tried booting into single user mode again, and then did a zpool export on base.
However, now when I try to boot the system, /usr is still not found, and the system hangs with gtty messages, and other messages about commands not being found (uname etc) are shown first.
I have zfs_load="YES" in /boot/loader.conf
and I have zfs_enable="YES in /etc/rc.conf
I've also been using ZFS on /tmp and /var successfully for over a year now.
Why isn't my /usr being mounted? Any help is appriciated.