mounting partition from other hosting provider

Hi All,

I'm wondering if it would be possible to mount a partition on my linode from another hosting provider that gives me ssh access.

I'm thinking some of those providers who offer 200-300GB for 10$/month.

I would like to use this partition for images hosted on websites running on my linode and for backup of data on my linode.

If anyone is doing it, I would be interested in details.

Thanks!

Laurent

9 Replies

There are various ways to do this. One way is SSHFS. You can find more information about this here:

http://fuse.sourceforge.net/sshfs.html

@nepveul:

I would like to use this partition for images hosted on websites running on my linode and for backup of data on my linode.

I don't know how advisable it would be to host images off an sshfs mount, I would think you would want that data to be available to your http server as fast as possible.

nepveul - Many of these "extreme value" hosting providers will, very quickly, pick up on the fact that you're use their space in a non-standard way and will shut you down. Just a word of warning.

If you need to store large amounts of data, I'd recommend you look at Amazon's S3 service. For 300GB, it'll be about 3x more expensive than your current "other" hosting provider, but I guarantee you that it'll be a lot more reliable, and you don't have to worry about being shut down.

Thanks Anderiv….i'm gonna look at S3….could this be mounted and used in a seamless way on the linode?

thanks!

Laurent

@nepveul:

Thanks Anderiv….i'm gonna look at S3….could this be mounted and used in a seamless way on the linode?

I believe there may be a way to mount S3 using fuse, but that's really not the way it was intended to be used. When you upload a file to S3, it returns a unique "key" for that object. Going forward, you can retrieve that object via http using that key. Upon upload, you'd store metadata from each image in a database of some sort (object key, image dimensions, file size, etc.) Then upon viewing, you'd use that information to retrieve the data from S3.

If possible, I'd highly recommend you stay away from relying on remotely-mounted partitions for data storage. It's okay to do something like that on a periodic basis for scheduled backups or the like. Relying on that for normal operations is asking for trouble if you want my opinion.

Yeah I was digging into this myself and came to the same conclusion, it's not worth it.

I've got another hosting provider that I'm gonna use to host up the media for my site. I'm just creating a subdomain there just for that purpose.

S3 can be used to serve static content (a trick I learned from The B-List).

http://developer.amazonwebservices.com/ … f=featured">http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1073&ref=featured

@mwalling:

S3 can be used to serve static content (a trick I learned from The B-List).

http://developer.amazonwebservices.com/ … f=featured">http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1073&ref=featured

MMMM beautiful!!!!

Google gave me this link http://www.saho.net/2008/08/connect-to- … using-ssh/">http://www.saho.net/2008/08/connect-to-a-file-system-using-ssh/.

I was looking for the same thing. I have disk space (a lot) on another provider. This worked for me -- and it's fast.

Chad

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct