LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 04-26-2013, 11:55 PM   #1
chengli
LQ Newbie
 
Registered: Jan 2012
Posts: 21

Rep: Reputation: Disabled
Unhappy LVM BACKUP + KVM : no data after mounted


Dear All,

I'm trying LVM snapshot back up for my kvm.

The following is my logical volume details:
------------------------------------------------------------------------
ACTIVE '/dev/vg_vmsvr/lv_root' [150.00 GiB] inherit
ACTIVE '/dev/vg_vmsvr/lv_home' [100.00 GiB] inherit
ACTIVE '/dev/vg_vmsvr/lv_swap' [5.84 GiB] inherit
ACTIVE Original '/dev/vg_vmsvr/vm10' [15.00 GiB] inherit
ACTIVE Snapshot '/dev/vg_vmsvr/rootsnapshot' [20.00 GiB] inherit

------------------------------------------------------------------------

I try to create snapshot for vm10 and so far anything work well but when i reach the step 5) ls -l /mnt/vg_vmsvr/rootsnapshot/ (no data inside the folder ). If i try to take snapshot of lv_root, i able to get the data inside in the folder i mounted.

1) lvcreate -L20G -s -n rootsnapshot /dev/vg_vmsvr/vm10
2) mkdir -p /mnt/vg_vmsvr/rootsnapshot
3) mkfs.ext4 /dev/vg_vmsvr/rootsnapshot
4) mount /dev/vg_vmsvr/rootsnapshot /mnt/vg_vmsvr/rootsnapshot
5) ls -l /mnt/vg_vmsvr/rootsnapshot/

Any Suggestion to troubleshoot out the issue?

Thanks

Last edited by chengli; 04-26-2013 at 11:56 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to do kvm live migration under lvm? siranee.ja Linux - Virtualization and Cloud 1 03-31-2012 01:04 AM
[SOLVED] KVM machine data recovery in lvm pantdk Linux - Virtualization and Cloud 1 10-23-2011 09:07 AM
[SOLVED] Converting VMWare image using LVM to KVM kheldar Linux - Virtualization and Cloud 2 03-23-2011 06:15 PM
how to restore backup from an LVM Guest OS on KVM Lucid tkmsr Linux - Virtualization and Cloud 2 09-29-2010 06:12 AM
upgrade system with lvm on software raid-1 data volume w/o losing data BinWondrin Linux - General 1 01-13-2009 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration