Displaying 12 results from an estimated 12 matches for "snapname".
2008 Apr 17
1
LVM + xfs + Shadow copy
...y useful, if i gonna make it under DEB,
but at the moment i'm really get stucked,
i try to describe what's the point now;
1 - load shadow_copy mod in smb.conf
vfs objects = shadow_copy
2 - install shadow copy client in WinXPProf
3 - write script to make snapshot to my LVM2 + XFS system
SNAPNAME=`date+%Y.%m.%d_%H.%M.%S`
lvcreate -v -L10M -s -n $SNAPNAME /dev/lvmgroup1/home
xfs_freeze -u /home
mkdir /home/@GMT-$SN...
2005 Nov 20
2
Shadow copy format for snapshots and Samba
...FreeBSD, it was really slick and windows users could right-click and see the previous versions.
Anyway the idea is simple -- add an option "shadowcopylinks" to zfs, and when a snapshot is created (and snapdir==visible), then do a symlink(? -- maybe something lower) from the .zfs/snapshot/snapname to @GMT-$time (time format documented in the above link -- and it must be GMT).
Of course the symlink/whatever would get removed when the snapshot is removed.
If we had that and auto snapshotting like 2 at 30m, 2 at 12h, 7 at 1d, 4 at 1w (take a snapshot every 30 minutes and keep the last 2, etc)...
2010 Feb 05
0
shadow_copy script example leads to system hang?
I don't know if this was present (maybe not?) when the script was written, but
the script for taking a snapshot in the instructions for shadow_copy: that looks
like this:
----
xfs_freeze -f /home/
lvcreate -L10M -s -n $SNAPNAME /dev/Home/lvol0
xfs_freeze -u /home/
mkdir /home/shadow_share/@GMT-$SNAPNAME
mount /dev/Home/$SNAPNAME \
/home/shadow_share/@GMT-$SNAPNAME -onouuid,ro
----
Causes an, apparently, well-known system hang when you do the lvcreate.
The workaround is to NOT use xfs_freeze. I don't know if...
2013 Mar 13
1
backup disk/state
Hi there,
i am trying to understand something that bothering me for some time now.
A running domain has two things that someone needs to take backup.
So there is the disk and the state.
Using snapshots as checkpoint someone can take the disk snapshot
but i cant understand how to "transfer" the saved state from "backup ed" disk.
Reading through Kashyap's and Eric's
2013 Dec 04
2
Re: Virsh snapshots
Thanks for your answer,
I am trying to make a snapshot of whole virtual machine (disk, CPU
state, memory). But I need to make this snapshot in matter of seconds.
I have already try to create snapshot of disk, which is not problem. I
use qcow2 format, and create new disk image using original disk image as
backing file. But still I am not able to assign state of vm with new disk.
I have found
2007 Jun 26
2
Wishlist items
I''ve been saving up a few wishlist items for zfs. Time to share.
1. A verbose (-v) option to the zfs commandline.
In particular zfs sometimes takes a while to return from zfs snapshot -r
tank/volumes at foo in the case where there are a great many iscsi shared
volumes underneath. A little progress feedback would go a long way. In
general I feel the zfs tools lack sufficient feedback
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...9;/'')
fsname++;
cname = fsname;
- while (*fsname && !isspace((uint8_t)*fsname) && *fsname != ''/'')
+ while (*fsname && !grub_isspace(*fsname) && *fsname != ''/'')
fsname++;
ch = *fsname;
*fsname = 0;
snapname = cname;
- while (*snapname && !isspace((uint8_t)*snapname) && *snapname != ''@'')
+ while (*snapname && !grub_isspace(*snapname) && *snapname !=
+ ''@'')
snapname++;
if (*snapname == ''@'') {
issnapsh...
2013 Dec 04
0
Re: Virsh snapshots
...0.5. The overall operation takes as long as a migration to
file, but the guest continues to operate throughout that phase. The
actual guest downtime is a mere fraction of a second at the point where
the disk snapshots are taken once the migration to file completed.
virsh snapshot-create-as $dom $snapname --live --memspec /path/to/file
will store the memory state into /path/to/file, and create an external
disk snapshot of each disk (you may need to use the --diskspec option if
you want to control the filenames of those disk snapshots).
>
> I have already try to create snapshot of disk, whi...
2012 Feb 22
0
RFC for new zfs replication tool
...ould also somehow list INCOMING zrep synced stuff?
# or use separate option for that? Possibly -L
zrep -s/status (ZFSfs) ?
zrep clear ZFSfs #clear all configured replication for that fs.
zrep clear ZFSfs remotehost #clear configs for just that remotehost
zrep failover ZFSfs at snapname # Changes sync direction to non-master
# Can be run from EITHER side? or should make it context-sensitive?
Initial concept of "failover"
Ensures first of all, that that snapshot exists on both sides.
(should it allow hand-created snapshots?)
Then configures snapshot on non-mas...
2012 Apr 23
2
Snapshot system: really confusing.
Greetings,
I am developing a platform for test and debug use.
The typical scenario I want to realize is the following:
I run a .qcow2 image via QEMU-KVM, the running OS is not relevant.
I want to take several snapshots of both Disk and RAM status; same file,
separate files doesn't matter.
I just need a way to have consistent information about them (better with
XML description) and the data
2013 Feb 27
1
Deleting and coalescing live snapshots
All,
I have a service that takes new live KVM snapshots Si regularly, keeps a
fixed number N (Si ,..,Si-N+1), and therefore needs to delete Si-N in
this cycle.
Until libvirt includes support for this capability that is said to be
available in qemu, what is a safe workflow to delete old live KVM
snapshots w/o losing data. Do I need to pause/shut down the VM?
The development environment is
2008 Nov 08
9
How does zfs COW deal with ''..'' in brother directory?
Hi matt,
I have some problems about understanding zfs COW implemention. Suppose
b and c are both children dir of a, if c changes, there will be new
versions of both a and c, namely c'' and a''.
a a''
b c c''
Because ''..'' in b points to a before this change, shall we modify b
to let ''..'' point to a''? If yes,