Web Analytics

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Automounter - Wikipedia, the free encyclopedia

Automounter

From Wikipedia, the free encyclopedia

An automounter is any program or software facility which automatically mounts filesystems in response to access operations by user programs. These are system utilities (daemons under Unix) which, when notified of file and directory access attempts under selectively monitored subdirectory trees, dynamically and transparently make remote or local devices accessible.

The purpose of the automounter is to conserve local system resources and reduce the coupling between systems which are sharing filesystems with a number of servers. For example, a large to mid-sized organization might have hundreds of file servers and thousands of workstations or other nodes accessing files from any number of those servers at any time. Usually only a relatively small number of remote filesystems (exports) will be active on any given node at any given time. By deferring the mounting of such filesystem until they are actually needed, the need to track such mounts is reduced, increasing reliability, flexibility and performance.

Frequently one or more fileservers will be inaccessible (down for maintenance, on a remote and temporarily disconnected network, or accessed via a congested link). It is also often necessary to relocate data from one file servers to another's to resolve capacity and load balancing issues. Having data mount points automated makes it easier to reconfigure client systems in such events. In addition, some storage devices such as floppies, CD-ROMs and USB keys, should be able to be mounted only when the device is attached to the system.

These factors combine to pose challenges to older "static" management methods of filesystem mount tables (the fstab files on Unix systems). Automounter utilities address these challenges and allow sysadmins to consolidate and centralize the associations of mountpoints (directory names) to the remote filesystems (exports). When done properly, users can transparently access files and directories as if there were a single enterprise-wide filesystem to which all of their workstations and other nodes were attached.

It is also possible to use automounters to define multiple repositories for read-only data; client systems can automatically choose which repository to mount based on availability, file server load, or proximity on the network.

Contents

[edit] Home directories

Many establishments will have a number of file servers which host the home directories for various users. All workstations and other nodes internal to the organization (typically all those behind a common firewall separating them from the Internet) will be configured with automounter services so that any user logging into any node implicitly triggers access to his or her own home directory which, consequently, is mounted at a common mountpoint, such as /home/user. This allows users to access their own files from anywhere in the enterprise, which is extremely useful in Unix environments where users will frequently be invoking commands on many remote systems via various job dispatching commands such as ssh, telnet, rsh or rlogin, and via the X11 and VNC protocols.

[edit] Shared data

Many computing tasks can be distributed across clusters or "farms" of computing nodes. Commonly each of these nodes must operate on some portions of input data and contribute their results to some common pool of outputs (which typically requires some post processing concatenation or other aggregation). These input data and the storage space for the results are normally located on file servers (often on separate file servers for different projects or data sets).

[edit] Software shares and repositories

In many computing environments the user workstations and computing nodes do not host installations of the full range of software that users might want to access. Systems may be "imaged" with a minimal or typical cross-section of the most commonly used software. Also some users in some environments might require specialized or occasional access to older versions of software (for instance developers may need to perform bug fixes and regression testing or some users may need access to archival data using out-dated tools).

Commonly, organizations will provide repositories or "depots" of such software so that it can be installed as needed. These also may include full copies of the system images from which machines have their operating systems initially installed, or available for repair of any system files that may get corrupted during a machine's lifecycle.

Some software may require quite a bit of storage space or might be undergoing rapid (perhaps internal) development. In those cases the software may be installed on and configured to be run directly from the fileservers.

[edit] Dynamically variant automounts

In the simplest case a fileserver houses data and perhaps scripts which can be accessed by any system in an environment. However, there are certain types of files (executable binaries and shared libraries, in particular) which can only be used by specific types of hardware or specific versions of specific operating systems.

For situations like this, automounter utilities generally support some means of "mapping" or "interpolating" variable data into the mount arguments.

For example an organization with a mixture of Linux and Solaris systems might arrange to host their package repositories for each on a common file server using export names like depot:/export/linux and depot:/export/solaris respectively. Thereunder they might have directories for each of the OS versions that they support. Using the dynamic variation features in their automounter they might then configure all their systems so that any administrator on any machine in their enterprise could access available software updates under /software/updates. A user on a Solaris system would find the Solaris compiled packages under /software while a Red Hat or CentOS user would find RPMs for their particular OS version thereunder. Moreover a Solaris user on a SPARC workstation would have their /software/updates mapped to an appropriate export for their system's architecture while a Solaris user on an x86 PC would transparently find their /software/updates directory containing packages suited to their system. Some software (written in scripting languages such as Perl or Python) can be installed and/or run on any supported platform without porting, recompilation or re-packaging of any sort. Those might be located in a /software/common export.

In some cases organizations may also use regional or location based variable/dynamic mappings --- so that users in one building or site are directed to closer file server which hosts replications of the resources that are hosted at other locations.

In all of these cases automounter utilities allow the users to access files and directories without regard for where they are actually located. Using an automounter the users and systems administrators can usually access files where they are "supposed to be" and find that they appear to be there.

[edit] Software

The original automount software was developed by Tom Lyon at Sun Microsystems, and was introduced in SunOS 4.0 in 1988.[1] This implementation was eventually licensed to other commercial UNIX distributions. Under Solaris 2.0, first released in 1992, the automounter was implemented as a pseudofilesystem called autofs.

In December 1989, amd, an automounter "based in spirit" on the SunOS automount program, was released by Jan-Simon Pendry.[2] This is now also known as the Berkeley Automounter.

Linux automount utilities also use the name autofs.

[edit] Disadvantages and caveats

While automounter utilities (and remote filesystem in general) can provide centrally managed, consistent and largely transparent access to an organization's storage services they also can have their downsides.

  • Access to automounted directories can trigger delays while the automounter resolves the mapping and mounts the export into place.
  • Timeouts can cause mounted directories to be unmounted (which can later results in the mount delays upon the next attempted access).
  • The mapping of mountpoint to export arguments is often (usually) done via some directory service such as LDAP or NIS, which constitutes another dependency (potential point of failure)
  • When some systems require frequent access to some resources while others only need occasional access, it can be difficult or impossible to use a consistent, enterprise-wide mixture of locally "mirrored" (replicated) and automounted directories.
  • When data is migrated from one file server (export) to another there can be an indeterminate number of systems which, for various reasons, still have an active mount on the old location ("stale NFS mounts"); these can cause issues which may even necessitate the reboot of otherwise perfectly stable hosts.
  • Organizations can find that they've created a "spaghetti" of mappings which can entail considerable management overhead and sometimes quite a bit of confusion among users and administrators.
  • Users can become so accustomed to the transparency of automounted resources that they neglect to consider some of the differences in access semantics that may apply to networked filesystems as compared to locally mounted devices. In particular, programmers may be attempting to use "locking" techniques which are safe and provide the desired atomicity guarantees on local filesystems, but which are documented as inherently vulnerable to race conditions when used on NFS.

[edit] References

  1. ^ Callaghan, Brent [1999] (2000). NFS Illustrated. Addison-Wesley, pp. 322-323. ISBN 0201325705. Retrieved on 2007-12-23. 
  2. ^ Jan-Simon Pendry (December 1, 1989). "''Amd'' - An Automounter". comp.unix.wizards. (Web link). Retrieved on 2007-12-23.

Static Wikipedia (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2007 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2006 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Static Wikipedia February 2008 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu