NFS and SMB Share from the same VM
-
OK so here's what I'm looking to do, I want to stand up a new backup target for my XO installation, as the one that I have will occasionally hang, requiring a hard reset obviously this isn't ideal.
Likely something with the crap system that is hosting the unit, but whatever. Onward to better systems.
The goal is to be able to have XO mount this share using NFS, as well as to be able to connect to the share using my Windows 7 Desktop, which then I can create a nightly task to clone whatever is in the share to a USB drive attached to my desktop.
I'm taking recommendations for the Guest OS to use, as well as configuration tips on setting this up. At the moment I'm standing up a Ubuntu server installation because it's what I'm familiar with.
Any input is welcome.
-
I'll be following this as well.
-
You can normally share the same folder via NFS and SMB.
-
I was thinking, can't Linux do exactly this? I'm guessing most NAS devices can as well, well at least those that support NFS, they likely support SMB as well.
-
Linux can the follow up to this is how can I schedule WinSCP to sync the remote directory.
-
@DustinB3403 said in NFS and SMB Share from the same VM:
Linux can the follow up to this is how can I schedule WinSCP to sync the remote directory.
Why don't you just reverse that and push the changes out from the linux box to your windows 7 box?
-
@DustinB3403 said in NFS and SMB Share from the same VM:
Linux can the follow up to this is how can I schedule WinSCP to sync the remote directory.
Make sure you have certificate authentication working between the Windows 7 box and the server. Then just drop the command into the Control Panel -> Administrator Tools -> Scheduled Tasks tool.
-
@JaredBusch said in NFS and SMB Share from the same VM:
@DustinB3403 said in NFS and SMB Share from the same VM:
Linux can the follow up to this is how can I schedule WinSCP to sync the remote directory.
Why don't you just reverse that and push the changes out from the linux box to your windows 7 box?
How would I do that? (I haven't considered it, nor done this before)
-
@DustinB3403 said in NFS and SMB Share from the same VM:
@JaredBusch said in NFS and SMB Share from the same VM:
@DustinB3403 said in NFS and SMB Share from the same VM:
Linux can the follow up to this is how can I schedule WinSCP to sync the remote directory.
Why don't you just reverse that and push the changes out from the linux box to your windows 7 box?
How would I do that? (I haven't considered it, nor done this before)
Mount the Windows share on Linux via SMB, then do a copy the same as if it were a local mount.
-
@scottalanmiller said in NFS and SMB Share from the same VM:
@DustinB3403 said in NFS and SMB Share from the same VM:
@JaredBusch said in NFS and SMB Share from the same VM:
@DustinB3403 said in NFS and SMB Share from the same VM:
Linux can the follow up to this is how can I schedule WinSCP to sync the remote directory.
Why don't you just reverse that and push the changes out from the linux box to your windows 7 box?
How would I do that? (I haven't considered it, nor done this before)
Mount the Windows share on Linux via SMB, then do a copy the same as if it were a local mount.
Right, then you need no extra programs or tools running on Windows.
-
@DustinB3403 said in NFS and SMB Share from the same VM:
@JaredBusch said in NFS and SMB Share from the same VM:
@DustinB3403 said in NFS and SMB Share from the same VM:
Linux can the follow up to this is how can I schedule WinSCP to sync the remote directory.
Why don't you just reverse that and push the changes out from the linux box to your windows 7 box?
How would I do that? (I haven't considered it, nor done this before)
Well, normally I'd assume the simple tools being used work, but PuTTY doesn't want to generate or properly do key based ssh authorization for some reason. Gotta be a simple setting some where we were both missing.
-
@travisdh1 said in NFS and SMB Share from the same VM:
@DustinB3403 said in NFS and SMB Share from the same VM:
@JaredBusch said in NFS and SMB Share from the same VM:
@DustinB3403 said in NFS and SMB Share from the same VM:
Linux can the follow up to this is how can I schedule WinSCP to sync the remote directory.
Why don't you just reverse that and push the changes out from the linux box to your windows 7 box?
How would I do that? (I haven't considered it, nor done this before)
Well, normally I'd assume the simple tools being used work, but PuTTY doesn't want to generate or properly do key based ssh authorization for some reason. Gotta be a simple setting some where we were both missing.
I'd call PuTTY the complex tool here. Takes a lot more work to manage than just using SMB.
-
@scottalanmiller said in NFS and SMB Share from the same VM:
@travisdh1 said in NFS and SMB Share from the same VM:
@DustinB3403 said in NFS and SMB Share from the same VM:
@JaredBusch said in NFS and SMB Share from the same VM:
@DustinB3403 said in NFS and SMB Share from the same VM:
Linux can the follow up to this is how can I schedule WinSCP to sync the remote directory.
Why don't you just reverse that and push the changes out from the linux box to your windows 7 box?
How would I do that? (I haven't considered it, nor done this before)
Well, normally I'd assume the simple tools being used work, but PuTTY doesn't want to generate or properly do key based ssh authorization for some reason. Gotta be a simple setting some where we were both missing.
I'd call PuTTY the complex tool here. Takes a lot more work to manage than just using SMB.
I don't normally us it, but have it available. Hasn't played nice while trying to work with key-based auth, so it probably won't get installed anymore.