You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

LXD部署Windows 11虚拟机后共享磁盘失败求助

LXD部署Windows 11虚拟机后共享磁盘失败求助

我之前跟着教程在LXD上安装Windows 11虚拟机,前面的步骤都顺利完成了,但现在遇到了一个问题——没法给Windows 11虚拟机共享磁盘。

我已经尝试了这两条命令:

  • lxc config device add win11 foobar disk source=/home/foo/test/ path=C:\\Users\\bar\\Desktop\\test
  • lxc config device add win11 foo disk source=/home/foo/test/ path=/c/Users/david/Desktop/test

按道理说内核是共享的,这操作应该能成功才对,但就是没效果。

补充信息
执行lxc config show后返回的内容如下:

architecture: x86_64
config:
  limits.cpu: "4"
  limits.memory: 8GiB
  volatile.cloud-init.instance-id: xxx
  volatile.eth0.host_name: xxxxxxxxxxx
  volatile.eth0.hwaddr: xxx
  volatile.last_state.power: RUNNING
  volatile.uuid: xxx
  volatile.uuid.gener...

备注:内容来源于stack exchange,提问作者DonkeyKong

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.16 08:38:17