LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - General (http://www.linuxquestions.org/questions/forumdisplay.php?f=1)
-   -   Configuration Question: how to use local drives with Remote login (http://www.linuxquestions.org/questions/showthread.php?t=4175459734)

dwmolyneux 04-26-2013 10:36 PM

Configuration Question: how to use local drives with Remote login
 
I have several different computers on my local home network and all are running Linuxmint 13.
2 are desktops and the rest are servers. I'm always needing to login from one to another as if I was physically at the one I am needing to work on but have found that I have to always stop what I'm working on just to go place a disk in the drive or insert a usb device.

The question I have is how am I able to configure so that the one I am logged in from a workstation can use the local drives while I'm remote login via remote session?

I know the answer can be found on the web but have not been able to find what I am needing.

While at the login screen, I am selecting remote session login to where I login to the one I need as if I am sitting at that machine.

If anyone that knows can help point me in the right direction?
Thank you in advance

lleb 04-27-2013 01:34 AM

ssh is your friend, or are you talking about USING data on a remote system as if it is local on your box? In that case NFS is your friend. also keep in mind you will have a hard time dealing with CD/DVDroms and USB via NFS. for that you are better off using those local or just viewing them via ssh.

tallship 04-27-2013 02:39 AM

Quote:

Originally Posted by dwmolyneux (Post 4939694)
I'm always needing to login from one to another as if I was physically at the one I am needing to work on but have found that I have to always stop what I'm working on just to go place a disk in the drive or insert a usb device.

The question I have is how am I able to configure so that the one I am logged in from a workstation can use the local drives while I'm remote login via remote session?

Yeah. There's a simple solution - especially since you're running an all LMDE network at home. When you login, you should only have one (1) /home/username and you prolly also want to consolodate /usr/local and other places you put things you want to share too.

Use NIS. it's easy, quick, simple, and contrary to what you might be told by others, still one of the preferred solutions in the larger enterprises of Fortune 1000 corporations.

I hope that helps :)

chrism01 04-27-2013 10:51 AM

NIS is for centralised auth; the OP is asking about using remote/local disks, which, as above, would be nfs.
For CD/DVDs, you could copy the content onto a HDD if you have enough space and use a loopback mount eg https://code.google.com/p/iredmail/w...Yum_Repository

dwmolyneux 04-28-2013 08:03 AM

Quote:

Originally Posted by chrism01 (Post 4940040)
NIS is for centralised auth; the OP is asking about using remote/local disks, which, as above, would be nfs.
For CD/DVDs, you could copy the content onto a HDD if you have enough space and use a loopback mount eg https://code.google.com/p/iredmail/w...Yum_Repository

yes this is basically what I am after but I don't have the extra room on the drives to hold ISO images.

I'm doing allot of video, photo, and sound edits using a large number of disk. I also am needing to copy specific data from cd/dvd's to the drive long enough to do my edits and then clean up via deleting the unwanted portions to keep free space available.

I will also need to pull the sound as well but that will require another thread but as of right now I am wanting to deal with the drives first.

chrism01 04-28-2013 08:43 AM

I did say you could IF you have space.... ;)
Regardless, inn any case, the *nix way to share 'disks' across LAN is NFS.
http://www.linuxhomenetworking.com/w...ccess_with_NFS

lleb 04-28-2013 10:30 AM

also keep in mind that video editing across a LAN will be both iffy and slow even with a full 10/100/1000 LAN configuration on server class hardware you are going to be slow and run the risk of dropped frames.

same will go for audio, just not as crucial due to the speed the data needs to move not being near as fast as with the video.

You can setup your NFS mounts and share all of the HDD space across to your editing workstation with ease. As for the CD/DVD issue you might just have to move data around your LAN to clear up the 700m-24G on one of your systems, or just run it locally on your video editing workstation for best performance.

tallship 04-28-2013 06:43 PM

Quote:

Originally Posted by chrism01 (Post 4940040)
NIS is for centralised auth;

Yes it is.

Quote:

Originally Posted by chrism01 (Post 4940040)
the OP is asking about using remote/local disks

Yes he is. And NIS is likely the best way for him to do that.

Here's what I glean from the OP's scenario, minus the desire to manipulate sound and video - which is another layer of implementation:

He has a couple of workstations, NFS isn't optimum, alone, for doing what he wants. He would be best served by a single /home, a single /fill-in-the-blank-here, and any other machine he adds later.

NFS would be a messy proposition for him, if handled by itself, yet NIS would allow him to login, and have access to those drives, etc., from whichever workstation he is working from for any particular moment.

Sure, he can export and import manually on each workstation, but he can be better served by NIS, which of course, utilizes NFS to make those drives accessible locally.

So while your suggestion of NFS is *part* of the solution, NIS is actually what completes the picture, allowing him NOT to have to copy, or mount, remote /home dirs under local home dirs, manually adjusting/duplicating all of his configs, etc.

So, a single login from any workstation could be:

/home (one place for all of his settings)
/home/box5DVD (shared across all machines)
/home/box3DVD (shared across all machines)
/home/server1/bigdatarepo (shared across all machines)
/home/server2/bigdatarepo1 (shared across all machines)
/home/server2/bigdatarepo2 (shared across all machines)
/usr/local (shared across all machines)

His sound and video can be extended in this scenario to support whichever machine he's working on at the time too - something NFS alone does not do.

In any case, sound and video configs are complicated if both machines don't support the same sound/video capabilities, but that's an excercise to address after he has access to all of those data resources centrally, from wherever he logs in from.

I think that what you're proposing for him is kind of a mess to maintain, and incidentally, you prolly already know that both NIS and NFS were created by Sun to work together in just this very way - because managing NFS by itself is messy without it or LDAP.

I hope that helps :)

Kindest regards,

chrism01 04-29-2013 01:03 AM

NIS and NFS are separate services; you do not have to have both.
EG, these days a lot of people use LDAP instead of NIS, with or without NFS.
NIS does auth ( as you agreed); it does not share disks; that's NFS.

tallship 04-29-2013 11:16 PM

Quote:

Originally Posted by chrism01 (Post 4940871)
NIS and NFS are separate services; you do not have to have both.
EG, these days a lot of people use LDAP instead of NIS, with or without NFS.
NIS does auth ( as you agreed); it does not share disks; that's NFS.

Hey thanks for merely repeating what I said there, lol!


All times are GMT -5. The time now is 04:11 AM.