Rockon Utorrent assistance

Haioken,
That is correct, I added storage to the utorrrent rockon, Named* “Acer_tv” Mapped representation “/Data/Media” and it moved the file from the Media share into the share previously set up and used by my plex server for TV media files.

Thanks again
Chas

I might have not read the whole thread properly and missed the adding storage bit, from what I can remember there was something funky with the mapping but maybe with different docker images before this one I used, It took me sometime testing some Utorrent docker images until I found the proper one and created the proper .json file for it, I have stopped using it though over a year ago cause the whole rock-on thing had multiple issues and I was kind off fed up. Apologies if there was incorrect info.

Mahmoud,
Utorrent is up and working, thank you for the help.
I was wondering if you might be able to shine a light on another question. I have two rockstor devices that are known to each other, is it possible to have Utorrent save to the other device’s pool? if so, what would that mapping look like?

Thanks
Chas

@kysdaddy,

There’s no built in for this, however you can mount an NFS share from the other Rockstor box onto your local box, add that as an extra volume (Using the Add Storage feature mentioned in my previous post above) and then selecting the Docker’s local path you specified in Add Storage as your download location.

As an example:

mkdir -p /mnt/rockstor2/downloads
mount -t nfs rockstor2.box:/exports/downloads /mnt/rockstor2/downloads

Rockstor -> Rockons -> UTorrent -> Settings -> Add Storage

Storage: /mnt/rockstor2/downloads
Local Path: /media2

Then in your UTorrent UI, you would set your download path to /media2

Haioken,
Thank you

Chas

Hey mate, @Haioken pretty much said it all.

Guys’ it seems that I am having trouble with the simplest of things.

First thing I did was create an nfs share for an existing folder on machine 2 “rockstor”

Next I used the rirst line example mkdir -p /mnt/rockstor2/downloads
actual used on machine 1 host “rockstorage” mkdir -p /mnt2/Acer_remote And the folder was correctly created in rocstor

Next I attempted to recreate the second line mount -t nfs rockstor2.box:/exports/downloads /mnt/rockstor2/downloads

Actual attempts
mount -t nfs rockstor:/exports/mnt2/Acer_tv /mnt2/Acer_remote
mount -t nfs rockstor:/export/mnt2/Acer_tv /mnt2/Acer_remote
mount -t nfs 192.168.86.23:/export/mnt2/Acer_tv /mnt2/Acer_remote

I am quite sure that I am just missing something very simple but I can’t seem to get the share to mount.

Here are the responses that I get when i try to run the lines on machine 1 “rockstorage”

Thanks
Chas

Hi @kysdaddy,

Note that on Machine 2 you have the NFS service OFF (per your screenshot), this explains the connection refused on Machine 1 when accessing by IP.
When accessing by hostname, it appears that Machien 1 doesn’t know the hostname ‘rockstor’.

Haioken,
Much closer. Thanks for catching that I had turned nfs off.

.
But still not getting mounted now it is denying access.

Could you provide the output of:

showmount -e 192.168.86.23

on both systems?

machine 2

Machine 1

Thx

Hello, does this help?

@kysdaddy,

Unfortunately, it provides no insight into your issue.

Could you please have a look at Storage -> File Sharing -> NFS -> Advanced Edit, and copy/paste the contents of Enter manual export entries below.?

Also, try changing the export NFS clients list to a network CIDR rather than wildcard, such as 192.168.0.0/16 to see if that helps.

Haioken,
the issue was entirely self-created I was using mount -t nfs 192.168.86.23:/export/mnt2/Acer_tv /mnt2/Acer_remote

And if I would have followed your original directions more precisely and used mount -t nfs 192.168.86.23:/export/Acer_tv /mnt2/Acer_remote

It would have worked days ago

Sorry about that and thanks again.

Now I’ll try and get utorrent to save to the NFS share and if that works I’ll be very happy.

Thanks agin
Chas

@kysdaddy,

Aha! Sorry I didn’t catch that myself, but glad to see you’re ticking along better!

Yes, the exports are re-mounted to the /export directory as the BTRFS subvol, meaning you end up simply with /export/<sharename>.

No worries, I can’t really expect you to do all my work for me. I should have followed tour directions better in the first place!

Chas

I’m sorry Haioken, one more question for you.
How would I go about setting this to auto mount, when the machine restarts?

Thanks
Chas

Easiest way will be to add the previous commands to /etc/rc.local.

Better to create manual entries in /etc/fstab, but not sure how Rockstor will respond to this, nor whether systemd is set to parse fstab to ensure network mounts only happen after network has been started.

Another alternative would be to create some custom systemd mount units, but that involves a higher level of difficulty.

@Haioken

As far as I know Rockstor is unaltered with regard to systemd mount re network mount and fstab. We pretty much concern ourselves only with local devices / filesystems anyway and then only those that are btrfs and have been imported or created so that they exist in the database. Everything else is ignored so we are essentially the same as upstream CentOS in nfs mount behaviour client side. But I am unfamiliar with the nfs code in Rockstor, but I’m pretty sure it’s only server config based anyway.

Hope that helps.