Jump to content
Sign in to follow this  

9p share troubleshooting

2 posts in this topic Last Reply

Recommended Posts

So, I have one 9p mount working correctly, and several not working. The one that is working is a drive mounted outside the array, all my array shares are not working. This Ubuntu VM is using a the virbr0 for connectivity. I get no mount errors, yet I can only see stuff on "encode" the rest stays blank. "encode" is mounted outside the array, formatted as XFS; all my shares in the array are also XFS. I'm also only seeing speeds of ~50MB/s from a "encode" to a samba share on the server.



    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/mnt/disks/encode/'/>
      <target dir='encode'/>
      <alias name='fs0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/mnt/user/Movies/'/>
      <target dir='movies'/>
      <alias name='fs1'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/mnt/user/Anime/'/>
      <target dir='anime'/>
      <alias name='fs2'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/mnt/user/TV/'/>
      <target dir='tv'/>
      <alias name='fs3'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/>
    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/mnt/user/Anime-AniDB/'/>
      <target dir='anime-anidb'/>
      <alias name='fs4'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x05' function='0x0'/>
    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/mnt/user/New Media/'/>
      <target dir='newmedia'/>
      <alias name='fs5'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x06' function='0x0'/>



encode	/mnt/encode	9p	trans=virtio,version=9p2000.L,_netdev,msize=262144,rw	0 0
movies	/mnt/movies	9p	trans=virtio,version=9p2000.L,_netdev,msize=262144,rw	0 0
anime	/mnt/anime	9p	trans=virtio,version=9p2000.L,_netdev,msize=262144,rw	0 0
tv	/mnt/tv	9p	trans=virtio,version=9p2000.L,_netdev,msize=262144,rw	0 0
newmedia	/mnt/newmedia	9p	trans=virtio,version=9p2000.L,_netdev,msize=262144,rw	0 0

Share this post

Link to post

Sorry for necroing the post, but did you ever manage to get this working? I had problems with 9p as well, but I can mount everything, but I just can't create new files into the shared folders. But I can edit, rename and delete existing files and folders (?!). While some other mount shares (with the exact same permissions and setup) working without problems. I had better luck with mounting shares from the array itself, and not the unassigned ones. Now I suddenly struggle a bit with a cache drive, while the regular "user" share works as expected.

With one of my VM's I just ended up using NFS, at least it works, but it seems to be limited to 1Gbps which is not ideal for an nvme device. Maybe I should open a virtual network as well and not just passing it through. But 9p would been nice to use and simple in theory.. if it would work as expected.

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this