Greetings.
I'd like to use zfs snapshots for making backups of third-party software before the huge port upgrades. Unfortunately, I didn't create the separate /var/db/pkg and /usr/local filesystems. I have the following FS on my PC:
Is there any way to safely add /usr/local to my zpool? Should I boot in single-user mode, rename /usr/local, create FS and get the data back? Or maybe there is much better solution?
I'd like to use zfs snapshots for making backups of third-party software before the huge port upgrades. Unfortunately, I didn't create the separate /var/db/pkg and /usr/local filesystems. I have the following FS on my PC:
Code:
$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 344G 108G 10,7G legacy
zroot/media 223G 108G 223G /media
zroot/tmp 1,45G 108G 1,45G /tmp
zroot/usr 108G 108G 24,6G /usr
zroot/usr/home 83,1G 108G 83,1G /usr/home
zroot/usr/src 309M 108G 309M /usr/src
zroot/var 1,57G 108G 1,12G /var
zroot/var/empty 20K 108G 20K /var/empty
zroot/var/log 103M 108G 103M /var/log
zroot/var/tmp 358M 108G 358M /var/tmp
Is there any way to safely add /usr/local to my zpool? Should I boot in single-user mode, rename /usr/local, create FS and get the data back? Or maybe there is much better solution?