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.

Plugin: Drive Mount (simple features required)

Featured Replies

Pretty much all SF is installed and working.

 

As requested..

 

# drive_mount configuration

[77850ca6-929c-48b5-87e0-412fbd3ee1a5]

DRIVE_ID="WDC_WD800JD-75MSA3_WD-WMAM9WP18744"

DRIVE_NAME="sdr1"

DRIVE_MOUNT=""

DRIVE_MOUNTED="disable"

DRIVE_ENABLED="disable"

DRIVE_LABEL=""

DRIVE_SIZE="79999967232"

DRIVE_FORMAT="reiserfs"

SMB_EXPORT="eh"

SMB_SEC="public"

  • Replies 94
  • Views 21.6k
  • Created
  • Last Reply
  • Author

it seems like the sharing setting have been saved, but mount settings didn't...

you have to first enter the name for the drive, then set enable to yes and then click apply. (i'll probably change this in a future version to make it easier.)

 

after you hit apply, the button should be disabled for a few seconds and then be reenabled and the settings should be saved.

if not, please check the java console of your browser, if there are any error messages

Hi Benni-chan,

 

Well I finally did it and upgraded to RC10.  SNAP old 0.47 version that I used for unraid 4.7 didn't work anymore, and it appears that the SNAP plugin doesn't work either with the newer RC.

 

So I uninstalled it and installed simple features, and your plugin.  After a bit of a hickup (all the shares wouldn't mount, and I had to powerdown the server via commandline which forced a parity check :( ) it all appears to be working after a reboot.

 

One question.  I've successfully shared and mounted my apps drive which is formated in reiserfs format.  I store all my SB, SAB working files there.

 

When I reboot it's not mount itself, but it says it's shared???  Is your plug in supposed to mount it on reboot?  I really need it to mount on reboot so that SB and SAB reinstall from unmenu as the system boots up.

 

Thanks for the help. :)

  • Author

it should auto mount after boot.

i will take another look at it. but it's strange, since i didn't change anything in the automount code...

I use a cache drive for my apps without the caching function.  Would there be any advantage to using his plugin over a cache drive for my apps/plugins ?

it should auto mount after boot.

i will take another look at it. but it's strange, since i didn't change anything in the automount code...

It's definately not automounting.  I've attached the drive_mount.cfg file for you to look at.  It was previously mounted before a reboot as "apps".

drive_mount.cfg

  • Author

I use a cache drive for my apps without the caching function.  Would there be any advantage to using his plugin over a cache drive for my apps/plugins ?

 

no, in that case there is no real advantage i can think of.

well, maybe one. running the newperms script in the unraid webgui will also update the permissions on the cache drive. this could be bad for some plugin files. not sure, if it's really a problem...

I use a cache drive for my apps without the caching function.  Would there be any advantage to using his plugin over a cache drive for my apps/plugins ?

 

no, in that case there is no real advantage i can think of.

well, maybe one. running the newperms script in the unraid webgui will also update the permissions on the cache drive. this could be bad for some plugin files. not sure, if it's really a problem...

 

Newperms caused an issue with an Rsync password file I had, other than that all my plugin seem to work fine after the rc9 update.

 

Thanks for the answer., its as I thought but wanted to check.

Any update on the reboot issue?

 

It still won't hold a reboot.  I also tried mounting it in the go script, but can't get that to work either! :(  See my post here.

 

http://lime-technology.com/forum/index.php?topic=22296.msg219695#msg219695

 

I even ran a pre-clear on the drive, and reformated in reiserfs format, mounted it with your plugin again, and shared it.  I put all my data back from a backup, rebooted and it says it's shared, but not mounted, and I have to manually mount it! :(

 

Mounting a drive outside of the array has been the biggest issue with this upgrade so far! :(

It just gets worse.

 

I thought I would start again with the plugin, so I removed drive_mount.plg, and the folder under boot/config/drive_mount, and removed the line added to smb-extra.conf too.

 

A clean install I thought, and reboot.  Now for some reason drive_mount is trying to install BEFORE simple features, which it is dependant on.

 

I checked the full sys log in unmenu and there's pages of errors. :(

 

I've attached a syslog started when it installs the plugin.

 

I'm off for a beer.

syslog-2013-01-13_drive_mount.txt

  • Author

the error messages point toward a corrupt plugin file...

simplexml_load_file(): always means, that you have not downloaded the plugin correctly.

 

right click on this link and save as...

https://raw.github.com/Benni-chan/unraid_plugins/master/drive_mount.plg

 

as for the other problems.

i'm currently working hard on a new version. i'm hoping, that i get it finished today. but since this is not only a bugfix but pretty much a rewrite of the complete backend, i'm not sure, how long it still takes...

Thanks Benni-chan,

 

I understand, I'm probably asked a lot for it to be working 100% right in the middle of the rewrite.

 

I've temporarily mounted the drive via the go file, so that should get me to a point that I can get the system up, and then fiddle around with drive mount later.

 

Out of interest does drive mount install before the simple features plugin on your system?  Also does it mount by drive id?  i.e. unique to each drive?  or is it mounted by dev/hxxx for example?

 

I had it working, but now it won't even install, and I tried downloaded it again, and even reinstalled simple features.  Maybe I'm doing something wrong, I've been at this all day! lol

 

Keep up the good work, this is the only plugin that seems active to mount drives without getting your hands dirty with commands or go files mods.

  • Author

Out of interest does drive mount install before the simple features plugin on your system?  Also does it mount by drive id?  i.e. unique to each drive?  or is it mounted by dev/hxxx for example?

 

I had it working, but now it won't even install, and I tried downloaded it again, and even reinstalled simple features.  Maybe I'm doing something wrong, I've been at this all day! lol

 

I have no real influence on when which plugin is installed, other than renaming it. (i think, the plugins are installed in an alphabetical order...)

but it doesn't matter, if simple features is installed later. when i write, simple features is required, it's only the web gui, that needs it. the script in the backend work fine without it installed.

 

the drives are mounted by their uuid, which should be rather unique. the other advantage is, that every partition on a drive has its own uuid. (unraid is also using uuid to recognize the array disks)

 

i had one case in my testings, where a drive didn't have a uuid (don't know the reason). after a reformat, everything was fine again.

  • Author

@Lacehim:

I just saw, that you posted a config file. sry, didn't see that before.

in that config file, you haven't enabled the drive and didn't set a mount point.

 

it could be either, that you didn't set it correctly or that there is a bug somewhere, that deleted those settings.

but since i'm currently changing the way, the config file is created, i hope, this will work in the next version.

  • 3 weeks later...

I'm having a rather strange problem with the GUI that's related to which browser I use. The apply button in mount settings will only work in IE9 but the apply button in share setting will only work in firefox. I'm currently using both browsers to make it work. Any idea on what could cause this or how I could fix it?

  • 3 weeks later...

Any update on this plugin?

 

I'm able to Mount it and Share it but I have 2 problems

 

1. The drive is mounting as Read-Only

2. It won't auto mount on boot

 

I'm currently using unRaid 5.0-rc11

I think Benni-chan is working on a complete rewrite of the program.

 

I had the won't auto mount on boot issue, so I ended up putting the drive in the go script.  Works fine.

 

I think until a final 5.0 is released, and simplefeatures is updated, I'll stick with my go script. :)

I think Benni-chan is working on a complete rewrite of the program.

 

I had the won't auto mount on boot issue, so I ended up putting the drive in the go script.  Works fine.

 

I think until a final 5.0 is released, and simplefeatures is updated, I'll stick with my go script. :)

 

Thank you for the heads up. Can you help me adding it to the Go script?

 

What should I add?

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.