Similar to above but for rockstor, I am getting
muvirt-provision: [Could not create a volume for rockstor]
Please see the following details
Related configuration
config muvirt 'system'
option defaultnet 'lan'
option hugetlb '0.8'
option scratch '/mnt/vm/'
...
config vm 'rockstor'
option numprocs '1'
option memory '2048'
option enable '1'
option mac '52:54:00:55:48:df'
option imageurl 'https://rockstor.com/downloads/installer/leap/15.3/aarch64/Rockstor-Leap15.3-ARM64EFI.aarch64-4.1.0-0.qcow2'
option checksum 'sha256:91ba94169b40fa32ac0430148cfe041b7883d37724cf781f1fab9e0dea82952b'
option imageformat 'qcow2'
Disk layout
root@openwrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 27.8M 27.8M 0 100% /rom
tmpfs 7.5G 4.0M 7.5G 0% /tmp
/dev/ubi0_2 58.9M 4.1M 51.8M 7% /overlay
overlayfs:/overlay 58.9M 4.1M 51.8M 7% /
tmpfs 512.0K 0 512.0K 0% /dev
/dev/nvme0n1p4 29.3G 915.6M 26.9G 3% /mnt/vm
Device mapper seems to be clean
root@openwrt:~# ls /dev/mapper/
control
then
root@openwrt:~# sh -x /usr/sbin/muvirt-provision rockstor
root@openwrt:~# sh -x /usr/sbin/muvirt-provision rockstor
+ set -e
...
muvirt-provision: [rockstor] downloading https://rockstor.com/downloads/installer/leap/15.3/aarch64/Rockstor-Leap15.3-ARM64EFI.aarch64-4.1.0-0.qcow2 to /mnt/vm//rockstor/image.bin
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 652M 100 652M 0 0 2601k 0 0:04:17 0:04:17 --:--:-- 2996k
...
+ /usr/libexec/muvirt/storage/storage.sh new_volume rockstor 2048
+ VOLUME_PATH='ERROR: No storage device defined
ERROR: /usr/libexec/muvirt/storage/ not found'
+ critical_error 'Could not create a volume for rockstor'
+ vmname='Could not create a volume for rockstor'
+ error_message=
+ uci -q get 'virt.Could not create a volume for rockstor'
+ logger -t muvirt-provision -s '[Could not create a volume for rockstor] '
muvirt-provision: [Could not create a volume for rockstor]
+ exit 1
Do I miss anything in /usr/libexec/muvirt/storage
?
root@openwrt:~# ls /usr/libexec/muvirt/storage/
lvm storage.sh