Sharing filesystem between linux hosts? Announcing the arrival of Valued Associate #679: Cesar...
Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?
How do I find out the mythology and history of my Fortress?
Lagrange four-squares theorem --- deterministic complexity
How could we fake a moon landing now?
Random body shuffle every night—can we still function?
Would it be easier to apply for a UK visa if there is a host family to sponsor for you in going there?
Maximum summed subsequences with non-adjacent items
How can I set the aperture on my DSLR when it's attached to a telescope instead of a lens?
1-probability to calculate two events in a row
Getting prompted for verification code but where do I put it in?
Girl Hackers - Logic Puzzle
The Nth Gryphon Number
How much damage would a cupful of neutron star matter do to the Earth?
Why weren't discrete x86 CPUs ever used in game hardware?
If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?
How to run automated tests after each commit?
Sum letters are not two different
Do wooden building fires get hotter than 600°C?
Is there hard evidence that the grant peer review system performs significantly better than random?
Antipodal Land Area Calculation
Crossing US/Canada Border for less than 24 hours
Do I really need to have a message in a novel to appeal to readers?
How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?
Can a sorcerer use careful spell on himself?
Sharing filesystem between linux hosts?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Linux Filesystem which must not be unmountedWhat unix command would I be able to write a Bash Shell script that would create files in a series of directories?Extending Filesystem in LinuxSharing virtualmachines between windows and linux hosts. What filesystem do I need?Split a filesystem between mutliple drivesHow do I configure Linux Iso-Image as bootable Thin-Client DVDWhat exactly is a Linux filesystem?Fastest Linux filesystem for /tmp?Linux: Checking communication between three hostsIs there a Linux filesystem like 'tee'?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I'm running a website that uses user-uploaded files heavily. Those files are served to users only after a permission check by a Django application.
Now I need to scale horizontally and spin up another instance of a web server. It needs to have access to the same directory structure that contains uploaded files. What I likely need is some distributed filesystem.
I've been thinking about:
NFS — done that 15 years ago and even then I felt that standard was quite outdated. Although robust and easy to set up, the lack of transfer encryption and the need of syncing UIDs/GIDs between servers creates more problems than it solves.- periodic rsync — sounds like a dirty hack and would probably lead to out-of-sync problems. And take N times the storage size for N servers.
sshfs — well, if it has the same performance as scp, I don't want to hear about it actually.
LustreFS , Gluster, or other DFS — never used those and have no idea which would suit my needs. Redundancy is not critical (we have frequent backups) but I'd like to have the traffic between servers encrypted.
What would you recommend?
linux filesystems file-sharing
New contributor
add a comment |
I'm running a website that uses user-uploaded files heavily. Those files are served to users only after a permission check by a Django application.
Now I need to scale horizontally and spin up another instance of a web server. It needs to have access to the same directory structure that contains uploaded files. What I likely need is some distributed filesystem.
I've been thinking about:
NFS — done that 15 years ago and even then I felt that standard was quite outdated. Although robust and easy to set up, the lack of transfer encryption and the need of syncing UIDs/GIDs between servers creates more problems than it solves.- periodic rsync — sounds like a dirty hack and would probably lead to out-of-sync problems. And take N times the storage size for N servers.
sshfs — well, if it has the same performance as scp, I don't want to hear about it actually.
LustreFS , Gluster, or other DFS — never used those and have no idea which would suit my needs. Redundancy is not critical (we have frequent backups) but I'd like to have the traffic between servers encrypted.
What would you recommend?
linux filesystems file-sharing
New contributor
Re: NFS encryption - have you considered using a VPN between the nodes? If you don't want to go as heavy as an IPSec VPN, WireGuard would be a good alternative that may meet your performance needs.
– AfroThundr
5 hours ago
Thanks, @AfroThundr I'm reading about tinc Do you know how they compare?
– Michał Sałaban
5 hours ago
I've never used Tinc personally, but from several other discussions on HackerNews, it would seem that Tinc also incorporates a mesh networking and self-healing capability, but lags behind WireGuard in straight performance. They're both still fairly lightweight though, compared to Strongswan or OpenVPN.
– AfroThundr
5 hours ago
add a comment |
I'm running a website that uses user-uploaded files heavily. Those files are served to users only after a permission check by a Django application.
Now I need to scale horizontally and spin up another instance of a web server. It needs to have access to the same directory structure that contains uploaded files. What I likely need is some distributed filesystem.
I've been thinking about:
NFS — done that 15 years ago and even then I felt that standard was quite outdated. Although robust and easy to set up, the lack of transfer encryption and the need of syncing UIDs/GIDs between servers creates more problems than it solves.- periodic rsync — sounds like a dirty hack and would probably lead to out-of-sync problems. And take N times the storage size for N servers.
sshfs — well, if it has the same performance as scp, I don't want to hear about it actually.
LustreFS , Gluster, or other DFS — never used those and have no idea which would suit my needs. Redundancy is not critical (we have frequent backups) but I'd like to have the traffic between servers encrypted.
What would you recommend?
linux filesystems file-sharing
New contributor
I'm running a website that uses user-uploaded files heavily. Those files are served to users only after a permission check by a Django application.
Now I need to scale horizontally and spin up another instance of a web server. It needs to have access to the same directory structure that contains uploaded files. What I likely need is some distributed filesystem.
I've been thinking about:
NFS — done that 15 years ago and even then I felt that standard was quite outdated. Although robust and easy to set up, the lack of transfer encryption and the need of syncing UIDs/GIDs between servers creates more problems than it solves.- periodic rsync — sounds like a dirty hack and would probably lead to out-of-sync problems. And take N times the storage size for N servers.
sshfs — well, if it has the same performance as scp, I don't want to hear about it actually.
LustreFS , Gluster, or other DFS — never used those and have no idea which would suit my needs. Redundancy is not critical (we have frequent backups) but I'd like to have the traffic between servers encrypted.
What would you recommend?
linux filesystems file-sharing
linux filesystems file-sharing
New contributor
New contributor
edited 6 hours ago
Michał Sałaban
New contributor
asked 7 hours ago
Michał SałabanMichał Sałaban
1112
1112
New contributor
New contributor
Re: NFS encryption - have you considered using a VPN between the nodes? If you don't want to go as heavy as an IPSec VPN, WireGuard would be a good alternative that may meet your performance needs.
– AfroThundr
5 hours ago
Thanks, @AfroThundr I'm reading about tinc Do you know how they compare?
– Michał Sałaban
5 hours ago
I've never used Tinc personally, but from several other discussions on HackerNews, it would seem that Tinc also incorporates a mesh networking and self-healing capability, but lags behind WireGuard in straight performance. They're both still fairly lightweight though, compared to Strongswan or OpenVPN.
– AfroThundr
5 hours ago
add a comment |
Re: NFS encryption - have you considered using a VPN between the nodes? If you don't want to go as heavy as an IPSec VPN, WireGuard would be a good alternative that may meet your performance needs.
– AfroThundr
5 hours ago
Thanks, @AfroThundr I'm reading about tinc Do you know how they compare?
– Michał Sałaban
5 hours ago
I've never used Tinc personally, but from several other discussions on HackerNews, it would seem that Tinc also incorporates a mesh networking and self-healing capability, but lags behind WireGuard in straight performance. They're both still fairly lightweight though, compared to Strongswan or OpenVPN.
– AfroThundr
5 hours ago
Re: NFS encryption - have you considered using a VPN between the nodes? If you don't want to go as heavy as an IPSec VPN, WireGuard would be a good alternative that may meet your performance needs.
– AfroThundr
5 hours ago
Re: NFS encryption - have you considered using a VPN between the nodes? If you don't want to go as heavy as an IPSec VPN, WireGuard would be a good alternative that may meet your performance needs.
– AfroThundr
5 hours ago
Thanks, @AfroThundr I'm reading about tinc Do you know how they compare?
– Michał Sałaban
5 hours ago
Thanks, @AfroThundr I'm reading about tinc Do you know how they compare?
– Michał Sałaban
5 hours ago
I've never used Tinc personally, but from several other discussions on HackerNews, it would seem that Tinc also incorporates a mesh networking and self-healing capability, but lags behind WireGuard in straight performance. They're both still fairly lightweight though, compared to Strongswan or OpenVPN.
– AfroThundr
5 hours ago
I've never used Tinc personally, but from several other discussions on HackerNews, it would seem that Tinc also incorporates a mesh networking and self-healing capability, but lags behind WireGuard in straight performance. They're both still fairly lightweight though, compared to Strongswan or OpenVPN.
– AfroThundr
5 hours ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Michał Sałaban is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1427484%2fsharing-filesystem-between-linux-hosts%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Michał Sałaban is a new contributor. Be nice, and check out our Code of Conduct.
Michał Sałaban is a new contributor. Be nice, and check out our Code of Conduct.
Michał Sałaban is a new contributor. Be nice, and check out our Code of Conduct.
Michał Sałaban is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1427484%2fsharing-filesystem-between-linux-hosts%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Re: NFS encryption - have you considered using a VPN between the nodes? If you don't want to go as heavy as an IPSec VPN, WireGuard would be a good alternative that may meet your performance needs.
– AfroThundr
5 hours ago
Thanks, @AfroThundr I'm reading about tinc Do you know how they compare?
– Michał Sałaban
5 hours ago
I've never used Tinc personally, but from several other discussions on HackerNews, it would seem that Tinc also incorporates a mesh networking and self-healing capability, but lags behind WireGuard in straight performance. They're both still fairly lightweight though, compared to Strongswan or OpenVPN.
– AfroThundr
5 hours ago