Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] server partitions, LVM, and Xen
- Date: Wed, 23 May 2007 07:21:19 +0900
- From: Edward Middleton <emiddleton@example.com>
- Subject: Re: [tlug] server partitions, LVM, and Xen
- References: <F116CBF5-C65E-4DC7-A413-F78075405F62@miyazaki-mic.ac.jp> <Pine.NEB.4.64.0705221330400.24924@homeric.cynic.net> <46527F49.6060000@samsara.bebear.net> <f118b8b90705212337u118d9b7ag63689297d1584005@mail.gmail.com> <4652920C.6090406@samsara.bebear.net> <f118b8b90705220056y13260aa7p88bd089a2f429125@mail.gmail.com>
- User-agent: Thunderbird 1.5.0.10 (X11/20070410)
Keith Bawden wrote: > You could also use have your Virtual Block Device based on a normal > physical partition. You could but then you couldn't resize it or easily remove it. > Then again I wonder what type of performance hit you would see when > using a file as Curt suggested. In terms of speed you probably won't notice it but you will use more system resources. The host filesystem is going to cache the device file then the xen filesystem is going to cache files on the xen filesystem. > Also, I wonder if a file based > approach would help simplify things when migrating instances to new > servers. Not much[1], 1. copying logical volume a. create the remote logical volume of the same size # xen_len=`lvs --noheading -o lv_name,lv_size | \ grep xen|sed -e 's/[ ]*xen[ ]*//'` # ssh me@example.com "lvcreate -L$xen_len -nxen /dev/vg" b. copy image # dd if=/dev/vg/xen | ssh me@example.com "dd of=/dev/vg/xen" 2. copy image file # scp /home/me/xen me@example.com:/home/me/xen The main advantage of using a file is that it allows you to use a sparse partition. i.e. you won't have to allocate the space until you create files on the filesystem. Edward 1. I presume by migration you mean copying the system image. Live migration isn't going to be effected by they choice of file or block device.
- Follow-Ups:
- Re: [tlug] server partitions, LVM, and Xen
- From: Keith Bawden
- References:
- [tlug] server partitions, LVM, and Xen
- From: Micheal Cooper
- Re: [tlug] server partitions, LVM, and Xen
- From: Curt Sampson
- Re: [tlug] server partitions, LVM, and Xen
- From: emiddleton@example.com
- Re: [tlug] server partitions, LVM, and Xen
- From: Keith Bawden
- Re: [tlug] server partitions, LVM, and Xen
- From: emiddleton@example.com
- Re: [tlug] server partitions, LVM, and Xen
- From: Keith Bawden
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] server partitions, LVM, and Xen
- Next by Date: Re: [tlug] server partitions, LVM, and Xen
- Previous by thread: Re: [tlug] server partitions, LVM, and Xen
- Next by thread: Re: [tlug] server partitions, LVM, and Xen
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links