diff options
Diffstat (limited to 'testModule/mount-dnbd3.sh')
| -rw-r--r-- | testModule/mount-dnbd3.sh | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/testModule/mount-dnbd3.sh b/testModule/mount-dnbd3.sh index 9629a153..c8b7f267 100644 --- a/testModule/mount-dnbd3.sh +++ b/testModule/mount-dnbd3.sh @@ -1,15 +1,14 @@ -insmod /usr/lib/modules/3.10.0-229.1.2.el7.x86_64/extra/dnbd3.ko +# TODO +warn '............JAU.............' +warn '............JAU.............' -dnbd3-client --daemon & -sleep 2 -local dnbd3_device_node="$(dnbd3-client -h 132.230.4.1 -i stage4/torben/test -r 1)" +insmod /usr/lib/modules/3.10.0-229.1.2.el7.x86_64/extra/dnbd3.ko +#dnbd3-client --daemon & +#sleep 3 +local dnbd3_device_node="$(dnbd3-client -h 132.230.4.1 -i stage4/torben/test -r 1 -d /dev/dnbd0)" +dnbd3_device_node='/dev/dnbd0' qemu-img create -f qcow2 -o backing_file="$dnbd3_device_node",backing_fmt=qcow2 /tmp/test.qcow2 insmod /usr/lib/modules/3.10.0-229.1.2.el7.x86_64/extra/nbd.ko -qemu-nbd -c /dev/nbd0 /tmp/test.qcow2 -mkdir /mnt -mount /dev/nbd0 /mnt - -warn '............JAU.............' -warn '............JAU.............' -warn '............JAU.............' +wrap qemu-nbd -c /dev/nbd0 /tmp/test.qcow2 +#mount /dev/nbd0 /sysroot |
