服务端
NBDServer.exe -c 0.0.0.0 -f \\.\PHYSICALDRIVE0 -p 11010 -d -w
Linux 去尝试挂载,发现可以读,但是尝试写入会报错
客户端
nbd-client 172.169.4.200 10010 /dev/nbd0
mount /dev/nbd0p3 /mnt/
报错信息
[82289.806671] block nbd0: Other side returned error (22)
[82289.806683] I/O error, dev nbd0, sector 6369728 op 0x1:(WRITE) flags 0x4800 phys_seg 256 prio class 0