virsh edit node1

XML中配置

<devices>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/data/kvm/share'/>
<target dir='hostshare'/>
</filesystem>
</devices>

 

virsh console node1

mount -t 9p -o trans=virtio hostshare /mnt/share

相关文章:

  • 2022-12-23
  • 2021-12-24
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2022-01-19
  • 2021-12-01
猜你喜欢
  • 2021-07-13
  • 2021-05-17
  • 2021-09-29
  • 2021-11-18
  • 2021-12-27
  • 2021-10-01
  • 2022-12-23
相关资源
相似解决方案