|
Feb 8 2009, 10:57 PM EST
|
|
|
edit |
12 words added
3 words deleted
|
|
Change: vm. By convention we will always have a file 'vm01'called vm.cfg# xm create vm01vm.cfgKill the power to vm: vm01, i.e. a hard shutdown# xm destroy vm01Monitors a host and its domains in real time# xm top Send the vm: vm01
View changes from previous version.
(Word count: 837)
|
|
Feb 6 2009, 11:56 PM EST
|
|
|
edit |
33 words added
1 word deleted
|
|
Change: Remove any entries from /etc/httpd/conf/httpd.conf that refer to this disk.use lvremove to remove the logical volume[root@vl-ucm1 /]# lvremove /dev/lvm-stellent/lvm0Do you really want to remove active logical volume "lvm0"? [y/n]: y Logical volume "lvm0" successfully removeduse lgdisplay and lgremove to remove logical group[root@vl-ucm1 /]# vgremove lvm-stellent
View changes from previous version.
(Word count: 826)
|
|
Feb 6 2009, 9:35 PM EST
|
|
|
edit |
16 words added
|
|
Change: Labels on physical volume "/dev/hdb1" successfully wiped remove partition with fdisk /dev/hdb, 'd', enter, 'w' = write partition and exit# fdisk /dev/hdbRemove the disk entry from the vm.cfg file, and restart the vm.Shrink a LVMJust create a new disk, copy over contents and delete old volume.
View changes from previous version.
(Word count: 783)
|
|
Feb 6 2009, 4:29 AM EST
|
|
|
edit |
174 words added
|
|
Change: Do you really want to remove active logical volume "lvm0"? [y/n]: y Logical volume "lvm0" successfully removeduse lgdisplay and lgremove to remove logical group[root@vl-ucm1 /]# vgremove lvm-stellent Volume group "lvm-stellent" successfully removeduse pvdisplay and pvremove to remove physical volume[root@vl-ucm1 /]# pvremove /dev/hdb1 Labels on
View changes from previous version.
(Word count: 767)
|
|
Feb 6 2009, 2:55 AM EST
|
|
|
edit |
39 words added
1 word deleted
|
|
Change: . Domain Id is got from xm list command under the id column, # xm block-attach 3 phy:/dev/sr0 /dev/xvda2 rSplit / Join filesSometime the files are too big to put on FAT32 thumbdrives. Use the split and cat commands here:Split the file system.img into 3Gig chunks#
View changes from previous version.
(Word count: 557)
|
|
Feb 5 2009, 3:46 AM EST
|
|
|
edit |
21 words added
|
|
Change: (NOTE) don't think you can use 'hdc' (only a and b), so you can use a combo of hd and xvd!The following instructions came from the following link, use it as a reference if these instructions don't make sensehttp://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch27_:_Expanding_Disk_Capacity#Expanding_Partitions_With_LVMHere we created a new
View changes from previous version.
(Word count: 516)
|
|
Jan 21 2009, 3:52 AM EST
|
|
|
edit |
27 words added
4 words deleted
|
|
Change: The above line may also look like, the following, in that case use hdb in place ov xvdb.disk = [ 'file:/OVS/running_pool/ucm1/system.img,hda,w','file:/OVS/running_pool/ucm1/stellent.img,hdb,w' ]The following instructions came from the following link, use it as a reference if these instructions don't make sensehttp://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch27_:_Expanding_Disk_Capacity#Expanding_Partitions_With_LVMHere we created a
View changes from previous version.
(Word count: 494)
|
|
Nov 23 2008, 6:21 PM EST
|
|
|
edit |
28 words added
23 words deleted
|
|
Change: the following link, use it as a reference if these instructions don't make sensehttp://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch27_:_Expanding_Disk_Capacity#Expanding_Partitions_With_LVMHere we created a new device, /dev/xvdb. Now we start up the vm and run fdisk # fdisk /dev/xvdbYou'll get some error messages saying you don't
View changes from previous version.
(Word count: 459)
|
|
Nov 20 2008, 12:15 AM EST
|
|
|
edit |
11 words added
53 words deleted
|
|
Change: # e2fsck -f /dev/lvm-stell/lvm0Resize the filesystem first# resize2fs /dev/lvm-stell/lvm0 1GReduce the logical volume, increate thisa casenew itdisk, wascopy 4over gigscontents and I want it to be 1 gig so I subtract 3# lvreduce -L -3Gdelete /dev/lvm-stell/lvm0old volume.
View changes from previous version.
(Word count: 459)
|
|
Nov 20 2008, 12:08 AM EST
|
|
|
edit |
57 words added
|
|
Change: volume# umount /dev/lvm-stell/lvm0Check the filesystem for integrity# e2fsck -f /dev/lvm-stell/lvm0Resize the filesystem first# resize2fs /dev/lvm-stell/lvm0 1GReduce the logical volume, in this case it was 4 gigs and I want it to be 1 gig so I subtract 3# lvreduce -L -3G /dev/lvm-stell/lvm0
View changes from previous version.
(Word count: 521)
|
|
Nov 19 2008, 11:49 PM EST
|
|
|
edit |
193 words added
2 words deleted
|
|
Change: List this partition table 'p' now and notice the Id type is 83 or something. Change this to 8e. 't', '8e'. List the partition table 'p', again, notice the new Id type is 8e. Save partition table 'w'.Create a physical volume from this device# pvcreate /dev/xvdb1Might
View changes from previous version.
(Word count: 444)
|
|
Nov 19 2008, 10:39 PM EST
|
|
|
edit |
6 words added
|
|
Change: VMMake a blank file 3 gigs large named stellent.img that will serve as our new disk # dd if=/dev/zero of=stellent.img bs=1M count=4096Edit the configuration file (/etc/xen/vm03), like below, adding the second line, notice xvda goes to xvdb disk = [ 'file:/OVS/running_pool/vm03/system.img,xvda,w', 'file:/OVS/running_pool/vm03/stellent.img,xvdb,w'] Use the instructions from here:http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch27_:_Expanding_Disk_Capacity#Expanding_Partitions_With_LVM
View changes from previous version.
(Word count: 245)
|
|
Nov 19 2008, 9:55 PM EST
|
|
|
edit |
1 word added
|
|
Change: system for your VMMake a blank file 3 gigs large named stellent.img that will serve as our new disk # dd if=/dev/zero of=stellent.img bs=1M count=4096Edit the configuration file (/etc/xen/vm03), like below, adding the second line, notice xvda goes to xvdb disk = [ 'file:/OVS/running_pool/vm03/system.img,xvda,w', 'file:/OVS/running_pool/vm03/stellent.img,xvdb,w']
View changes from previous version.
(Word count: 229)
|
|
Nov 19 2008, 9:54 PM EST
|
|
|
edit |
20 words added
|
|
Change: system for your VMMake a blank file 3 gigs large named stellent.img that will serve as our new disk # dd if=/dev/zero of=stellent.img bs=1M count=4096 Edit the configuration file like below, adding the second line, notice xvda goes to xvdb disk = [ 'file:/OVS/running_pool/vm03/system.img,xvda,w', 'file:/OVS/running_pool/vm03/stellent.img,xvdb,w']
View changes from previous version.
(Word count: 226)
|
|
Nov 19 2008, 8:32 PM EST
|
|
|
edit |
122 words added
|
|
Change: Current status of the guest operating system is written to disk and removed from system memory# xm suspend vm01restore vm01 (any time including after a host system reboot)# vm resume vm01Split / Join filesSometime the files are too big
View changes from previous version.
(Word count: 194)
|
|
Nov 19 2008, 7:37 PM EST
|
|
|
edit |
58 words added
|
|
Change: Sometime the files are too big to put on FAT32 thumbdrives. Use the split and cat commands here:Split the file system.img into 3Gig chunks# split --bytes=3000m system.imgJoin up the files system.img.part1, system.img.part2, etc... into the file system.img# cat system.img.part* > system.imgMake an extra
View changes from previous version.
(Word count: 65)
|
|
Nov 19 2008, 7:30 PM EST
|
|
|
create |
No content added or deleted. |
|
Change: Created by Nov 19 2008, 7:30 PM EST for: no reason given
|