Accessing a Fedora/CentOS Logical Volume from Ubuntu

zz http://www.linux-sxs.org/storage/fedora2ubuntu.html


ERROR:

mount: unknown filesystem type 'LVM2_member'


A while back, I started experimenting with Ubuntu after playing withFedora. 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 volumegroup 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 (mineproved 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.

Reference:

1.

About mount: http://hi.baidu.com/ooppto/item/3ae2c59a03730edc1f4271c7

http://os.51cto.com/art/201003/187514.htm

2

/etc/fstab和etc/mtab文件


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值