Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED]9p sharing implementation for HDHomeRun DVR

Featured Replies

Short synopsis of the environment.

 

Unraid 6.1 with Debian 8.2 VM to be used with HDHomeRun DVR installed.  Goal is to use the place any HDHomeRun DVR recordings on an Unraid share for offering recordings to other media clients and platforms, tablets, etc. 

 

Created an unraid SMB share of HDHomeRun set with Public permission.

 

Completed the 9p sharing configuration on the Debian VM and have run into what appears to be a permission issue between the VM And the Unraid share.  *ISSUE* from the VM one can create, modify files in the share, however a list (ls -lai) shows nothing in the directory/share.  From the SMB/CIFS side via Windows I can view the files in the directory.

 

Example on the VM and mount point /mnt/hdhomerun I can create a file called blah.txt (vi blah.txt) place gibberish within, write quit.  Perform the list command.  Nothing shows.  However I can change the file (vi blah.txt) view the contents and write, quit saving changes without issue.

 

At this point I'm unable to proceed as the installation for HDHomeRun DVR on linux requires the recording engine binary and conf files be placed into the defined "recordings" folder that I have defined as the Unraid HDHomeRun share.

 

VM config XML for associated 9p sharing:

<filesystem type='mount' accessmode='passthrough'>
      <source dir='/mnt/user/HDHomeRun'/>
      <target dir='hdhomerun'/>
      <alias name='fs0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
    </filesystem>

 

List of permission for hdhomerun mount point:

root@hdhomerun:/mnt# ls -lai
total 8
390963 drwxr-xr-x  3 root root  4096 Jan  9 21:45 .
     2 drwxr-xr-x 21 root root  4096 Jan  8 22:13 ..
     4 drwxrwxrwx  1   99 users   52 Jan 10 09:15 hdhomerun
root@hdhomerun:/mnt#

 

The owner is a undefined UID 99?  The original group was root, I changed group ownership from root to users to see if would make any difference, hasn't to this point.

 

Listing contents showing nothing.  Yet the share/folder is populated with several files created from the VM and the Windows side.

root@hdhomerun:/mnt/hdhomerun# ls -lai
total 0
root@hdhomerun:/mnt/hdhomerun#

 

/etc/fstab entry

hdhomerun       /mnt/hdhomerun    9p rw,dirsync,relatime,trans=virtio,version=9p2000.L,_netdev   0 0

 

From the Windows side via the SMB share HDHomeRun blah.txt permissions, attempting to change any of the permissions on the file doesn't change the result.  Unable to change the assigned Unix/group permissions from the Windows side on any particular file.

 

Open to suggestions.  Thanks.

 

 

 

 

 

 

 

  • Author

After numerous hours I can confirm that if you install a 32 bit OS VM and enable 9p sharing will result in the error state described. 

 

Rebuilding the VM host on 64 bit Debian (amd64 ISO) resolved the issue.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.