dear all :
i want to create a vm with vm-bhyve...but got error in below
#vm create -t centos7 -i ensp_pro.raw ensp_pro
WARNING: Image format was not specified for '/systempool/vm/ensp_pro/disk0.img' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
qemu-img: Use the --shrink option to perform a shrink operation.
qemu-img: warning: Shrinking an image will delete all data beyond the shrunken image's end. Before performing such an operation, make sure there is no important data there.
/usr/local/sbin/vm: ERROR: failed to resize img file with qemu-img
please help me . how to create it ?
i want to create a vm with vm-bhyve...but got error in below
#vm create -t centos7 -i ensp_pro.raw ensp_pro
WARNING: Image format was not specified for '/systempool/vm/ensp_pro/disk0.img' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
qemu-img: Use the --shrink option to perform a shrink operation.
qemu-img: warning: Shrinking an image will delete all data beyond the shrunken image's end. Before performing such an operation, make sure there is no important data there.
/usr/local/sbin/vm: ERROR: failed to resize img file with qemu-img
please help me . how to create it ?