Wed, 22 Sep 2004

Mount an SMB/CIFS Share via Linux Automount
posted by Chip Witt

I have to admit, I love thinking that others read my weblog posts, and actually find them semi-useful...but realistically, I write them to leave my increasingly feeble mind breadcrumbs for repeating tasks which are performed infrequently, and that are either complex, or poorly documented elsewhere. This post is a great example.

It is no secret that I am a Linux user. I have tasks for which I still use other platforms, but I tend to try to centralize on the platform I actually enjoy using for most major undertakings. One of my recent undertakings was creating a Mon server to monitor an enterprise. Along with service checks for network continuity, ssh, FTP, DNS, etc., I needed to be able to perform free space checks on various file systems on both Unix and Windows platforms. While manually creating static mounts for connecting to various file servers proved trivial, it required interactive work anytime the Mon server was rebooted. With many connections, this was no fun. Another option would have been to use the /etc/fstab file, and create mount entries for all of the remote file systems, but mucking with the core system mount structure bothered me philosophically, and was far less dynamic for quick directory additions. Making use of autofs for automounting of directories is much easier on the admin in all respects. Unix (NFS) file system automounting is easy. So, it turns out, is the process of automounting a Windows file system...once you remember how to do it.

See more ...

[/tech_tips] permanent link

 

 

 

 

 

 

 

 

 

"Each blog is like a fireplace, and each post is like a log heaved on top to keep the fire burning. Every post has its own ¨permalink¨, so others can point directly to it. As long as a blog puts out heat and light, others who care about the author's subject are drawn to it. So are Google and other search engines, which sift constantly through the ashes".

Doc Searls
and David Sifry,
Linux Journal


Last Modified: 06 Apr 2006 21:31 by wittzend.com © 2006 Witt'z End Technologies.
All rights reserved.
Powered by Vim