Skip to main content
Support
0
Contact us
Nederlands
Deutsch
Español
Dedicated serversFlexible VPSCloud TechnologyColocationChallenges in ITSectorsCareers
Cloud Compute

With Cloud Compute, you have access anytime and anywhere to a portal through which you can configure your entire IT environment from wherever you are in the world.

Cloud Storage

Reliable access to your files, infrastructure, and applications at all times – with no interruptions or delays. At Worldstream, we offer a variety of storage solutions.

Flexible cloud icon
Flexible cloud
Private cloud icon
Private cloud
Bare metal icon
Bare Metal Compute
Hollow cube icon
Object storage
Hollow cube icon
File storage
Block storage icon
Block storage
Backup storage icon
Backup storage
Need support?

With experienced engineers and an average response time track record on 7 minutes, you can expect a solid technical support solution in next to no time.

All Servers

Choose your Dedicated Server now. Custom or Instant Delivery. Powerhouse servers built for your use case.

Use Cases

Whatever your use case, we’re here to help you find the ideal solution.

Deal servers icon
Deals
AMD servers icon
AMD Processors
AI servers icon
Intel Processors
Hollow cube icon
Virtualisation, Containerisation and Orchestration
Hollow cube icon
Websites and Applications
Hollow cube icon
Gaming and Streaming Infrastructure

24/7/365 support with an average response time of just 7 minutes. Thanks to our own data centers, our engineers can go directly to your server for fast, hands-on assistance. Email or call us anytime.

Smart outsourcing

Some IT creates added value, while other types are supportive. Use that as a starting point for outsourcing.

Cost Efficiency

Complete IT packages may seem like the safe option, but when you consider the costs, other choices often make more sense.

IT flexibility & control

Outsourcing doesn’t mean losing control; it actually provides more flexibility and control.

Cloud repatriation

The cloud is not a final destination: You should continuously evaluate and adjust your cloud environment as needs evolve.

Financial services
Logistics & Transportation
Retail & E-commerce
Media & Entertainment
Tech & Software Development
Security
Managed Service Providers
Need support?

With experienced engineers and an average response time track record on 7 minutes, you can expect a solid technical support solution in next to no time.

Chat with usContact us
About WorldstreamAbout the technologyCasesKnowledge base
About usMeet the teamJobsBecome a resellerCertificationsOur data centersOur networkDDoS ProtectionAMD EPYC serversTechnology PartnersOperating SystemsAll casesEasyTerraDutch Drone CompanyPerfGridArticlesFAQNews and BlogsProducts and Services
Contact us

Call +31 (0) 174 – 712 117

Industriestraat 53, Naaldwijk

Nederlands
Deutsch
Español
0
Dedicated serversFlexible VPSCloud TechnologyColocationChallenges in ITSectorsCareersAbout WorldstreamAbout the technologyCasesKnowledge baseMy Worldstream
Contact
Support
NederlandsDeutschEspañol
  1. HomeHome
  2. Knowledge Base
  3. Dedicated Servers
  4. LVM basics: managing and recovering logical volumes

LVM basics: managing and recovering logical volumes

Applies to Dedicated Servers, Bare Metal Compute (Linux)Audience Server administratorsLast reviewed September 2026

Quick answer

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.

On this page
  • 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
Was this article helpful?

Solid IT. No Surprises

Sparring partner for IT maturity
Eliminating barriers so you can run
Predictable and transparant costs

Contact

  • Industriestraat 53, Naaldwijk
  • Payment Methods
  • Abuse
  • Developers Resources
  • Network Operations Center
  • About us
  • Meet the team
  • Jobs
  • Become a reseller
  • Certifications
  • Our data centers
  • Our network
  • DDoS Protection
  • AMD EPYC servers
  • Technology Partners
  • Operating Systems
  • Overview
  • FAQ
  • Cases
  • News & Blogs
  • Use Cases
Nederlands
Deutsch
Español
Nederlands
Deutsch
Español
  • Legal
  • Disclosure