Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Mounting storage box on a VPS
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Mounting storage box on a VPS

slo064slo064 Member

I have recently bought a 500GB storage box from Hostbrr and would like to mount it on VPS elsewhere using rclone. FTP worked through my windows but I would like to use samba or NFS.

Would appreciate it if anyone could help me with this

«1

Comments

  • plumbergplumberg Veteran, Megathread Squad

    Whay have you tried? Are you getting errors with samba/ nfs?

    What's your OS

    Thanked by 1nghialele
  • slo064slo064 Member

    I have not tried anything as far as mounting it as I don't how to proceed

    Ubuntu on the VPS
    Hostbrr uses DirectAdmin panel and has a terminal but I do not have permissions to install any package, samba/nfs

  • sliixsliix Member

    @slo064 said:
    I have not tried anything as far as mounting it as I don't how to proceed

    Ubuntu on the VPS
    Hostbrr uses DirectAdmin panel and has a terminal but I do not have permissions to install any package, samba/nfs

    SSHFS it is then

  • plumbergplumberg Veteran, Megathread Squad

    So what is it thay you are trying to achieve?

  • fitkohfitkoh Member

    I was able to bring up an AI Generated tutorial using search term: "rclone mount network drive ubuntu"

    You could probably improve it with more details like your ubuntu version or drive type.

    I believe those storage boxes have rclone installed.

    Report back any errors or if you're successful.

  • slo064slo064 Member

    I checked and there is no rclone.

  • slo064slo064 Member

    @sliix said:

    @slo064 said:
    I have not tried anything as far as mounting it as I don't how to proceed

    Ubuntu on the VPS
    Hostbrr uses DirectAdmin panel and has a terminal but I do not have permissions to install any package, samba/nfs

    SSHFS it is then

    I was trying to ssh into it earlier using port 22, just found out they use 23 but I cannot seem to use the password for login now.

  • slo064slo064 Member

    @plumberg said:
    So what is it thay you are trying to achieve?

    I am trying to mount the storage box onto my ubuntu VPS, trying to use sshfs now instead.

    Thanked by 1plumberg
  • slo064slo064 Member

    Prompts me the following when entering the password when trying to ssh

    "PTY allocation request failed on channel 0
    shell request failed on channel 0"

  • fitkohfitkoh Member

    @slo064 said:
    I checked and there is no rclone.

    Maybe it was rsync. My mistake.

    Searching for the storagebox specifications I found this: https://lowendtalk.com/discussion/203092/how-to-utilize-my-1-tb-hostbrr-storage-box-efficiently/p1

    Which may have some useful information.

  • slo064slo064 Member

    Yes, rysnc is installed and I have read that thread but could not find anything that coudl help

    Using rysnc, how could I mount this on my VPS if it is installed on the storage box?

  • fitkohfitkoh Member

    @slo064 said:
    Yes, rysnc is installed and I have read that thread but could not find anything that coudl help

    Using rysnc, how could I mount this on my VPS if it is installed on the storage box?

    I recommend reading it again more thoroughly.

    The sky will not change color to suit you.

  • Not clear what are you trying to achieve
    What wrong with just mounting as ftp or sftp?
    You need to create remote then mount it
    https://rclone.org/ftp/

  • slo064slo064 Member

    Nothing wrong I just could not figure why it would not connect using SFTP, to my understanding SFTP is much more secure than FTP so I would like to avoid it

    Again, I tried SFTP with a different port and it I can access it now, I will try mounting with sftp now.

    Thanked by 1fitkoh
  • nikhm2nnikhm2n Member

    Sshfs works. Install it on the ubuntu vps.
    AI Instructions

  • emperoremperor Member

    @slo064 i think you should add 1st ssh keys for the login. Then login with ssh keys

  • PulsedMediaPulsedMedia Member, Patron Provider

    Use rclone or sshfs.

    What made you pick hostbrr storage box btw?

  • @PulsedMedia said:
    Use rclone or sshfs.

    What made you pick hostbrr storage box btw?

    It's pretty cheap, like approximately 15 euro/yr/TB ($1.43/mo/TB).

  • PulsedMediaPulsedMedia Member, Patron Provider

    @PineappleM said:

    @PulsedMedia said:
    Use rclone or sshfs.

    What made you pick hostbrr storage box btw?

    It's pretty cheap, like approximately 15 euro/yr/TB ($1.43/mo/TB).

    Oh, now i see! They sell it per annum for like 7.7$ for 500Gigs. Makes much more sense now.

  • nikhm2nnikhm2n Member

    [@PulsedMedia said]
    What made you pick hostbrr storage box btw?

    It's cheap. $7/yr for 500GB. It comes with DA - meaning some things, I can do it from my phone. I installed nextcloud on it, and it ran fine. I have mounted it to one of my VPS.

    It does a lot of things for cheap, making it attractive.

    Thanked by 1PineappleM
  • slo064slo064 Member

    Yes, it is cheap that's why. I managed to get it working, so thank you all for your suggestions

  • @slo064 said:
    Yes, it is cheap that's why. I managed to get it working, so thank you all for your suggestions

    If you did it with rclone, mind your VFS cache. Depending on your usecase, having a cache of up to 20GBs can improve shizz significantly. If you need help, ping me.

    Thanked by 1PineappleM
  • e2bs2k1e2bs2k1 Member

    Install nextcloud, the mount it via rclone with its webdav interface.

    Thanked by 1PineappleM
  • I use rclone to mount. Works like a charm.

    https://rclone.org/commands/rclone_mount/

    Thanked by 2Penguin nghialele
  • PenguinPenguin Member

    @slo064 said:
    I checked and there is no rclone.

    HostBrr storagebox does have rclone support, to use it you also have to install rclone locally on your VPS

    Thanked by 1PineappleM
  • slo064slo064 Member

    @Mik3y326 said:

    @slo064 said:
    Yes, it is cheap that's why. I managed to get it working, so thank you all for your suggestions

    If you did it with rclone, mind your VFS cache. Depending on your usecase, having a cache of up to 20GBs can improve shizz significantly. If you need help, ping me.

    Yes, I used rclone sftp.

    That would be great, what kind of settings do you use?

  • mounting a storage on a vps only works well if both are close to one another. for latency more than 50ms is not worth it unless you are just storing backup of your files from vps.

    In any case you can try either sshfs or rclone. Rclone seems to work faster than sshfs but the latter offers changing of permission which is essential for docker volumes.

    Thanked by 1nghialele
  • @truemagic said:
    mounting a storage on a vps only works well if both are close to one another. for latency more than 50ms is not worth it unless you are just storing backup of your files from vps.

    In any case you can try either sshfs or rclone. Rclone seems to work faster than sshfs but the latter offers changing of permission which is essential for docker volumes.

    Thank you for explaining the Docker aspect. To confirm, if a Docker container sets a UID and GID other than the default $USER ownership, including root, it will create the files/folder safely with SSHFS?

  • JencyJency Member

    If you want to mount it on your VPS, first check if Hostbrr supports Samba (SMB) or NFS - many storage boxes only allow FTP or SFTP. If Samba/NFS isn’t available, you can still use rclone mount over SFTP to mount it like a regular drive. It's stable and works well on a VPS.

  • JencyJency Member
    edited April 27

    1

Sign In or Register to comment.