1
vote
0answers
76 views

reclaim space from xen server

i found xencenter stotage => general tah display 1096.6 GB used of 1107.7 GB total (708.5 GB allocated) seen some space have been eaten and not release. the SMLog show that [13816] 2014-03-28 ...
3
votes
2answers
180 views

LVM snapshot of btrfs volume changes mounted device

I have a btrf volume on top of LVM. Now I want to do a snapshot on the lvm level (NOT on the btrfs level). But every time I create the LVM snapshot, btrfs changes the mounted block device to the ...
2
votes
0answers
41 views

Change the logical volume

I am quite new this snapshot process. Let, I have three logical volumes as A, B, C. I worked on logical volume C. But accidentally when I restart the system, it goes to the snapshot A. How can I ...
3
votes
2answers
156 views

See progress of lvm --merge

Is there any way I can see the progress of a merge of my snapshot back to the origin? The only thing I know is that there is an ongoing merge because I can't create a new snapshot.
0
votes
1answer
99 views

LVM2: How to copy snapshots?

I read What does an LVM2 Snapshot contain? and LVM Snapshot confusion. What I'm trying to figure out is if there is a way to create a copy of an LVM snapshot for use with different Xen VMs. I know ...
0
votes
1answer
347 views

An LVM snapshot of an ext4 fs does not seem very clean

I create an LVM snapshot of a mounted ext4 fs: lvcreate -L 10GiB -s -n "root-snapshot" "/dev/myvgname/root" If I then run e2fsck on /dev/myvgname/root-snapshot, it says: e2fsck 1.42.5 ...
0
votes
1answer
141 views

Mounting an LVM snapshot and converting file: is it safe?

I have KVM running and need to convert some qcow2 disk images from running guests into vmdk format. Is it safe to take an LVM snapshot of the logical volume that the qcow2 file resides on, mount it, ...
-5
votes
1answer
109 views

best way to create lvm snapshot of / partition [closed]

I need to know the best way to implement the snapshot of root partition "/" on a kvm guest. What I have is as follows 1- /dev/vda ..... 10G free -- /dev/vda1 boot partition (ext - 83) -- ...
0
votes
1answer
151 views

Snapshot a KVM guest with non-file storage

I am preparing at least one Windows 7 guest on a KVM Linux (ubuntu) host. I have made an LVM-based storage pool which I would like to use. My main concern is snapshots. The disk-image will be ...
0
votes
1answer
165 views

lvconvert --merge how to undo?

I have created a script for users who work on KVM virtual machines to be able to perform lvm snapshots on the logical volumes where their VMs are installed. Snapshot restores are performed via ...
0
votes
1answer
68 views

LVM Snapshot confusion

I think I understand some of the lvm snapshot concept, but am confused about one last thing. After you take the snapshot, if you don't mount it, will it be active? What I really want to know is will ...
1
vote
4answers
732 views

What does an LVM2 Snapshot contain? [duplicate]

Everything I read makes me think an lvm snapshot is a direct copy of the logical volume that was snapshot(ed), but how can that be when it takes 10 seconds to snapshot a 90 gig logical volume? If I ...
1
vote
2answers
2k views

How to determine optimal size for LVM snapshot?

I'd like to create a backup script that uses LVM snapshots during backup. This script will run on several Linux machines. I'd like to avoid creating snapshot that is too small and gets full during ...
2
votes
1answer
150 views

LVM+MongoDB. Dropping in speed of backup creation

Till recent time we have been making mongo backups archiving LVM snapshot on hidden SECONDARY server with RAID10 on SAS disks. Currently operation on making snapshot from volume with 500 Gb of data ...
2
votes
1answer
449 views

I can't mount a LVM snapshot on a XEN host

I'd like to backup my XEN VMs by copying-rsyncing a LVM snapshot. I'm trying to mount a snapshot that contains a XEN guest's virtual disk (ext4). Below are all the steps I follow. I can't mount the ...
2
votes
2answers
655 views

backing up MySQL living on a SAN using LVM snapshots. is this doable?

So I was looking into LVM snapshots and it seems like a feasible method for backing up mysql so that it's at least crash consistent. My issue is that I have mysql servers where the mysql data ...
1
vote
1answer
140 views

lvm snapshot differences

All machines are centos 6, 64bit My rpm-build machine ends up with a directory it runs createrepo against. This is then NFS mounted (read-only) to an rpm repository hosting machine in a ...
2
votes
2answers
650 views

LVM-snapshot based KVM VMs

As far as I know, LVM snapshots basically don't take any "real" space on hard drives. I'm using KVM virtualization on my hosts and let's say I create an LVM volume for my Linux VM, then install it ...
1
vote
1answer
340 views

Can I create a LVM snapshot on a “full” logical volume?

I want to try using LVM snapshots for backups. I'm working on an older CentOS 5 box, but I'm not sure if I can do it. From what I read, it seems like I need extra space on the physical disk in which ...
0
votes
2answers
374 views

How to shrink partition for lv snapshot?

