Skip to content

XceptN’s Tech Stuff

All About Tech

How to Mount Volumes from a Rescued LVM Disk?

Posted on September 15, 2008 By XceptN No Comments on How to Mount Volumes from a Rescued LVM Disk?

Say we have a LVM’ed /dev/sdd1 and we have to mount logical volume LogVol00 in it..

# file -s /dev/sdd1

/dev/sdd1: LVM2 (Linux Logical Volume Manager) , UUID: 7zKduhTHsMa3YD3t2gocYKUDGRP5QvW

# vgscan
Reading all physical volumes. This may take a while…
Found volume group “VolGroup00” using metadata type lvm2

# vgchange -a y VolGroup00
2 logical volume(s) in volume group “VolGroup00” now active

# lvdisplay
— Logical volume —
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID YcNYud-4BXO-Ro6N-P7VW-yrLm-DDZT-oLGgAO
LV Write Access read/write
LV Status available
# open 0
LV Size 1.94 GB
Current LE 62
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:2

— Logical volume —
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID pSyXMZ-8TXw-fwiw-m3re-Oi3I-0fch-mJ1Q5H
LV Write Access read/write
LV Status available
# open 0
LV Size 1.91 GB
Current LE 61
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:3
# mkdir -p /mnt/VolGroup00/LogVol00
# mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00
# ls /mnt/VolGroup00/LogVol00
bin dev home lib lost+found misc opt root selinux sys usr
boot etc initrd lib64 media mnt proc sbin srv tmp var
#

linux, storage, sysadm

Post navigation

Previous Post: PXE Boot Config Enterprise Linux
Next Post: udev: what, why, how?

Related Posts

Can NICs of separate VLANs be teamed by bonding ? linux
Motorokr e6 and synchronization on Linux linux
How to Use “tcpdump” to Log OCFS2 Interconnect (o2net)? linux
traceroute Fails with -F (do not fragment bit) Argument linux
The vm.swappiness Parameter in Linux 2.6 Kernels kernel
Is there a way to somehow mount a (shutdown) Xen disk image and browse files? storage

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Dipping Toes into Nix Package Manager | Installing Freeplane
  • Fujitsu Workplace Protect Face Recognition Best Practices on Q704
  • Fujitsu STYLISTIC Q704 Fingerprint Scanner Problems
  • Two Generations of Computing Equipment…
  • IBM Model M Keyboard Goes Blank

Recent Comments

  1. r0cky on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  2. XceptN on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  3. r0cky on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  4. Kaylee on Mounting an LVM Logical Volume in an Oracle VM Disk Image
  5. Theron Conrey on Open Source Virtualization for Smaller Carbon Footprint

Archives

  • June 2024
  • November 2014
  • October 2014
  • April 2014
  • March 2014
  • December 2012
  • November 2012
  • October 2010
  • April 2010
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008

Categories

  • blogging
  • communication
  • desktop
  • development
  • firmware
  • Fujitsu
  • gprs
  • gps
  • hardware
  • internet
  • java
  • kernel
  • keyboard
  • linux
  • masteryourbiz
  • mms
  • mobile
  • multimedia
  • network
  • OracleVM
  • palm
  • python
  • rokr e6
  • social media networking
  • storage
  • sysadm
  • tablet
  • twitter
  • virtualization
  • wap
  • windows
  • wordpress
  • xen

Copyright © 2025 XceptN’s Tech Stuff.

Powered by PressBook Masonry Dark