Zum Hauptinhalt springen
Support
0
Kontaktieren Sie uns
English
Nederlands
Español
Dedicated ServersFlexible VPSCloud-TechnologieColocationHerausforderungen in der ITSektorenCareers
Cloud Compute

Mit Cloud Compute haben Sie jederzeit und überall Zugriff auf ein Portal, über das Sie Ihre gesamte IT-Umgebung konfigurieren können – egal wo auf der Welt Sie sich befinden.

Cloud-Speicher

Zuverlässiger Zugriff auf Ihre Dateien, Infrastruktur und Anwendungen zu jeder Zeit – ganz ohne Unterbrechungen oder Verzögerungen. Bei Worldstream bieten wir eine Vielzahl von Speicherlösungen an.

Flexible cloud icon
Flexible Cloud
Private cloud icon
Private Cloud
Bare metal icon
Bare Metal Compute
Hollow cube icon
Objektspeicher
Hollow cube icon
Dateiablage
Block storage icon
Blockspeicher
Backup storage icon
Sicherungsspeicher
Brauchen Sie Unterstützung?

Mit erfahrenen Technikern und einer durchschnittlichen Reaktionszeit von 7 Minuten erhalten Sie innerhalb kürzester Zeit eine solide technische Supportlösung.

Dedicated Server

Wählen Sie jetzt Ihren Dedicated Server. Individuelle oder Instant Delivery. Leistungsstarke Server, die perfekt zu Ihrem Anwendungsfall passen.

Use Cases

Ganz gleich, welcher Use Case – wir helfen Ihnen, die ideale Lösung zu finden.

Deal servers icon
Deals
AMD servers icon
AMD-Prozessoren
AI servers icon
Intel-Prozessoren
Hollow cube icon
Virtualisierung, Containerisierung & Orchestrierung
Hollow cube icon
Websites & Applications
Hollow cube icon
Gaming & Streaming Infrastruktur
Brauchen Sie Unterstützung?

Mit erfahrenen Technikern und einer durchschnittlichen Reaktionszeit von 7 Minuten erhalten Sie innerhalb kürzester Zeit eine solide technische Supportlösung.

Smartes Outsourcing

Bestimmte IT-Lösungen generieren Mehrwert, andere erfüllen eher eine unterstützende Funktion. Denken Sie beim Outsourcing daran.

Kosteneffizienz

IT-Komplettpakete mögen erstmal wie eine sichere Option erscheinen, doch wenn man sich die Kosten genau anschaut, sind andere Lösungen oft sinnvoller.

IT-Flexibilität und Kontrolle

Outsourcing heißt nicht, dass man die Kontrolle verliert; man bekommt sogar mehr Flexibilität und Kontrolle.

Cloud-Repatriierung

Die Cloud ist kein Endziel: Sie sollten Ihre Cloud-Umgebung kontinuierlich prüfen und an die sich ändernden Anforderungen anpassen.

Finanzdienstleistungen
Logistik und Transport
Einzelhandel und E-commerce
Medien und Unterhaltung
Technik und Softwareentwicklung
Sicherheit
Managed Service Provider
Brauchen Sie Unterstützung?

Mit erfahrenen Technikern und einer durchschnittlichen Reaktionszeit von 7 Minuten erhalten Sie innerhalb kürzester Zeit eine solide technische Supportlösung.

Chatten Sie mit unsKontaktieren Sie uns
Über WorldstreamÜber die TechnologieKundenfälleWissensdatenbank
Über unsLernen Sie unser Team kennenJobsWerden Sie WiederverkäuferZertifizierungenUnsere RechenzentrenUnser NetzwerkDDoS-SchutzAMD EPYC-ServerTechnologiepartnerBetriebssystemeAlle KundenfälleEasyTerraDutch Drone CompanyPerfGridArtikelFAQNachrichten und BlogbeiträgeProdukte und Services
Kontaktieren Sie uns

Rufen Sie an unter +31 (0) 174 – 712 117 Industriestraat 53, Naaldwijk

English
Nederlands
Español
0
Dedicated ServersFlexible VPSCloud-TechnologieColocationHerausforderungen in der ITSektorenCareersÜber WorldstreamÜber die TechnologieKundenfälleWissensdatenbankMy Worldstream
Contact
Support
EnglishNederlandsEspañol
  1. HomeHome
  2. Knowledge Base
  3. Dedicated Servers
  4. LVM basics: managing and recovering logical volumes

LVM basics: managing and recovering logical volumes

Gilt für Dedicated Servers, Bare Metal Compute (Linux)Zielgruppe Server administratorsZuletzt geprüft September 2026

Kort antwoord

LVM (Logical Volume Manager) sits between your raw disks and your filesystems. Physical disks become physical volumes, physical volumes are pooled into a volume group, and the volume group is carved into logical volumes that you actually format and mount. Inspect the stack with pvs, vgs and lvs. If a volume group doesn't show up after booting into a rescue environment, it usually just needs activating: run vgscan followed by vgchange -ay.

