| --- | Log | opened Thu Nov 04 00:00:18 2010 |
| 00:08 | -!- | synchris [~synchris@87-168-19.netrunf.cytanet.com.cy] has joined #xen |
| 00:35 | -!- | synchris_ [~synchris@87-168-19.netrunf.cytanet.com.cy] has joined #xen |
| 00:37 | -!- | synchris [~synchris@87-168-19.netrunf.cytanet.com.cy] has quit [Ping timeout: 480 seconds] |
| 01:11 | -!- | linbot [~supybot@webuser.linode.com] has quit [Read error: Connection reset by peer] |
| 01:11 | -!- | linbot` [~supybot@webuser.linode.com] has joined #xen |
| 01:59 | -!- | Lessy [~bekar@dsl-19-083.virtual.net.au] has joined #xen |
| 01:59 | -!- | Bekar [~bekar@dsl-19-083.virtual.net.au] has quit [Read error: Connection reset by peer] |
| 01:59 | -!- | Lessy is now known as Bekar |
| 02:13 | -!- | smaresca [~steve@68.118.185.157] has joined #xen |
| 02:20 | -!- | icarus901 [~steve@68.118.185.157] has quit [Ping timeout: 480 seconds] |
| 03:58 | -!- | icarus901 [~steve@68.118.185.157] has joined #xen |
| 04:05 | -!- | smaresca [~steve@68.118.185.157] has quit [Ping timeout: 480 seconds] |
| 04:09 | -!- | smaresca [~steve@68.118.185.157] has joined #xen |
| 04:17 | -!- | icarus901 [~steve@68.118.185.157] has quit [Ping timeout: 480 seconds] |
| 04:22 | -!- | icarus901 [~steve@68.118.185.157] has joined #xen |
| 04:29 | -!- | smaresca [~steve@68.118.185.157] has quit [Ping timeout: 480 seconds] |
| 04:31 | -!- | smaresca [~steve@68.118.185.157] has joined #xen |
| 04:38 | -!- | icarus901 [~steve@68.118.185.157] has quit [Ping timeout: 480 seconds] |
| 06:04 | -!- | andrea [~andrea@service.cab.unipd.it] has joined #xen |
| 08:06 | -!- | Piet_ [~Piet__@659AAA0YA.tor-irc.dnsbl.oftc.net] has joined #xen |
| 08:10 | -!- | Piet [~Piet__@659AAA0K6.tor-irc.dnsbl.oftc.net] has quit [Ping timeout: 480 seconds] |
| 08:16 | -!- | _nono_ [~gomes@libation.ircam.fr] has quit [Ping timeout: 480 seconds] |
| 08:45 | -!- | msit [~mihastopa@BSN-95-245-183.dsl.siol.net] has joined #xen |
| 08:45 | <msit> | hi, guys, is it possible to run kvm in xen kernel? |
| 08:46 | <murb> | there was some talk of nested hvm support, but i don't think it was committed. |
| 08:53 | -!- | Stellar [~Stellar@125.163.52.235] has joined #xen |
| 08:57 | -!- | linbot` is now known as linbot |
| 09:19 | -!- | _nono_ [~gomes@libation.ircam.fr] has joined #xen |
| 09:24 | -!- | icarus901 [~steve@68.118.185.157] has joined #xen |
| 09:28 | -!- | _avi_ [~avi@12.157.84.42] has joined #xen |
| 09:30 | -!- | smaresca [~steve@68.118.185.157] has quit [Ping timeout: 480 seconds] |
| 10:05 | -!- | _avi_ [~avi@12.157.84.42] has quit [Ping timeout: 480 seconds] |
| 10:36 | -!- | shoonya [~bibekp@infao5904.ag5.mpi-sb.mpg.de] has joined #xen |
| 10:36 | -!- | shoonya [~bibekp@infao5904.ag5.mpi-sb.mpg.de] has left #xen [] |
| 10:39 | -!- | shoonya [~shoonya@infao5904.ag5.mpi-sb.mpg.de] has joined #xen |
| 10:54 | -!- | msit [~mihastopa@BSN-95-245-183.dsl.siol.net] has quit [Quit: msit] |
| 11:18 | <shoonya> | hi. i want to make a disk image of a directory using dd. i dont know how to do it. any help will be appreciated |
| 12:45 | <deshantm> | shoonya: disk image or partition image? |
| 12:46 | <shoonya> | deshantm, i copied the contents of a /var filesystem of an existing vm into local disk |
| 12:46 | <shoonya> | deshantm, i want to use this directory in a new vm. thats the problem |
| 12:48 | <deshantm> | shoonya: first use dd to create your disk image, then mount that, then copy the contents into the mounted disk image |
| 12:48 | <shoonya> | deshantm, can dd be used in this case? the contents are not in a separate partition, but inside a directory. |
| 12:49 | <deshantm> | shoonya: dd to create the image, but cp -a to copy into the disk image |
| 12:50 | <shoonya> | deshantm, for example, in /home/user/a_dir i have the contents of /var of vm1. i want to use this a_dir as /var in vm2. i dont know how well i explained my problem |
| 12:53 | <deshantm> | shoonya: a shared directory or a copy of /var? |
| 12:53 | <shoonya> | deshantm, a copy |
| 12:55 | <deshantm> | shoonya: a couple options, you could tar the directory and extract in vm2 or you could shutdown the vms and mount the images and copy directly |
| 12:56 | <shoonya> | deshantm, mount the images? which images? sorry i didnt understand it very well |
| 12:57 | <deshantm> | shoonya: the vms virtual disks are they disk images? |
| 12:58 | <deshantm> | shoonya: pastebin the two vms config files |
| 12:58 | <shoonya> | deshantm, in vm2, i have used a file disk.img (which is a clone of / of vm1) as / partition |
| 12:58 | <shoonya> | deshantm, ok. will you be there for a while? |
| 13:00 | <deshantm> | shoonya: I should be here for some time |
| 13:01 | <shoonya> | deshantm, thanks |
| 13:01 | <shoonya> | i will paste it in sometime, and ping you |
| 13:02 | <deshantm> | if I am not here, others may still be able to help. You can also try ##xen on the freenode IRC server |
| 13:02 | <shoonya> | deshantm, before that, a related question |
| 13:03 | -!- | andrea [~andrea@service.cab.unipd.it] has quit [Quit: I'm gonna save Rose Tyler from the middle of the Dalek fleet, and then I'm gonna save the Earth] |
| 13:03 | <shoonya> | deshantm, what if i mount a_dir/ as loop device and then dd it ? is it possible ? |
| 13:05 | <deshantm> | shoonya: that doesn't seem to make sense, a virtual disk image or an ISO can be mounted to a loop device |
| 13:05 | <deshantm> | I don't think a directory can |
| 13:08 | <shoonya> | deshantm, what do you think might be the solution to this problem then |
| 13:08 | <deshantm> | shoonya: I already described the options that I thought were best |
| 13:09 | <deshantm> | there are more complicated ways to do things, but I don't know why you would want to make it more complicated |
| 13:18 | <shoonya> | deshantm, i didnt clearly understand your suggestions, thats why. btw, here are the config files. please read the comments inside 2nd config file: http://pastie.org/1272666 |
| 13:25 | -!- | jcordeiro [~jcordeiro@213.63.188.71] has joined #xen |
| 13:26 | <jcordeiro> | good afternoon |
| 13:26 | <deshantm> | shoonya: so you are using physical partitions, not disk images for your VM1 |
| 13:27 | <shoonya> | deshantm, in VM2 (ie cloneserver) ? |
| 13:27 | <shoonya> | i am using image |
| 13:28 | <jcordeiro> | I have read that the latest xen has some workarounds to deal with the BIOS DMAR issue with iommu where can i learn more about this? |
| 13:29 | <deshantm> | shoonya: so my suggestion is to create a partition image with dd, I can explain how |
| 13:29 | <deshantm> | then add a disk to the vm1 config file that uses that partition image |
| 13:29 | <deshantm> | do you understand the basic idea? |
| 13:29 | <shoonya> | deshantm, just like sda5.img, isnt it? i can do it. |
| 13:29 | <shoonya> | deshantm, if that's what you meant |
| 13:30 | <deshantm> | shoonya: sure, then just format sda5.img and mount it |
| 13:30 | <shoonya> | deshantm, i am fine with sda5.img. i dont want to remove it |
| 13:30 | <deshantm> | then copy the contents of that directory into the mount point that sda5.img is mounted to |
| 13:30 | <jcordeiro> | shoonya,deshantm i have some intresting expirence with disks and xen, whats the problem maybe i can help? |
| 13:31 | <deshantm> | jcordeiro: the xen-devel mailing list is probably your best bet for help on the BIOS DMAR issue |
| 13:31 | <shoonya> | deshantm, the /var partition in VM1 is very big (> 100 GB) of which onlyabt 14 GB is used. i have only about 40 GB for disk image creation, so i copied all files in /var with the hope that i might be able to use it somehow |
| 13:32 | <shoonya> | deshantm, i dont want to bring down VM1 again, if possible. it is a production server, and bringing i want to avoid bringing it down, as far as possible |
| 13:33 | <jcordeiro> | (thats why i love LVM- snap shots are the best in lvm) |
| 13:34 | <deshantm> | shoonya: I'm trying to figure out the best way to do what you want to do |
| 13:34 | <shoonya> | deshantm, thanks |
| 13:35 | <jcordeiro> | deshantm any kind of searhing on it (i do not familiar with mailing lists. |
| 13:35 | <jcordeiro> | shoonya whats the problem? |
| 13:35 | <deshantm> | jcordeiro: search xen.markmail.org |
| 13:36 | <shoonya> | jcordeiro, i have VM1, VM2. I want to use /var of VM1 as /var in VM2. I have copied contents of /var of VM1 into a directory example/. How to do it, thats my question. dd is out of question here. i dont know other way |
| 13:36 | <deshantm> | shoonya: are you trying to move the contents of var so that you can free up the partition used by it? |
| 13:37 | <shoonya> | deshantm, no. |
| 13:37 | <shoonya> | deshantm, i am in fact trying to clone VM1 to do some tests on it |
| 13:37 | <shoonya> | deshantm, VM1 will continue as it is |
| 13:37 | <deshantm> | i see |
| 13:37 | <deshantm> | so you just want to put the contents of var into vm2 |
| 13:38 | <shoonya> | deshantm, yes. |
| 13:38 | <jcordeiro> | shoonya why is dd out of the question? |
| 13:38 | <shoonya> | jcordeiro, i dont think i can create image of a directory |
| 13:39 | <deshantm> | does vm2 has a disk image already or do we need to create it? |
| 13:39 | <jcordeiro> | shoonya: what about tar | netcat? |
| 13:39 | <jcordeiro> | or rsync |
| 13:39 | <shoonya> | deshantm, VM2 is using sda5.img (as in config file, which is its / ) |
| 13:39 | <shoonya> | jcordeiro, i didnt understand |
| 13:40 | <jcordeiro> | shoonya: if you can ssh from vm2 to vm1 |
| 13:40 | <jcordeiro> | you can use rsync to copy directorys and files |
| 13:40 | <shoonya> | jcordeiro, oh yes |
| 13:40 | <deshantm> | that would work |
| 13:40 | <shoonya> | jcordeiro, i dont know if i can preserve permissions that way |
| 13:41 | <jcordeiro> | shoonya: there are switches to that |
| 13:41 | <jcordeiro> | you can copy permitions by username |
| 13:41 | <shoonya> | deshantm, jcordeiro any idea if i can increase the size of sda5.img? because the contents of /var as they are now, wont fit inside sda5.img |
| 13:41 | <jcordeiro> | or by id |
| 13:41 | <shoonya> | deshantm, jcordeiro and i need some free space in VM2 (for some tests) |
| 13:42 | <jcordeiro> | rsync -av = archive will save timestamps- permitions and stuff |
| 13:43 | <jcordeiro> | --numeric-ids don't map uid/gid values by user/group name |
| 13:43 | <jcordeiro> | with this file that owner is user 50 will end up with user 50 as file owner |
| 13:43 | <jcordeiro> | even if no user has 50 id |
| 13:43 | <jcordeiro> | in target system |
| 13:43 | <jcordeiro> | with out it |
| 13:44 | <jcordeiro> | it will map, if user 50 is loluser in system 1 |
| 13:44 | <jcordeiro> | and 25 in system 2 |
| 13:44 | <jcordeiro> | all files with id 50 as user will be 25 in new system |
| 13:44 | <shoonya> | jcordeiro, thanks |
| 13:45 | <shoonya> | jcordeiro, any idea if i can increase the size of sda5.img? because the contents of /var as they are now, wont fit inside sda5.img ? |
| 13:45 | <jcordeiro> | shoonya: with dountime? |
| 13:45 | <jcordeiro> | downtime* |
| 13:46 | <shoonya> | jcordeiro, downtime for VM2 is fine. i can bring it down for as long as i want |
| 13:46 | <jcordeiro> | shoonya: with dd you can skip X bytes and then add stuff |
| 13:46 | <jcordeiro> | this means that you can dd to the old file and make it grow larger without lousing stuff |
| 13:47 | <shoonya> | jcordeiro, any pointer please? (apart from the man page) |
| 13:47 | <jcordeiro> | shoonya: an simple example |
| 13:48 | <jcordeiro> | dd if=/dev/zero bs=1024 count=1000 >> file.img |
| 13:48 | <jcordeiro> | sould increace the file 1000 kbs |
| 13:48 | <jcordeiro> | note |
| 13:48 | <jcordeiro> | i have not tested this |
| 13:48 | <jcordeiro> | >> appends at end |
| 13:48 | <jcordeiro> | dd if=/dev/zero bs=1024 count=1000 will generate 1000 kbs |
| 13:49 | <jcordeiro> | after that the virtual disk will be larger |
| 13:49 | <jcordeiro> | this means that you will grow the partition inside the image |
| 13:49 | <jcordeiro> | and then the file system |
| 13:54 | <shoonya> | jcordeiro, cool. thanks |
| 13:54 | <jcordeiro> | shoonya one note on rsync run it several times, the 1st time it will make a full copy the next times it will copy only updated files. At the 1st copy you will have a very large time difrence from the 1st file to the last |
| 13:54 | <shoonya> | jcordeiro, can i use scp instead ? |
| 13:55 | <jcordeiro> | shoonya: scp is dumb |
| 13:55 | <jcordeiro> | will alwlays copy the full thing |
| 13:55 | <shoonya> | jcordeiro, hmm ok |
| 13:55 | <shoonya> | jcordeiro, i want the full thing too. |
| 13:55 | <jcordeiro> | rsync will see the changes |
| 13:55 | <shoonya> | jcordeiro, i need a one time copy too |
| 13:55 | <shoonya> | jcordeiro, not like periodic update |
| 13:55 | <jcordeiro> | sure but see this |
| 13:55 | <shoonya> | jcordeiro, ie if i make a copy today, it would be enough for me |
| 13:56 | <jcordeiro> | a database is full of chunks |
| 13:56 | <jcordeiro> | if the difrence from 2 chunks is 5 secunds |
| 13:56 | <jcordeiro> | the chinks my not be sincronized |
| 13:56 | <jcordeiro> | chunks |
| 13:56 | <jcordeiro> | so the 1st is to update all files |
| 13:57 | <shoonya> | jcordeiro, ok |
| 13:57 | <jcordeiro> | run it at least 1 more time to get a more sincronized updates |
| 13:57 | <jcordeiro> | run it at least 1 more time to get a more sincronized update |
| 13:57 | <jcordeiro> | becouse the 1st rsync will copy 10 gbs |
| 13:57 | <jcordeiro> | the 2nd will only copy a few mbs |
| 13:58 | <shoonya> | jcordeiro, ok |
| 13:58 | <jcordeiro> | already resized the virtual disk? |
| 13:59 | <shoonya> | jcordeiro, no. |
| 13:59 | <shoonya> | i will try making a copy, and then resize on that |
| 13:59 | <shoonya> | jcordeiro, started making a copy now |
| 14:00 | <jcordeiro> | shoonya: did you cheked the new disk size? |
| 14:00 | <jcordeiro> | with df? |
| 14:00 | <jcordeiro> | resising virtual disk is not suficient to have more space in file system |
| 14:00 | <shoonya> | jcordeiro, not finished copying. |
| 14:01 | <jcordeiro> | ? |
| 14:01 | <jcordeiro> | ho |
| 14:01 | <jcordeiro> | you still doing dd >> file? |
| 14:02 | -!- | Piet_ [~Piet__@659AAA0YA.tor-irc.dnsbl.oftc.net] has quit [Ping timeout: 480 seconds] |
| 14:02 | <shoonya> | jcordeiro, no. cp orig.img copy.img |
| 14:02 | <shoonya> | i will do dd >> on the copy |
| 14:03 | <jcordeiro> | (nice move) |
| 14:04 | <jcordeiro> | shoonya: we used lvm to avoid that |
| 14:04 | <shoonya> | jcordeiro, i dont know about lvms |
| 14:04 | <shoonya> | if you are free, a short intro would be great |
| 14:05 | <jcordeiro> | lvm = a logical partition thing |
| 14:05 | <jcordeiro> | its like a partition table |
| 14:05 | <shoonya> | ok |
| 14:05 | <jcordeiro> | you set a disk(or partition) as being part of a volume group |
| 14:06 | <jcordeiro> | that VG will have X GBs |
| 14:06 | <jcordeiro> | after that you create partitions in it |
| 14:06 | <jcordeiro> | just like a partition table |
| 14:06 | <jcordeiro> | but in lvm you do not need to care about possition |
| 14:06 | <jcordeiro> | posicion |
| 14:07 | <jcordeiro> | an example |
| 14:07 | <jcordeiro> | you have a disk with 30 gbs |
| 14:07 | <jcordeiro> | have 3 partitions each with 10 gbs |
| 14:07 | <jcordeiro> | if you delete the first and the last ones |
| 14:07 | <jcordeiro> | you canot create a partition with 20 gbs |
| 14:08 | <shoonya> | cool |
| 14:08 | <jcordeiro> | 1st you need to move the midle one to the edge |
| 14:08 | <jcordeiro> | in lvm it does not care |
| 14:08 | <shoonya> | hmm |
| 14:08 | <jcordeiro> | the 2nd thing about lvm is that you can create snapshots on partitions |
| 14:09 | <jcordeiro> | you are using partition X (its mounted and programs are using it) |
| 14:09 | <shoonya> | ok |
| 14:09 | <jcordeiro> | without any truble you can create an image frozen in time of it |
| 14:09 | <jcordeiro> | the you can mount it copy it |
| 14:10 | <jcordeiro> | but with lvm |
| 14:10 | <jcordeiro> | you do not need an intire copy of this snapshot |
| 14:10 | <jcordeiro> | your snapshot will grow with changes on the active partition |
| 14:11 | <jcordeiro> | this means you can make an instant snapshot of a partition with 1000GBS with only MB |
| 14:11 | <jcordeiro> | 1 MB |
| 14:11 | -!- | Piet_ [~Piet__@659AAA06X.tor-irc.dnsbl.oftc.net] has joined #xen |
| 14:11 | <jcordeiro> | as long as changes on the 1000GBs active partition are not bigger then 1 MB you snapshot is ok |
| 14:11 | <shoonya> | jcordeiro, that is really neat |
| 14:12 | <jcordeiro> | shoonya: it helps in backups and virtual machines |
| 14:12 | <jcordeiro> | and it works much faster then a file.img on the disk |
| 14:13 | <jcordeiro> | in lvm you dont have /dev/sda1 /dev/sda2 |
| 14:13 | <shoonya> | jcordeiro, i think i should start working with these |
| 14:13 | <jcordeiro> | you can name them |
| 14:13 | <jcordeiro> | so you can have /dev/raidVG-client1 |
| 14:14 | <jcordeiro> | shoonya: with it ofcrose you can grow and srink partitions with 1 command and its in instant |
| 14:14 | <jcordeiro> | you can add fisical disks or remove them with 1 command |
| 14:15 | <jcordeiro> | and make a volume group with 500GBS just have + 500GBS |
| 14:16 | <jcordeiro> | the only 2 considerations is: windows will not reconize lvm |
| 14:16 | <shoonya> | jcordeiro, ok. i will have to read myself of course, to understand better. |
| 14:16 | <jcordeiro> | ( a vm in windows will, since xen detects it) |
| 14:16 | <shoonya> | jcordeiro, ok, but for server systems,windows is rarely a requirement |
| 14:17 | <jcordeiro> | shoonya: |
| 14:17 | <jcordeiro> | and |
| 14:17 | <jcordeiro> | the boot info has to be outside the lvm |
| 14:17 | <jcordeiro> | so you put /boot on a old fashion ext3 partition |
| 14:18 | <jcordeiro> | the system can be installed on lvm too |
| 14:18 | <jcordeiro> | only the /boot has to stay out |
| 14:18 | <jcordeiro> | the BIOS do not know about lvm to bot from inside it |
| 14:18 | <jcordeiro> | (i think grub2 has some on work it) |
| 14:19 | <shoonya> | jcordeiro, so with grub2, /boot can be inside lvm ? |
| 14:20 | <jcordeiro> | shoonya: dont realy know |
| 14:20 | <shoonya> | ok |
| 14:20 | <jcordeiro> | but they way its one of the reasons to do a V2 grub |
| 14:20 | <shoonya> | jcordeiro, btw, i did dd >> (to add 5 gb) and am now booting up with that image, lets see |
| 14:21 | <jcordeiro> | shoonya: note: df -h will not show any difrence |
| 14:21 | <jcordeiro> | but fdisk -l should show the new disk size |
| 14:21 | <shoonya> | jcordeiro, it showed |
| 14:22 | <jcordeiro> | shoonya: df -h hows a new size? |
| 14:22 | <shoonya> | jcordeiro, yes |
| 14:22 | <jcordeiro> | do you the FS on the disk it self? |
| 14:22 | <jcordeiro> | or in a partition in the disk |
| 14:22 | <jcordeiro> | ? |
| 14:23 | <shoonya> | didnt get your question |
| 14:23 | <jcordeiro> | are you inside the vm? |
| 14:23 | <shoonya> | was, i am outside already |
| 14:23 | <shoonya> | jcordeiro, oh, you mean df inside the vm wont show a difference ? |
| 14:23 | <shoonya> | i was talking of df at the host |
| 14:24 | <jcordeiro> | ok |
| 14:24 | <jcordeiro> | thats not what im talking about |
| 14:24 | <jcordeiro> | in the vm |
| 14:24 | <jcordeiro> | you now have a difrent disk size |
| 14:24 | <shoonya> | yes |
| 14:24 | <jcordeiro> | but thats just a new physical size |
| 14:25 | <jcordeiro> | fdisk -l (inside the vm) |
| 14:25 | <jcordeiro> | will show you the new disk size |
| 14:25 | <jcordeiro> | please confirm that |
| 14:25 | <jcordeiro> | and paste the output here |
| 14:27 | <shoonya> | Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite) |
| 14:27 | <shoonya> | Disk /dev/sda1: 20.1 GB, 20131103744 bytes |
| 14:27 | <shoonya> | 64 heads, 32 sectors/track, 19198 cylinders |
| 14:27 | <shoonya> | Units = cylinders of 2048 * 512 = 1048576 bytes |
| 14:27 | <shoonya> | Device Boot Start End Blocks Id System |
| 14:27 | <shoonya> | /dev/sda1p1 1 1025 1049568 83 Linux |
| 14:27 | <shoonya> | /dev/sda1p2 1025 2050 1049600 5 Extended |
| 14:27 | <shoonya> | jcordeiro, |
| 14:28 | <jcordeiro> | now you have a disk with new size |
| 14:28 | <jcordeiro> | and now you need to grow that partition |
| 14:29 | <jcordeiro> | since you made a backup copy |
| 14:29 | <jcordeiro> | do fdisk /dev/sda1 |
| 14:29 | <jcordeiro> | and inside it do |
| 14:29 | <jcordeiro> | w |
| 14:29 | <jcordeiro> | q |
| 14:29 | <jcordeiro> | (w = write) and (q= quit) |
| 14:30 | <shoonya> | do write inside what? |
| 14:30 | <jcordeiro> | lol |
| 14:30 | <shoonya> | ok, did w |
| 14:30 | <jcordeiro> | wait |
| 14:30 | <shoonya> | now |
| 14:31 | <jcordeiro> | why did you do fdisk -l /dev/sda1? |
| 14:31 | <jcordeiro> | we want the full disk |
| 14:31 | <jcordeiro> | /dev/sda |
| 14:31 | <shoonya> | i only did fdisk -l |
| 14:31 | <shoonya> | didnt give any params |
| 14:32 | <jcordeiro> | fdisk do fdisk -l /dev/sda |
| 14:32 | <jcordeiro> | paste the output |
| 14:32 | <shoonya> | no output |
| 14:32 | <jcordeiro> | hum |
| 14:32 | <jcordeiro> | in you xen config |
| 14:33 | <jcordeiro> | you have there sda1 wright? |
| 14:33 | <shoonya> | exactly |
| 14:33 | <jcordeiro> | right? |
| 14:33 | <jcordeiro> | :) |
| 14:33 | <jcordeiro> | ok |
| 14:33 | <shoonya> | jcordeiro, these are xen configs: http://pastie.org/1272666 |
| 14:33 | <jcordeiro> | then do |
| 14:33 | <jcordeiro> | no need to see those |
| 14:33 | <jcordeiro> | then do fdisk /dev/sda1 |
| 14:34 | <jcordeiro> | it will start the fdisk program |
| 14:34 | <shoonya> | done |
| 14:34 | <shoonya> | jcordeiro, |
| 14:34 | <jcordeiro> | inside it do "w" |
| 14:34 | <shoonya> | done |
| 14:34 | <jcordeiro> | now quit |
| 14:34 | <jcordeiro> | q |
| 14:34 | <shoonya> | it quitted automatically |
| 14:35 | <jcordeiro> | ok |
| 14:35 | <jcordeiro> | fdisk -l |
| 14:35 | <shoonya> | the new table will be synced during boottime |
| 14:35 | <jcordeiro> | reboot then |
| 14:35 | <shoonya> | i think the prev warnings have been fixed |
| 14:35 | <shoonya> | Disk /dev/sda1: 20.1 GB, 20131103744 bytes |
| 14:35 | <shoonya> | 64 heads, 32 sectors/track, 19198 cylinders |
| 14:35 | <shoonya> | Units = cylinders of 2048 * 512 = 1048576 bytes |
| 14:35 | <shoonya> | Device Boot Start End Blocks Id System |
| 14:35 | <shoonya> | /dev/sda1p1 1 1025 1049568 83 Linux |
| 14:35 | <shoonya> | /dev/sda1p2 1025 2050 1049600 5 Extended |
| 14:35 | <jcordeiro> | shoonya: this will be easier you have a live ced |
| 14:35 | <jcordeiro> | shoonya: this will be easier you have a live cd |
| 14:35 | <jcordeiro> | to boot it |
| 14:35 | <shoonya> | jcordeiro, i need to move out now. will you be here after about 12 hours of now? |
| 14:36 | <shoonya> | jcordeiro, or whenever you'll be here, i will come again |
| 14:36 | <jcordeiro> | shoonya: probably not |
| 14:36 | <shoonya> | jcordeiro, :( |
| 14:36 | <jcordeiro> | i have a kid and a wife |
| 14:36 | <shoonya> | jcordeiro, :) ok, but if you can predict what time you will be here again, i can come at that time |
| 14:36 | <jcordeiro> | you have to rezise it |
| 14:37 | <jcordeiro> | you will be out for how long time? |
| 14:37 | <shoonya> | for about 12 hours. will have no access to net |
| 14:37 | <jcordeiro> | is now 18:37 lisbon time |
| 14:37 | <jcordeiro> | (my time) |
| 14:38 | <shoonya> | i am not asking you to be online after 12 hours. i can be there for anytime you say, after the next 12 hours :) |
| 14:38 | <jcordeiro> | lets say 18:00 lisbon time tomorow? |
| 14:38 | <shoonya> | sure |
| 14:38 | <shoonya> | thanks a lot |
| 14:38 | <jcordeiro> | shoonya: my nick will still be here |
| 14:38 | <shoonya> | i will have to resize sda1 ? |
| 14:39 | <jcordeiro> | shoonya: /dev/sda1p1 |
| 14:39 | <jcordeiro> | sda1 is resized |
| 14:39 | <shoonya> | jcordeiro, resize in what way? |
| 14:39 | <jcordeiro> | its the full disk |
| 14:39 | <shoonya> | please tell me, so that i can do that before i talk to you tomorrow |
| 14:39 | <shoonya> | i will also probably rsync the contents of /var |
| 14:39 | <jcordeiro> | you now say that partition 1 starts at 1 and ends at X byts |
| 14:40 | <jcordeiro> | but those bites have changed |
| 14:40 | <shoonya> | ok |
| 14:40 | <jcordeiro> | so X is now the new disk size - 5 gbs |
| 14:40 | <jcordeiro> | we need to tell that partition to grow |
| 14:40 | <jcordeiro> | to ocopy the full disk |
| 14:41 | <jcordeiro> | shoonya: my nick will be online the hole time |
| 14:41 | <shoonya> | jcordeiro, leaving now. i will read the logs tomorrow if you write any. thanks a lot for the help. bye |
| 14:41 | <jcordeiro> | so you can pvt me |
| 15:17 | -!- | kalden [~kalden@laf31-7-82-241-253-90.fbx.proxad.net] has joined #xen |
| 15:45 | -!- | kalden [~kalden@laf31-7-82-241-253-90.fbx.proxad.net] has quit [Remote host closed the connection] |
| 16:54 | <ShaunR> | VBD_WR and VBD_RD from xentop, are those considered IO operations |
| 17:59 | -!- | Stellar|2 [~Stellar@125.163.52.235] has joined #xen |
| 17:59 | -!- | Stellar|2 [~Stellar@125.163.52.235] has quit [] |
| 17:59 | -!- | Stellar|2 [~Stellar@125.163.52.235] has joined #xen |
| 18:00 | -!- | Stellar|2 [~Stellar@125.163.52.235] has quit [] |
| 18:00 | -!- | Stellar|2 [~Stellar@125.163.52.235] has joined #xen |
| 18:04 | -!- | Stellar [~Stellar@125.163.52.235] has quit [Ping timeout: 480 seconds] |
| 18:05 | -!- | Stellar [~Stellar@125.163.52.235] has joined #xen |
| 18:08 | -!- | Stellar|2 [~Stellar@125.163.52.235] has quit [Ping timeout: 480 seconds] |
| 19:39 | -!- | MarkW [~mark@cpc2-cmbg5-0-0-cust10.5-4.cable.virginmedia.com] has joined #xen |
| 20:55 | -!- | MarkW [~mark@cpc2-cmbg5-0-0-cust10.5-4.cable.virginmedia.com] has quit [Remote host closed the connection] |
| 21:21 | -!- | smaresca [~steve@68.118.185.157] has joined #xen |
| 21:28 | -!- | icarus901 [~steve@68.118.185.157] has quit [Ping timeout: 480 seconds] |
| 22:10 | <deshantm> | ShaunR: I would say they are, virtual block device write and virtual block device read |
| 23:59 | -!- | VS_ChanLog [~stats@ns.theshore.net] has left #xen [Rotating Logs] |
| 23:59 | -!- | VS_ChanLog [~stats@ns.theshore.net] has joined #xen |
| --- | Log | closed Fri Nov 05 00:00:21 2010 |