Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

6. Repair Linux > 80. Mount LVM Partitions

Mount LVM Partitions

It only takes a few extra steps to rescue data stored on an LVM partition.

There are a number of distributions these days that make use of Logical Volume Management (LVM) to provide you with all sorts of useful features such as snapshots and the ability to more easily expand your storage. The Fedora distribution, for instance, even defaults to using LVM. One downside to LVM partitions are that they require a few extra steps when you want to access them from a rescue CD. Luckily Knoppix has all of the tools you need to mount your LVM partitions and can set them up in only a few steps.

First, boot your system into Knoppix and open a terminal. To mount the LVM, you need to have a copy of the configuration file for that LVM. Of course, it is likely to be stored on the partition you are trying to mount, so how do you get it? Multiple copies of the LVM configuration are stored near the beginning of each LVM partition, so once we have identified the LVM partitions, we can then grab the configuration from them. Use fdisk to identify all of the LVM partitions on the system:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint