Sharing an USB drive: which protocol?

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
lollapalooza
Posts: 122
Joined: Mon Jun 09, 2014 12:53 pm

Sharing an USB drive: which protocol?

Post by lollapalooza »

I'd like to share a folder on my USB drive.
Router is WNDR3700v2, with Gargoyle latest version: 1.10.0

This folder contains videos to be played with Kodi on Amazon Fire TV Stick.

That is easy but:
  1. I don't want to login and manually unmount the drive any time I power-off the router, or I unplug the drive.
    So how do I force Gargoyle to mount the USB drive as read-only by default? Is there a file to edit to change this behaviour?
  2. Which protocol is better (CIFS/NFS), in order to keep as low as possible the CPU load on the router?
    There are a few HD files, and they often freeze for some time.
Thanks a lot.

lollapalooza
Posts: 122
Joined: Mon Jun 09, 2014 12:53 pm

Re: Sharing an USB drive: which protocol?

Post by lollapalooza »

Nobody has an answer? :(

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Sharing an USB drive: which protocol?

Post by Lantis »

If you google how to do this in Linux, you will have an answer.

I wouldn’t recommend pulling the harddrive without unmounting otherwise the system may exhibit unexpected behaviour.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

lollapalooza
Posts: 122
Joined: Mon Jun 09, 2014 12:53 pm

Re: Sharing an USB drive: which protocol?

Post by lollapalooza »

By reading OpenWRT documentation, I tried to edit the file /etc/config/fstab, by adding the following section:

Code: Select all

config 'mount'
        option  uuid            '0ce23c22-01'
        option  options         'ro,sync'
        option  target          '/mnt/usb'
Unfortunately the USB drive is still mounted as rw.

Any suggestion?

Post Reply