[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen backups using LVM Snapshots



> It should not be too hard to test and get a definite answer.  I don't
> have access to my box right now but all we need to do I suspect, is
> create a snapshot.  Stop the DomU.  Point the cfg file to the snapshot
> and start the DomU.  If we get FS warnings, Javier is right...
> 
> --
> eco
> 
> _______________________________________________

I ran a very quick test... here is my result

DomU # while [ 1 -ne 2 ]; do echo `date` >> /root/test; done &

Dom0 # lvcreate -L +1G -s -n s_web.test.com-disk /dev/vm/web.test.com-disk

DomU - stopped script and shutdown system.

Dom0 - Edit cfg file
  replace
disk        = [
                  'phy:/dev/vm/web.test.com-swap,sda1,w',
                  'phy:/dev/vm/web.test.com-disk,sda2,w',
              ]

  with
disk        = [
                  'phy:/dev/vm/web.test.com-swap,sda1,w',
                  'phy:/dev/vm/s_web.test.com-disk,sda2,w',
              ]

DomU - Boot
[...]
Begin: Running /scripts/local-premount ...
Done.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
[...]

Javier is right!

--
eco

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.