mistermanko
Guru
- Joined
- Jan 27, 2020
- Messages
- 577
Just to be super sure...I'd like to have the iocages and VM zvols on the same mirror of 2x 1TB NMVE drives (Thanks, @Patrick M. Hausen for the inspiration) 
I found this handy guide through the process in the legacy sub-forum which for my plan condenses into these simple steps:
# wipe contents
gpart destroy -F /dev/nvme0
gpart destroy -F /dev/nvme1
# setup gpt partitioning scheme
gpart create -s gpt nvme0
gpart create -s gpt nvme1
# add swap partition at first available offset
gpart add -s 16g -t freebsd-swap -l swap0 nvme0
gpart add -s 16g -t freebsd-swap -l swap0 nmve1
#add partitions
gpart add -s 500g -t freebsd-zfs -l jails0 nmve0
gpart add -s 500g -t freebsd-zfs -l jails1 nmve1
gpart add -s 500g -t freebsd-zfs -l vm0 nmve0
gpart add -s 500g -t freebsd-zfs -l vm1 nmve1
Is this a no-no or am I good?
I found this handy guide through the process in the legacy sub-forum which for my plan condenses into these simple steps:
# wipe contents
gpart destroy -F /dev/nvme0
gpart destroy -F /dev/nvme1
# setup gpt partitioning scheme
gpart create -s gpt nvme0
gpart create -s gpt nvme1
# add swap partition at first available offset
gpart add -s 16g -t freebsd-swap -l swap0 nvme0
gpart add -s 16g -t freebsd-swap -l swap0 nmve1
#add partitions
gpart add -s 500g -t freebsd-zfs -l jails0 nmve0
gpart add -s 500g -t freebsd-zfs -l jails1 nmve1
gpart add -s 500g -t freebsd-zfs -l vm0 nmve0
gpart add -s 500g -t freebsd-zfs -l vm1 nmve1
Is this a no-no or am I good?