blob: 31b816e29ebd42c60cf6cdfcff89608ec4b735c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
id = 1413
title = "I tried to use qemu-nbd in the shell script, but it seems that qemu-nbd has some delay."
state = "opened"
created_at = "2023-01-04T13:13:06.407Z"
closed_at = "n/a"
labels = ["Storage"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1413"
host-os = "- OS/kernel version:"
host-arch = "## Description of problem"
qemu-version = "n/a"
guest-os = "- OS/kernel version:"
guest-arch = "## Description of problem"
description = """"""
reproduce = """1.
```
cat ~/test.sh
#!/bin/bash
qemu-nbd -c /dev/nbd0 $1
mount -t ntfs3 -o uid=1000,gid=1000 /dev/disk/by-label/OS /mnt/OS
```
2.
```
sudo ~/test.sh ~/VM/win7_i386.qcow2
mount: /mnt/OS: special device /dev/disk/by-label/OS does not exist.
dmesg(1) may have more information after failed mount system call.
```"""
additional = """But when I added a one-second delay between qemu-nbd and mount commands, the problem was solved.
The qemu-img convert command also has a similar problem. It seems that these commands have a certain delay. Is this in line with expectations?"""
|