请输入您要查询的百科知识:

 

词条 GEOM
释义

  1. Stacked design

  2. Available modules

  3. External links

  4. References

GEOM is the main storage framework for the FreeBSD operating system. It is available in FreeBSD 5.0 and higher and provides a standardized way to access storage layers. GEOM is modular and allows for geom modules to connect to the framework. For example, the geom_mirror module will provide RAID1 or mirroring functionality to the system. A wide range of modules are already available, and new ones are always in active development by various FreeBSD developers.

GEOM was developed for the FreeBSD Project by Poul-Henning Kamp and NAI Labs, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS research program. The name symbolizes its impact on disk geometry.

Stacked design

Because of geom's modular design, modules can be 'stacked' together to form a chain of geom layers. For example, on top of the geom_mirror module an encryption module can be added, such as geom_eli to provide a mirrored and encrypted volume. Each module has both consumers and providers. A provider is the 'source' of the geom module, often a physical hard drive but sometimes a virtualized disk such as a memory disk. The geom module in turn provides an 'output' device. Other geom modules, called consumers, can use this provider to create a chain of modules connected to each other.

Source → geom module → Output

is referred to as:

Provider → geom module → Consumer(s)

For example, the geom_mirror module may use (as a consumer) the following providers: /dev/ada0, /dev/ada1, while it creates (as a provider) a new device called /dev/mirror/gm0. At the end of the geom chain, often a filesystem is applied to actually use the geom provider for something useful. The provider created by geom modules behaves just like a physical hard drive and as such can contain filesystems such as FreeBSD's native Unix File System (UFS).

Available modules

Storage modules[1]
  • geom_stripe (RAID0)
  • geom_mirror (RAID1)
  • geom_raid (Supports RAID functionality on "software raid" controllers)
  • geom_raid3 (RAID3)
  • geom_raid5 (RAID5, not present in -CURRENT yet)
  • geom_concat (concatenating, also called spanning or JBOD)
  • geom_vinum (legacy volume manager with RAID0/1/4/5 support)
  • geom_ccd (legacy volume manager with RAID0 and rudimentary RAID1 support)
Encryption and compression modules
  • geom_eli (also called GELI, provides traditional encryption using AES, Blowfish, Triple DES or Camellia algorithms. It can support data authentication using MD5, SHA1, SHA256, SHA384, SHA512 or RIPEMD160)
  • geom_bde (also called GBDE, leading edge encryption with four cryptographic barriers)
  • geom_shsec (shared secret encryption module)
  • geom_uzip (read-only ZIP compressed images)
Filesystem modules
  • geom_label (allows providers to have their own name labeled for easy partitioning)
  • geom_journal (adds journaling support to the Unix File System (UFS))
  • geom_cache (adds caching support for increased performance using RAM as buffercache)
  • geom_mbr
Virtualization
  • geom_md (creates virtual disks using file, swap or memory back-end)
  • geom_nop (creates a transparent module used for debugging and testing)
  • geom_gate (creates a virtual disk using network disk back-end)
  • geom_virstor (allows overloading a geom provider by creating a provider larger than its consumer)
  • geom_linux_lvm (reads Linux LVM2 volumes)

External links

  • {{cite web

| url=https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom.html
| title=GEOM: Modular Disk Transformation Framework
| first=Tom
| last=Rhodes
| work=FreeBSD Handbook}}
  • {{cite web

| url=http://phk.freebsd.dk/pubs/bsdcan-04.slides.geomtut.pdf
| title=GEOM tutorial
| first=Poul-Henning
| last=Kamp
| work=BSDCan 2004}}

References

1. ^{{cite web| url=https://www.freebsd.org/cgi/man.cgi?query=geom| title=GEOM(8)| author=Pawel Jakub Dawidek| work=FreeBSD System Manager's Manual| accessdate=2015-06-14}}
{{FreeBSD}}

1 : FreeBSD

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/22 22:28:42