Re: ufs to zfs conversion in a freebsd guest

2019-03-24 Thread Warner Losh
On Sun, Mar 24, 2019, 3:58 PM tech-lists wrote: > Hi > > [context is freebsd-12R-p3] > > Is it possible to convert a running freebsd guest from UFS to ZFS? > It would need to be done in-situ, in the guest as there is no access to > the host. > > The guest filesystem is: > > /dev/gpt/rootfs /

Re: ufs to zfs conversion in a freebsd guest

2019-03-24 Thread tech-lists
On Sun, Mar 24, 2019 at 04:16:32PM -0600, Alan Somers wrote: Yes, but it's probably not worth the effort. Easier to spin up 2nd vm and copy everything over. Here is what you'd have to do: Yeah the problem we have is that option is unavailable to us and we don't have access to the host. 1)

Re: ufs to zfs conversion in a freebsd guest

2019-03-24 Thread Alan Somers
Yes, but it's probably not worth the effort. Easier to spin up 2nd vm and copy everything over. Here is what you'd have to do: 1) shrink the root filesystem with resizefs. 2) shrink it's partition with gpart. If it's not the last partition on the disk, then you'll have to relocate the last

ufs to zfs conversion in a freebsd guest

2019-03-24 Thread tech-lists
Hi [context is freebsd-12R-p3] Is it possible to convert a running freebsd guest from UFS to ZFS? It would need to be done in-situ, in the guest as there is no access to the host. The guest filesystem is: /dev/gpt/rootfs / ufs rw 1 1 /dev/gpt/swapfs noneswap