I want to try the snapshot functionality but I don't understand all the picture. I'm on Ubuntu server 11.10 and I've created two Volume Group and some Logical Volumes inside like this: ...
3
votes
2answers
422 views

ext3 Snapshot Support

Does the ext3 filesystem support snapshotting? If so, is can this be done with straight partitions with no LVM? An example of "straight partitions" would be the following: /dev/sda1 /boot ext3 ...
1
vote
2answers
150 views

Can You Specify Where LVM Snapshots Are (Initially) Stored?

Disclaimer: this is my first time using lvm. Upon RTFM, it appears that LVM snapshots are automatically stored in the same directory as the original logical volume. In my case, that would mean the ...
1
vote
3answers
221 views

LVM snapshot missing /dev and /proc tree

I created a lvm snapshot like so: lvcreate -L 5G -s -n root-snapshot /dev/VolGroup00/LogVol00 Then I mounted the snapshot like so: mount /dev/VolGroup00/root-snapshot /mnt/root-snapshot/ Now, ...
5
votes
3answers
697 views

Which filesystems offer snapshot functionality for users to recover data?

I'm working on a project that will teach linux to youth. Knowing they will have a tendency to delete or corrupt items in their home directories we are looking for a good snapshot option. We will not ...
21
votes
4answers
3k views

LVM snapshots vs. file system snapshots

As far as I know, LVM makes it possible to take snapshots of a volume. There are also a number of file systems (ZFS, Btrfs, reiserfs, ...) which supports snapshots. However, I've never understood the ...
0
votes
1answer
904 views

What can go wrong with dmsetup suspend / resume?

I have a backup procedure for ec2 instances with lvm spanned volumes that does the following: 1) ssh to the box as root using an ssh forced command to dmsetup suspend the spanned volume. 2) take an ...
3
votes
5answers
1k views

Backup solution for 10TB using ubuntu

I am setting up a backup server with roughly ten 2TB hard drives raided. The purpose of this machine is simply to back up about 3-10TB of data from another server. What is the best way to achieve ...
1
vote
2answers
590 views

Using LVM Snapshot To Backup Database Servers

Could we use LVM snapshots to backup database servers? Or we can only use it for file system backups?
1
vote
1answer
266 views

Synchronization of volume snapshots when doing whole system backups

Is there a way to guarantee consistency across volumes when doing backups from LVM snapshots? Consider this scenario: Some system upgrade is in progress. It will write some files to the /usr ...
0
votes
1answer
687 views

Strange log messages from LVM and server hang

On one of our OpenSUSE (11.3) virtualization servers we have had some stability problems recently. The server is pretty heavily loaded, with up to 100 virtual domains, all running on LVM snapshots. We ...
0
votes
3answers
266 views

LVM snapshot keeps changing file timestamps

I searched the web but did not find any info about this. I'm mounting an LVM snapshot and I notice the timestamps of the files there keep changing. I though LVM snapshot was a one time freeze in time ...
0
votes
1answer
439 views

LVM snapshot of linux 2.2 KVM guest

I have a KVM host running a linux 2.2 guest. The virtual disk for the guest is an LVM logical volume. This is seen by the guest as a real disk, so it's partitioned, has a boot sector, etc. Now my ...
5
votes
4answers
2k views

How to keep or drop LVM snapshot?

I have made an LVM snapshop by lvcreate --name snap --size 10G -s /dev/vg00/vm What command should I write if I want to drop the snapshot, and not keep the changes that have happened since the ...
0
votes
1answer
180 views

LVM 2 snapshots and free blocks

LVM 2 snapshots works as COW. However the block may change even if it is not used anymore. As SSD disks may need marking of free/used blocks to better manage blocks, the API was introduced into Linux ...
9
votes
4answers
10k views

Linux LVM snapshot commit or revert?

I'm about to perform an experimental upgrade on my CentOS 5 server. If the upgrade fails, I want to be able to back out the changes to the filesystem. This scenario seems similar to the example in ...
2
votes
2answers
805 views

Live Xen snapshotting?

If I use xm save domain dumpfile, this pretty much accomplishes what I want to do. However, this does cause some downtime, and I really don't want to close network connections or take the machine out ...
3
votes
3answers
1k views

OpenBSD and filesystem snapshots

What is the best solution, if any, for carrying out LVM style filesystem snapshots on OpenBSD?
10
votes
4answers
21k views

Is this how LVM snapshots work?

I'm trying to figure out how LVM snapshots work so I can implement it on my fileserver but I'm having difficulty finding anything on google that explains how it works instead of how to use it for a ...
1
vote
3answers
1k views

LVM and snapshots

I have a fileserver that I just setup lvm on. I have two LVM partitions /dev/fileserverLVM/home /dev/fileserverLVM/backup I'd like to take and store the snapshots in /dev/fileserverLVM/backup. The ...
4
votes
2answers
3k views

Is it possible to convert a LVM2 snapshot to a linear LV?

We have DRBD volumes that are presented to guests, and we often snapshot them with the intention of reverting back to the snapshots. I understand in LVM, snapshoting then working with the snapshot is ...