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.

NFS + User Shares possible with mhddfs?

Featured Replies

Hi,

 

This is my first post. I have been eagerly reading all of the info on the forums and wiki about unraid. I love the whole concept of this and also am almost ready to buy a LimeTech prebuilt system save for a couple of issues, the main one is I've noticed there seems to be current support issues with NFS. I am a Unix admin by day, so I don't have any Windows boxes in my house, so NFS is what I want to use for all of my filesharing from my unraid box to everything in my house, especially for streaming HD movies to my linux based XBMC install in my living room.

 

Note, I don't have an unraid box to play around with since I havent purchased a NAS array and software (yet), so I am just going by what I've seen in screenshots and wiki / forum info here.

 

It seems there are 'issues' with FUSE and NFS? Some of it being related to exporting the unified 'User Share' view, if I am reading right.

 

Has anyone here used or heard of the package 'mhddfs'? Here is the freshmeat entry for it:

 

http://freshmeat.net/projects/mhddfs

 

And a good blog post about what it does:

 

http://debaday.debian.net/2008/05/25/mhddfs-join-several-real-filesystems-together-to-form-a-single-larger-one/

 

This software basically does the same thing as what I believe the User Shares option does, it aggregates your /dev/disk data directories into one unified view. Note, this program is a FUSE module which is doing all of this.

 

IE:

 

root@xbmc:/media# ls -l /media/external/
total 24
drwxr-xr-x  6 hovland hovland 4096 2009-07-11 13:54 appz
drwxr-xr-x 10 hovland hovland 4096 2009-07-14 00:00 gamez
drwxr-xr-x 56 hovland hovland 4096 2009-07-23 11:25 moviez
drwxr-xr-x 11 hovland hovland  125 2009-07-14 00:12 mp3
drwxr-xr-x  8 hovland hovland 8192 2009-07-17 23:05 music.videoz
drwxr-xr-x  6 hovland hovland   70 2009-07-21 00:27 tv
drwxrwxr-x  7 hovland xbmc     121 2009-07-23 20:27 xbmc-stuff
root@xbmc:/media# ls -l /media/internal/
total 4
drwxrwsr-x 7 hovland xbmc    4096 2009-07-23 20:09 Dropbox
drwxr-xr-x 4 hovland hovland   47 2009-07-23 11:56 hellanzb
root@xbmc:/media# 
root@xbmc:/media# mhddfs /media/internal,/media/external /media/unified
mhddfs: directory '/media/internal' added to list
mhddfs: directory '/media/external' added to list
mhddfs: mount to: /media/unified
mhddfs: move size limit 4294967296 bytes
root@xbmc:/media# ls -l /media/unified/
total 28
drwxr-xr-x  6 hovland hovland 4096 2009-07-11 13:54 appz
drwxrwsr-x  7 hovland xbmc    4096 2009-07-23 20:09 Dropbox
drwxr-xr-x 10 hovland hovland 4096 2009-07-14 00:00 gamez
drwxr-xr-x  4 hovland hovland   47 2009-07-23 11:56 hellanzb
drwxr-xr-x 56 hovland hovland 4096 2009-07-23 11:25 moviez
drwxr-xr-x 11 hovland hovland  125 2009-07-14 00:12 mp3
drwxr-xr-x  8 hovland hovland 8192 2009-07-17 23:05 music.videoz
drwxr-xr-x  6 hovland hovland   70 2009-07-21 00:27 tv
drwxrwxr-x  7 hovland xbmc     121 2009-07-23 20:27 xbmc-stuff
root@xbmc:/media# 

 

I am able to nfs export the unified share without any issues via nfs:

 

/media/unified *(rw,sync,no_subtree_check,fsid=0,insecure)

 

The only obvious issue I would see right away with this software is that it tries to act intelligently, and will pick which underlying device it will put the data on based on the amount of free space, which would interfere with the unraid highwater, etc disk setup.

 

Thoughts?

I see the need for this functionality on the horizon.  I'm using an NFS share to feed HD video to my Popcorn Hour A-110.  With only 600 GB on a 1.5 TB drive, I'm good for now.  But eventually I'll need to connect a User Share to the Popcorn Hour over NFS.  This application may be the solution.

 

Curious.  If you write a file directly to a disk that is a part of the unified share, does the file show up on a directory listing of the unified share?  That may be a way to work around the mhddfs algorithm.

 

Kevin

 

 

  • Author

Yup, you can write directly to each drive if you wish, the software basically just overlays all of the drives into one big view. the df output also is a sum of all of the free and used space.

 

I just tested this and it looks like if you have the same file in the same location on two or more drives it will only show you the file in the lowest mounted drive in the unified view.

 

It is good to know that you can setup NFS exports and mount them without issue, as I think you should with a unix based distro, but I really would like to use the unified view functionality to export my data. It would be much less of a headache to nfs mount unraid:/movies  than a bunch of exports and mount all of those remotely.

Most of that blog said that it did not work with NFS.  They must have made some advances.

 

Joe L.

  • Author

Yeah I think those comments on the blog are just old, I am able to do this fine right now, with the default version of this software available via the Unbunu Jaunty repo:

 

hovland@/a/test$ df -H .

Filesystem            Size  Used  Avail Capacity  Mounted on

xbmc:/media/unified  1.7T  732G  951G    44%    /a

hovland@/a/test$

 

 

 

I thought the latest beta of unRAID supported NFS and user shares? Am I mistaken?

I thought the latest beta of unRAID supported NFS and user shares? Am I mistaken?

unRAID has had NFS shares since at least 4.4.1, so it is not just the latest beta.

They are not the easiest to figure out the syntax, but there are examples of how in the wiki.

http://lime-technology.com/wiki/index.php/FAQ#How_do_I_configure_NFS_mounts.3F

 

discussion here:

http://lime-technology.com/wiki/index.php/UnRAID_Topical_Index#NFS

 

Joe L.

 

 

  • Author

Oh sweet, I missed this.  ;D

 

It says it is still experimental, if people have had no issues with this then the only thing left on my agenda is which box to buy off of this website then :)

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.