Find the answer to your Linux question:
Results 1 to 2 of 2
hi guys, i'm implementing a linux server for one of my courses in university and its due on sunday...the problem is i'm having problem with some of my services on ...
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    4

    configuration problem

    hi guys, i'm implementing a linux server for one of my courses in university and its due on sunday...the problem is i'm having problem with some of my services on my linux

    the first one is my NFS...i need to hard and soft mout the direcotry..i dont know how to do it...i have to say im using mount not fstab to mount the directory...my ect/exports configuration is :

    usr/share/eog 172.168.0.7(ro,sync)
    tmp/ 172.168.0.7(rw,sync)

    i dont know what to write for hard/soft mount...

    the other problem i have is with the my samba server
    i have configured samba server through swat, and system-config-samba..everything is ok and i can share a directory on linux and windows but the problem that i have is i have to create a user and password for him and then log into the smb server with this user on the windows server...the thing is after i create this user it is impossible to log in to the smb anymore...

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by n_b18 View Post
    the first one is my NFS...i need to hard and soft mout the direcotry..i dont know how to do it...i have to say im using mount not fstab to mount the directory...my ect/exports configuration is :
    Hard mount and soft mount apply only when mounting NFS shares. The difference between the two is "what to do when the NFS server doesn't respond".

    If a given volume which is soft mounted, any operation will automatically abort if the volume can't be read. In the contrary, if it's hard mounted, the operation will hang until the volume is reachable again.

    The first is good for situations where the NFS can be turned off without previous notice. The second is good for data reliability, because the operations will be resumed when the volume is up again, instead of being aborted. The problem os this second method is that the operation can hang forever if the volume never comes back. For example: if something in a shutdown script access to an NFS volume, and this volume doesn't repond, then the shutdown process will hang down, and the only solution will be a hard reboot (not a good thing on linux).

    usr/share/eog 172.168.0.7(ro,sync)
    tmp/ 172.168.0.7(rw,sync)
    This is server side. It seems right.

    i dont know what to write for hard/soft mount...
    "man nfs" is your friend. There you can see all the mount options for nfs volumes. If you need more help, ask again.

    the other problem i have is with the my samba server
    i have configured samba server through swat, and system-config-samba..everything is ok and i can share a directory on linux and windows but the problem that i have is i have to create a user and password for him and then log into the smb server with this user on the windows server...the thing is after i create this user it is impossible to log in to the smb anymore...
    I can't help with this part. I avoid samba like the plague when I can and don't have a deep understanding of it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...