https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234741
--- Comment #16 from Toomas Soome <tso...@freebsd.org> --- (In reply to David Chisnall from comment #15) First of all: make sure you have backup/snapshot of the disk.. gpart create -s BSD da1 gpart add -t freebsd-zfs -b 0 da1 That should create BSD label and partition starting from sector 0 (label is 512B, one sector). Since zfs does have reserved 8KB from the very start, this will not disturb zfs. (and would be good to test first!). Note you *can not* use GPT, because GPT will store backup at the end of the disk and that will clash with zfs. Also you must use partition scheme which does allow to create partition from absolute sector 0. However, there also is alternate and much better approach. Since you have VM, if you can provision new, a bit larger disk, you can create proper partition table on it, large enough to fit da1, then *attach* it to da1: zpool attach zpool da1 <newdisk>pX, wait for resilver, then zpool detach zpool da1. just do not mix up the zpool attach and zpool add, those are 2 very different commands. if you do not have enough space to make full copy but can extend the existing da1, then you can move its content to make space for partition table, but thats also complicated operation... -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"