l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social Gathering
Next Installfest:
TBD
Latest News:
Aug. 19: Siafoo slides and photos online
Page last updated:
2006 Aug 09 12:30
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Xen + LVM usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Xen + LVM usage




On Mon, 7 Aug 2006, Bill Broadley wrote:
Ah.  Well the Xen manual recommends:
 To create two copy-on-write clones of the above file system you would use the   following commands:

  # lvcreate -s -L1024M -n myclonedisk1 /dev/vg/myvmdisk1
  # lvcreate -s -L1024M -n myclonedisk2 /dev/vg/myvmdisk1

So they are actually parititions, not layered on top of a filesystem.  I
figure the Xen folks wouldn't recommend it if it didn't work well.
I wouldn't go so far as to say they recommend it... here is some context:

You can also use LVM for creating copy-on-write (CoW) clones of LVM volumes (known as writable persistent snapshots in LVM terminology). This facility is new in Linux 2.6.8, so isn't as stable as one might hope. In particular, using lots of CoW LVM disks consumes a lot of dom0 memory, and error conditions such as running out of disk space are not handled well. Hopefully this will improve in future.

To create two copy-on-write clones of the above file system you would use the following commands:

# lvcreate -s -L1024M -n myclonedisk1 /dev/vg/myvmdisk1
# lvcreate -s -L1024M -n myclonedisk2 /dev/vg/myvmdisk1

--

It is a cool idea, though, esp. for backups. I can xm pause; lvcreate; xm unpause; to grab a quiecent copy for backups.

I've also been looking at GFS from the same people that wrote LFS... it would mean all my Dom0s would need to be linux, but then all my fibre disks would be seen as one massive disk that I could carve out named partitions from, named as the domUs. I could run xm migrate with impunity. I could also run my fibre cards in arbitrated-loop mode (cheaper cards and cheaper switches/hubs are available for that) rather than the fabric mode soft zones require.
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

CD Burns Wanted!

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Z-World
Who has helped LUGOD immensely!