Red HatThis forum is for the discussion of Red Hat Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
after the command issue then it shows me message as 4588: Session request to <ip address> failed (called name not present)
then cursor keep on blinking and no command prompt return but I terminate it by using Ctrl + C then command prompt return. I check the mount table, it is mounted.
I wonder know what is the problem here? Anyone here got the same problem with me? Because I put the command to startup script , it cause booting hang up on the mounting
samba. What can I optimize it? Please advice....
Can you actually access the files once it mounts ?
WRT the startup script, it's worth considering using autofs for this instead - you have to plan for the possibility that the Windows system will be off-line.
Originally posted by hob Can you actually access the files once it mounts ?
WRT the startup script, it's worth considering using autofs for this instead - you have to plan for the possibility that the Windows system will be off-line.
Hi Hob, the Windows system is always on (checked) and I can access the directory once it mounted. I tried to touch a files and even transfer 2 Gb files to it, there is no problem. By the way, what is autofs? How do I use it? Please advice..
It sounds like a name resolution problem, so it's probably worth checking DNS and WINS.
Autofs automatically mounts a device or remote share when the local mount point is accessed in anyway.
You create a file in /etc/ called auto.share (or similar) and put something like this in it:
# A shared directory on a Windows server holding some home directories.
# This will be accessible as /nethome/winhome/
winhome -fstype=smbfs ://server1/fileshare
(you'll probably want some more options in as well).
Then edit /etc/auto.master and add:
/nethome /etc/auto.share
Then restart the autofs service.
You'll see a new directory called /nethome has appeared. Whenever somebody accesses /nethome autofs will check auto.share. The line in auto.share says to mount the fileshare whenever somebody tried to access /nethome/winhome. Auto.share could actually be a script rather than a fixed set of options - check /etc/auto.net for an example.
Autofs automatically unmounts shares that haven't been used for more than five minutes. So you won't risk hanging the boot process, and will only have live connections to the Windows server when they are needed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.