Guys just wanna see their files across network.....
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Guys just wanna see their files across network.....
Here is my dilemma, I am trying to see and access the drives and folders on linux boxes remotely across the network. I basically ssh into the machine and then CD down to the directory with the files that I want to access. Prior to all this I stop and restart the following services; portmap and nfs. (NOTE I issue these commands first as root, then
Log back in as a user:
This is all I do. Nfs squawks when I stop it but eventually it shuts down. I then restart the two and from that point, I am able to ssh into other linux boxes and drill down to see directories and files. However recently I have one box that seems reluctant to allow me to see it directories. I can ssh to it but when I try to ls and see the files in the say “jukebox” directory, nothing comes up. I don’t get any other than a prompt for that directory, no listing of files. However, if I reboot that linux box that I currently can’t see, re-run the stop and start command for portmaping and nfs, I can then see the box I was trying to reach BUT the problem then switches to the local box, in essence, the issue\problem is now on the local box.
A). How can I set this up so that I get either machine to see one other, I can see both their directories and files and,
B). How can I automate this process so I don’t have to keep doing this
In my /etc/exports file I have the dns names and ips of the machines I'm trying to reach
Last edited by Decepticon22; 01-19-2007 at 12:04 PM.
Service management actually varies by distribution, so it's difficult to give specific instructions for disabling NFS without knowing the distribution that you use. The easiest way to do that is to fill in the "Distribution" field of your profile, which is also displayed under your name.
When you use NFS etc. it's a good idea to make sure that your user account name and the UID number of your accounts are the same on each system, to avoid things getting confused. NIS and LDAP shared authentication take care of this for you, or you can just the functions of the account tools to specify UIDs when you create accounts.
Forgot to include some additional info here. The kernel version of the machine that I am having problems with is 2.6.9-42.0.3.EL smp #1 x86_64 x86_64 x86_64. When I bootup and login to the computer, directories from other various linux computers are mounted In a directory call (for example) “Resinfo”. From my computer, if I CD into Resinfo, I should be able to see a list of all the other computers with their mounted “Resinfo” folder\directory, so for example, if I have linux boxes apples, oranges, banana,
And berries, I can be sitting at berries, ssh into apples, CD to apples “Resinfo” directory\folder do an ls and see its files and mounted folders\directories of oranges and banana. In this case, when I ssh from berries to apples, CD to apple’s Resinfo” folder\directory and do a ls…….I get nothing, just the [user@apples]# prompt, no list of files or directories or folders.
Hope this helps to make things make a little clearer.
I am are trying to simply mount file systems over the net.
This is what I would like:
Set up hard mounts in the fstab, & have these correctly mounted when ever we boot the machines.
Now, unfortunately, something is screwed up in the mounting process, but I do not know what.
I seem to have to boot and reboot numerous times, back and forth, before the mounting properly takes place.
It's as if a system process is not turned on, and when it fails it locks out any mounting from other computers,
even though officially they are supposed to be able to mount those files.
These command lines here probably can go into a boot startup script,
That kernel scheme is for RHEL, and FWIW the Red Hat/Fedora tool for enabling and disabling services is "chkconfig".
In the example that you gave, it sounds like the issue is that the "apples" server isn't actually mounting the NFS share on the directory that has been configured as the mount point. So when you "ls" you just see the actual contents of that directory on "apples" (which contains no files), rather than the remote NFS share that should "overlay" it.
(Additional) P.S: try using autofs, which automatically mounts (and remounts) NFS shares on demand, rather than configuring your NFS imports to mount at boot time.