Auf dieser Seite
  • The LVM stack, layer by layer
  • Why bother with LVM
  • Inspecting the stack
  • Recovering a volume group that isn't showing up

The LVM stack, layer by layer

LVM adds a layer of abstraction between physical storage and the filesystems you actually use. Instead of formatting a partition directly, you build the stack in three steps:

  • Physical volume (PV). A disk or partition initialised for use by LVM. This is the raw material.
  • Volume group (VG). A pool made up of one or more physical volumes. Capacity from every physical volume in the group is combined into one pool of space.
  • Logical volume (LV). A chunk of space carved out of a volume group. A logical volume is what you format with a filesystem and mount, in the same way you'd otherwise mount a plain partition.

The chain runs one way: physical volumes make up a volume group, and a volume group is divided into logical volumes. Nothing above the volume group cares which physical disk a given block actually lives on, that indirection is the whole point.

Why bother with LVM

A plain partition is fixed the moment it's created: its size, and which physical disk it lives on, are both set in stone unless you repartition. LVM removes both constraints:

  • Resize without repartitioning. As long as a volume group has free space, a logical volume can be grown (and, depending on the filesystem, shrunk) without touching partition tables at all.
  • Span multiple physical disks. A volume group can pool space from several physical volumes, so a logical volume can be larger than any single underlying disk.
  • Snapshot a volume. LVM can take a point-in-time snapshot of a logical volume, useful for taking a consistent backup of a volume that's still being written to, or for having a rollback point before a risky change.

The trade-off is an extra layer to reason about when something goes wrong, which is exactly the recovery scenario covered below.

Inspecting the stack

Each layer has a short summary command and a detailed one. Start with the summary commands to get your bearings:

LayerSummary commandDetail command
Physical volumespvspvdisplay
Volume groupsvgsvgdisplay
Logical volumeslvslvdisplay

The summary commands (pvs, vgs, lvs) list one line per item, which is usually enough to see what exists and how much space is used or free. The *display commands print a full attribute block per item, useful when you need specifics like a volume group's exact extent size or a logical volume's full device path.

Recovering a volume group that isn't showing up

A common situation after booting into a rescue environment (see What is rescue mode, and when do you need it): the server's normal disks are visible at the block-device level, but vgs or lvs comes back empty, or the volume group you expect just isn't listed. This is expected, not necessarily a sign of corruption. Rescue mode boots a separate, minimal environment that doesn't automatically know about or activate a volume group living on another disk, in the same way it doesn't automatically assemble a software RAID array or unlock encrypted storage.

1

Scan for volume groups

vgscan reads the physical volumes it can see and rebuilds LVM's knowledge of what volume groups exist on them:

vgscan
2

Activate the volume group

Scanning makes the volume group visible but not necessarily active. Activate every volume group vgscan found:

vgchange -ay

To activate a single named volume group instead of all of them, pass its name:

vgchange -ay vg_data
3

Confirm and mount

Run lvs again to confirm the logical volumes are now visible, then mount the one you need as you would any other block device. See Mounting a disk in Linux for that step.

lvs
mount /dev/vg_data/lv_data /mnt/recovery

If the volume group still doesn't appear after vgscan, check that the underlying physical volumes are actually visible with pvs first. A volume group can only be found if every physical volume it depends on is reachable, a disk that failed to come up, or a RAID array that hasn't been assembled yet, will keep the volume group hidden regardless of how many times you scan.

Related articles

  • What is rescue mode, and when do you need it
  • Mounting a disk in Linux
  • RAID levels explained: RAID 1 vs. RAID 5 vs. RAID 10
  • Checking and repairing a Linux filesystem with fsck
War dieser Artikel hilfreich?

Solide IT. Keine Überraschungen

Sparringspartner für IT-Reife
Wir räumen die Hindernisse aus dem Weg, damit Sie freie Bahn haben
Vorhersehbare und transparente Kosten

Kontakt

  • Industriestraat 53, Naaldwijk
  • Zahlungsmöglichkeiten
  • Missbrauch
  • Ressourcen für Entwickler
  • Network Operations Center
  • Über uns
  • Lernen Sie unser Team kennen
  • Jobs
  • Werden Sie Wiederverkäufer
  • Zertifizierungen
  • Unsere Rechenzentren
  • Unser Netzwerk
  • DDoS-Schutz
  • AMD EPYC-Server
  • Technologiepartner
  • Betriebssysteme
  • Übersicht
  • FAQ
  • Kundenfälle
  • Nachrichten und Blogbeiträge
  • Use Cases
English
Nederlands
Español
English
Nederlands
Español
  • Rechtliches
  • Transparenzhinweis