Skip to content

Instantly share code, notes, and snippets.

@pmcfernandes
Forked from helinwang/unraid_mount.md
Created June 13, 2022 00:48
Show Gist options
  • Save pmcfernandes/f787fd5537bffe243e4c1efaeae1e0fb to your computer and use it in GitHub Desktop.
Save pmcfernandes/f787fd5537bffe243e4c1efaeae1e0fb to your computer and use it in GitHub Desktop.
Unraid: mount a unraid share using the unraid mount tag in Ubuntu

Mounting the shared path You can mount the shared folder using

mount -t 9p -o trans=virtio [mount tag] [mount point] -oversion=9p2000.L

mount tag: As specified in Qemu commandline. mount point: Path to mount point. trans: Transport method (here virtio for using 9P over virtio) version: Protocol version. By default it is 9p2000.u . Other options that can be used include:

msize: Maximum packet size including any headers. By default it is 8KB. access: Following are the access modes access=user : If a user tries to access a file on v9fs filesystem for the first time, v9fs sends an attach command (Tattach) for that user. This is the default mode. access= : It only allows the user with uid= to access the files on the mounted filesystem access=any : v9fs does single attach and performs all operations as one user

Reference: https://wiki.qemu.org/Documentation/9psetup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment