Accessing a Fedora Logical Volume from Ubuntu


Accessing a Fedora Logical Volume from Ubuntu


A while back, I started experimenting with Ubuntu after playing with Fedora. I decided to jump to Ubuntu and needed to move data from the Fedora-managed logical volume to Ubuntu. Here's what I did.

  1. Boot Ubuntu.
  2. Install lvm2:
    $ sudo apt-get install lvm2
    
  3. Load the necessary module(s):
    $ sudo modprobe dm-mod
    
  4. Scan your system for LVM volumes and identify in the output the volume group name that has your Fedora volume (mine proved to be VolGroup00):
    $ sudo vgscan
    
  5. Activate the volume:
    $ sudo vgchange -ay VolGroup00
    
  6. Find the logical volume that has your Fedora root filesystem (mine proved to be LogVol00):
    $ sudo lvs
    
  7. Create a mount point for that volume:
    $ sudo mkdir /mnt/fcroot
    
  8. Mount it:
    $ sudo mount /dev/VolGroup00/LogVol00 /mnt/fcroot -o ro,user
    
  9. Copied my files.
Bu cevap yeterince yardımcı oldu mu?

Diğer Dökümanlar


  • Network monitoring on Linux

    Network monitoring on Linux This post mentions some linux command line tools that can be used to monitor the network usage. These tools monitor the traffic flowing through network interfaces and...

  • df -i /tmp folder is full

    Install tmwatchftp://ftp.muug.mb.ca/mirror/centos/6.5/os/x86_64/Packages/tmpwatch-2.9.16-4.el6.x86_64.rpmthen run  /usr/sbin/tmpwatch -am 1 /tmp/nginx_clientthen add cron filelike this0 */1 *...

  • How to create a partition size larger than 2TB on Linux

    How to create a partition size larger than 2TB on Linux Parted is a GNU utility and used to create, manipulate and delete the hard disk partitions. Select the drive that you need to create #...

  • RSZDT

    what is RSZDT mean ? PROCESS STATE CODES -different values that the s, stat and state output specifiers(header “STAT” or “S”) will display to describe the state of a...

  • How to upgrade OpenSSL in CentOS 6 + Heartbleed

    Folow the steps to upgrade OpenSSL in CentOS 6 servermv /usr/bin/openssl /usr/bin/openssl.backupcd /usr/srcwget https://www.openssl.org/source/openssl-1.0.1g.tar.gztar -zxf...